-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
MPI-Ipopt-3.14.1 tests failed with MUMPS-5.4.0 #500
Comments
These are tests that create and destroy the IpoptApplication, including the Mumps interface, several times. It looks like this comes up at the 2nd time the Mumps interface is used. Since you probably didn't use the Mumps buildsystem from ThirdParty-Mumps, there is some MPI initialization and finalization happening in the constructor and destructor of the Mumps interface. So the calling sequence should be
The error then comes up in this second solve. Relevant code: Ipopt/src/Algorithm/LinearSolvers/IpMumpsSolverInterface.cpp Lines 66 to 138 in 17cc606
|
In Fedora, we're using this patch on |
A post like the answer on https://stackoverflow.com/questions/15126814/boost-test-unit-can-not-call-mpi-function says that "MPI can be only initialised once during the lifetime of the program and can only be finalised once", so the place where this is put at the moment (Mumps interface constructor/destructor) is wrong. It would need to be moved into global constructors/destructors (.ini/fini) or be left to the user (the one who implements main()) to take care of this. That could and should probably be done, but is there a specific reason to use the mpich version of MUMPS? Could you switch to MUMPS-devel? |
I'm compiling both MPI (OpenMPI and MPICH) version and serial version, MUMPS's tests without MPI are correctly executed. |
In branch 500-mpi-inifini, the I hope you wouldn't need a patch anymore. In your patch, you change the include of The issue with |
Header files are separately installed when you install the RPMs
Of course! |
But you want |
MUMPS-openmpi-devel owns
|
Correctly compiled and tested; build log on x86_64 architecture: https://kojipkgs.fedoraproject.org//work/tasks/6491/72246491/build.log |
Thank you! I can make a release with this soon. So you got rid of most patches now? |
Yes. Thanks! |
Hi all.
Ipopt-3.14.1
(OpenMPI-4.1.1
version) is compiled in Fedora 35 (devel branch) againstMUMPS-5.4.0
,GCC-11.1.1
, the tests are failing with following output:The text was updated successfully, but these errors were encountered: