We should specify the absolute path to the benchcab executable in the job script so that we don't run into path issues when running using a 'locally installed' version of benchcab. This will be helpful making code changes and testing them on NCI.
We can use a combination of sys.argv and shutil.which() to get the absolute path of the benchcab executable.
We should specify the absolute path to the benchcab executable in the job script so that we don't run into path issues when running using a 'locally installed' version of benchcab. This will be helpful making code changes and testing them on NCI.
We can use a combination of
sys.argv
andshutil.which()
to get the absolute path of the benchcab executable.