I have been pounding my head trying to get a large Fortran/MPI
package to work on MacOSX with ifort and openmpi. This is a MacBook
Pro with core duo. I do NOT believe the fault lies with openmpi;
however, after searching the archives, I will ask the list for
1) I have compiled netcdf and openmpi with ifort and gcc.
2) I have compiled my code with mpif90 (using ifort with the same flags)
3) Run an mpi job with more than 1 processor, and the job hangs:
mpirun -np 2 executable input.txt
4) Run with 1 processor, and it runs fine:
mpirun -np 1 executable input.txt
I have tried all of the above using both g95 and absoft10beta in
place of ifort, and everything works fine. It appears to be an ifort
issue. If I compile with debug on, it gets further and dies during a
I apologize for the sparsity of this request. I have tried many
FFLAGS consistently across netcdf, openmpi, and my code to ensure
consistency, all to no avail.
Anyhow, is this a threading issue with ifort? Are there any ideas out
there for how to get ifort working, rather than using g95?