<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi,<br></div><div dir="ltr">May I know wh<span class="gmail_default" style="font-family:tahoma,sans-serif">y the exported path in my sbatch script doesn't work?<br><br>[mahmood@rocks7 qe]$ cat slurm_script.sh <br>#!/bin/bash<br>#SBATCH --ntasks=4<br>#SBATCH --mem=2G<br>#SBATCH --partition=RUBY<br>#SBATCH --account=y4<br>export PATH=$PATH:/share/apps/softwares/q-e-qe-6.2.1/bin<br>mpirun pw.x <a href="http://mos2.in">mos2.in</a> output.out<br>[mahmood@rocks7 qe]$ sbatch slurm_script.sh <br>Submitted batch job 243<br>[mahmood@rocks7 qe]$ cat slurm-243.out <br>--------------------------------------------------------------------------<br>mpirun was unable to find the specified executable file, and therefore<br>did not launch the job.  This error was first reported for process<br>rank 0; it may have occurred for other processes as well.<br><br>NOTE: A common cause for this error is misspelling a mpirun command<br>      line parameter option (remember that mpirun interprets the first<br>      unrecognized command line token as the executable).<br><br>Node:       compute-0-2<br>Executable: pw.x<br>--------------------------------------------------------------------------<br>4 total processes failed to start<br><br><br></span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif">That folder is shared between compute nodes as you can see below<br><br>[mahmood@rocks7 qe]$ rocks run host compute-0-2 "ls /share/apps/softwares/q-e-qe-6.2.1/bin"<br>Warning: untrusted X11 forwarding setup failed: xauth key data not generated<br>casino2upf.x<br>cpmd2upf.x<br>cppp.x<br>cp.x<br>fhi2upf.x<br>fpmd2upf.x<br>interpolate.x<br>iotk<br>iotk_print_kinds.x<br>iotk.x<br>ld1.x<br>manycp.x<br>ncpp2upf.x<br>oldcp2upf.x<br>read_upf_tofile.x<br>rrkj2upf.x<br>test.x<br>upf2casino.x<br>uspp2upf.x<br>vdb2upf.x<br>virtual.x<br>wfdd.x<br><br><br><br></span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif">Any help?<br></span></div><div dir="ltr"><div style="font-family:tahoma,sans-serif" class="gmail_default"></div><br><font face="tahoma,sans-serif"><span class="gmail_default" style="font-family:tahoma,sans-serif"></span>Regards,<br>Mahmood</font><br><br><br></div></div></div></div></div></div>