Hey,

Been trying to activate mpif90 on a set of machines running Leopard for some colleagues and have gotten stuck.
Compiles fine, but will not run any examples and returns

mymachine me% /usr/local/mpiexec -np 2 ./ring_f90
[mymachine.local:23974] *** An error occurred in MPI_Comm_rank
[mymachine.local:23974] *** on communicator MPI_COMM_WORLD
[mymachine.local:23974] *** MPI_ERR_COMM: invalid communicator
[mymachine.local:23974] *** MPI_ERRORS_ARE_FATAL (goodbye)
[mymachine.local:23975] *** An error occurred in MPI_Comm_rank
[mymachine.local:23975] *** on communicator MPI_COMM_WORLD
[mymachine.local:23975] *** MPI_ERR_COMM: invalid communicator
[mymachine.local:23975] *** MPI_ERRORS_ARE_FATAL (goodbye)

Seems tied up in how gfortran implements parameters. If MPI_COMM_WORLD is changed in the example code to 0 (its parameter value) all is fine. In the recesses of my mind I seem to remember reading ones that gfortran used for f90 treats parameters differently than integers. Anyone else seen this?

BTW mpif77 works without problems.

Regards,
Greg

Reply via email to