rpm -q gives you the content of the rpm packages
$ rpm -q -l nwchem-openmpi
/usr/lib64/openmpi/bin/nwchem_openmpi
Then, you need the following settings
export LD_LIBRARY_PATH=/usr/lib64/openmpi/lib/
export PATH=/usr/lib64/openmpi/bin:$PATH
Now you are ready to run NWChem with the command
mpirun -np 2 nwchem_openmpi "input file name"
|