I have lmp_fedora
executable file located in /src
. I use this command:
mpirun -np 4 lmp_fedora < in.stdinfile
to execute the job. However it is only able to run if I copy lmp_fedora
into the same directory where I am launching the job. I compiled a alias:
echo 'alias lmp_fedora=/home/MyUSERNAME/liggghts/src/lmp_fedora' >> ~/.bashrc
and my motive is to be able to execute lmp_fedora
from any directory. Is the above correct? and if yes, now I am stuck on what should my new job submit command be for that to happen.