-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
call jf from container #196
Comments
Hi @yw-fang, Before proceeding, can you maybe check if this would actually solve your problem? In principle you could manually edit the submission script and replace the last line with one that calls |
Hi, @gpetretto thank you very much for your response! It could work if I replaced "jf" with "singularity exec ~/jobflowenv.sif jf" manually and the subsequent espresso calculation would be done. |
Good to know that it works in that case. Unfortunately the option is not there at the moment, but I can probably implement it in the next days.
so that it adds the call to the container in your submission script. |
@gpetretto It works. Many thanks. If you don't mind, I'd like to keep this issue open until you have other implement to avoid users to change the source code directly. |
Hi, all
Due to the requirement of the HPC I am using, I had to install it in a container. I found that in the interactive shell mode, I could run jf command in this way:
singularity exec ~/jobflowenv.sif jf
and it worked as expected.However, it didn't work if I tried execute it in the slurm job script.
Here's my job script submit.sh
By examining queue.out, I found the lines beginning with 'singularity' in the submit.sh worked and printed the information about python version and help information of jobflow-remote. However, the last line
jf -fe execution run /scratch/qejobflow/87/50/55/875055c1-7fa4-4a40-bee5-6ddb63be599a_1
didn't work and it raised an error "/var/spool/slurmd/job8184623/slurm_script: line 24: jf: command not found" in the queue.err file.
I am wondering if anyone has similar experience. I'll greatly appreciate if anyone could make some comments!
The text was updated successfully, but these errors were encountered: