On 06/18/2013 12:28 AM, xu wrote:
my code get this error under openmpi 1.6.4 mpif90 -O2 -m64 -fbounds-check -ffree-line-length-0 -c -o 2dem_mpi.o 2dem_mpi.f90 Fatal Error: Reading module mpi at line 110 column 30: Expected string If I use mpif90: Open MPI 1.3.3 It compiles ok. What the problem for this?
Make sure you are not mixing environment variables (PATH and LD_LIBRARY_PATH) of the two OMPI versions you installed.