-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation error when openmpi is upgraded to 4.0.0 #3
Comments
Hey, what error did you get during the compile? |
mpicc -o ma.x block.o check_sum.o comm_block.o comm.o comm_parent.o comm_refine.o comm_util.o driver.o init.o main.o move.o pack.o plot.o profile.o rcb.o refine.o stencil.o target.o util.o -lm |
@nmhamster The issue is that Open MPI v4.0.0 finally removed some MPI APIs that were removed from the MPI v3.0 spec back in 2012. Fortunately, updating to stop using |
I was able to test it on Openmpi-3.0.0 and it worked fine. However, when I moved my system to 4.0.0 I was hit with an error at this line.
ierr = MPI_Errhandler_set(MPI_COMM_WORLD, MPI_ERRORS_ARE_FATAL);
SOLUTION:
I removed the line from main and everything compiled perfectly. However, as I am not one of the application developers. I would like to know if you can take a look and if removing that line does not trigger other things to fail throughout the different application components.
The text was updated successfully, but these errors were encountered: