<div dir="ltr">I figured it out by using the full path to the cp2k executable and passing the LD_LIBRARY_PATH environment variable. I had to do mpirun -x LD_LIBRARY_PATH . For some reason I do not have to do this in my submission script. Perhaps the scheduler takes care of exporting paths and env. variables for you?<br><br>On Friday, July 21, 2017 at 9:56:06 AM UTC-4, Faraz H wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">I have a simple job submission script which runs fine. However, when I try and run the same script by hand ( outside the scheduler), it fails with the error below. By hand I mean that I take the nodes offline, login to the first node, load the cp2k/open mpi modules, keep same machine file, then run the command:<br><br>mpirun -machinefile machines -np 40 --mca btl openib,self cp2k.popt test.inp<br><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 20; 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:       lustwzb5<br>Executable: /gpfs/app/software/cp2k/3.0.0/<wbr>exe/Linux_x86-64-intel/cp2k.<wbr>popt<br><br></div></blockquote></div>