Macports, mpif90, error "Attempting to use an MPI routine before initializing MPICH"

I have installaed via macports openmpi and mpich. The fortran code compiles well but during run time gives an error saying "Attempting to use an MPI routine before initializing MPICH".

Mine is masOS Mojave 10.14.5.

1 Answer

brew is more robust these days.

Try

brew install openmpi

Then

mpirun -np 4 <some task> 

should run with no issue

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like