an mpirun error

Dear all,

I have problem whit mpirun in ubuntu 14.04,
I have installed openmpi-1.10.0 and added following lines in bashrc :
export PATH=/usr/local/bin:{PATH} export LD_LIBRARY_PATH=/usr/local/lib:{LD_LIBRARY_PATH}

so
which mpirun /usr/local/bin/mpirun mpicc -v
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04)

then I installed lammps
cd /home/masoud/lammps-7Dec15/src make yes-user-omp
make yes-granular make ompi_g++
and it compiled, it works in /src directory, both serial and using mpirun, then I added followin to bashrc:
alias “lmps=$HOME/lammps-7Dec15/src/lmp_ompi_g++”

so in other directories it work in serial bot when I use mpirun an error comes up,

$ mpirun -np 2 lmps <in.lammps (or with mpirun -np 2 lmps -in in.lammps )

Dear all,

I have problem whit mpirun in ubuntu 14.04,
I have installed openmpi-1.10.0 and added following lines in bashrc :
export PATH=/usr/local/bin:\{PATH\} export LD\_LIBRARY\_PATH=/usr/local/lib:{LD_LIBRARY_PATH}

so
which mpirun /usr/local/bin/mpirun mpicc -v
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04)

then I installed lammps
cd /home/masoud/lammps\-7Dec15/src make yes-user-omp
make yes\-granular make ompi_g++
and it compiled, it works in /src directory, both serial and using mpirun,
then I added followin to bashrc:
alias "lmps=$HOME/lammps-7Dec15/src/lmp_ompi_g++"

so in other directories it work in serial bot when I use mpirun an error
comes up,

$ mpirun -np 2 lmps <in.lammps (or with mpirun -np 2 lmps -in in.lammps )
--------------------------------------------------------------------------
mpirun was unable to find the specified executable file, and therefore
did not launch the job. This error was first reported for process
rank 0; it may have occurred for other processes as well.

NOTE: A common cause for this error is misspelling a mpirun command
      line parameter option (remember that mpirun interprets the first
      unrecognized command line token as the executable).

Node: mir
Executable: lmps

but with follownig command it works
mpirun -np 2 ~/lammps-7Dec15/src/lmp_ompi_g++ <in.lammps

please help me to solve this problem,

this is not really a LAMMPS or MPI problem. it is due to incomplete
understanding of how a shell works. what you see is the expected
behavior. aliases are a shell feature. mpirun knows nothing of that.
thus either copy the lammps executable under the desired name
somewhere into your path or make a symbolic link.

axel.