Script Requires Absolute Paths for Proper Functionality #5
-
Description Example bash /home/mnagara/Efficient_LLM_finetuning/Scripts/Gautschi_scripts/joblauncher.bash -t bash \
-f /home/mnagara/Efficient_LLM_finetuning/Scripts/Gautschi_scripts/run_baseline_llama318_3216_commonsense.sh \
-e llama -g 2 -c 28 -p cocosys -T 2-12:00:00 -s 97 -q cocosys However, using relative paths in place of absolute ones results in errors or incorrect behavior. Documenting this to avoid confusion for future users |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Description Minimum Reproducible Example Provided Minimum Example Provided Is Issue Reproducible Possible Solution
without specifying the absolute path? If you get a "No such file or directory" error, then your issue is most likely an artefact of the default shell on the cluster not being
in your terminal. If the
and print out the
If the help message is correctly printed, the path issue should be resolved! Comments for User |
Beta Was this translation helpful? Give feedback.
Description
The script does not handle relative paths reliably, leading to unexpected behavior. To ensure proper execution, all paths must be provided as absolute paths.
Minimum Reproducible Example Provided
No
Minimum Example Provided
Yes
Is Issue Reproducible
Yes
Possible Solution
What happens when you run
without specifying the absolute path? If you get a "No such file or directory" error, then your issue is most likely an artefact of the default shell on the cluster not being
bash
. Runin your terminal. If the
$PATH
variable does not contain the path/home/$USER/rcac-utils
, then runand print out the
$PATH
variabl…