Thanks for your reply Eugene.
/state/partition1/apps/intel/fce/10.1.015/bin/ifort -I/share/apps/openmpi-1.2.6-intel/include -pthread -I/share/apps/openmpi-1.2.6-intel/lib -L/usr/pbs/lib -L/share/apps/openmpi-1.2.6-intel/lib -lmpi_f90 -lmpi_f77 -lmpi -lopen-rte -lopen-pal -lrt -lpbs -lnuma -ldl -Wl,--export-dynamic -lnsl -lutil
So if it is the correct one, I am not sure.
I and new to OpenMPI and have looked for this, but not getting
anywhere.
I got an example program off this site:
The compute PI in Fortran example.
Compiled it with "mpif90" and no errors.
Then
used the qsub -I and tried both executing directly and "mpirun" and
still receive these errors:
[MGT-2-1:02994] *** An error occurred in MPI_Comm_rank
[MGT-2-1:02994] *** on communicator MPI_COMM_WORLD
[MGT-2-1:02994] *** MPI_ERR_COMM: invalid communicator
[MGT-2-1:02994] *** MPI_ERRORS_ARE_FATAL (goodbye)
Any guidance in the right direction would be appreciated.
First, the example works fine for me.