-
Notifications
You must be signed in to change notification settings - Fork 0
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
make scanners MPI issue #1
Comments
Dear Colleague, It seems that I have managed to bypass the issue by having openmpi installed in my working area. Regards. |
Hi! That error seems to point to an issue witht he MPI installation, as it is failing on an MPI header file. Please let us know if it works with your local OpenMPI. Thanks! |
Thanks, Thomas. Here is nature of the problem with my local openmpi (v4.1.4) installation.
|
Ok, so GAMBIT finishes correctly, but it hangs at the end when releasing the MPI handles. Fortunately this just seems to be a problem with the cleanup stage, so the scan ran perfectly and the results are untouched. So if you are using GAMBIT to run scans, then you should not worry that your results may be affected. But we will look into the hanging issue. Thanks for report this |
Thanks a lot, Tomas, for your observation. I am facing another issue while installing gambit on a different machine. The loaded modules are
[asesh@ws1 build]$cmake -DCMAKE_CXX_COMPILER=/ws1scratch/apps/gcc/gcc-8.2/bin/g++ -DCMAKE_C_COMPILER=/ws1scratch/apps/gcc/gcc-8.2/bin/gcc -DWITH_MPI=ON -DMPI_C_COMPILER=/ws1scratch/apps/mpi4.14/bin/mpicc -DMPI_CXX_COMPILER=/ws1scratch/apps/mpi4.14/bin/mpicxx -DMPI_Fortran_COMPILER=/ws1scratch/apps/mpi4.14/bin/mpif90 ..X Switching OFF FlexibleSUSY support for ALL models. -- Configuring incomplete, errors occurred!
|
Hi! That's probably because your python module does not know that you installed the libffi-devel library. Can you recompile the python environment? Alternatively you can manually download the cpython package from https://github.com/python/cpython and install it in the system. And as the very last resort,
if you have a 32-bit system, or
for 64-bit systems. And then you can remove the |
Dear Colleague,
cmake -DCMAKE_CXX_COMPILER=/opt/gcc-8.2/bin/g++ -DCMAKE_C_COMPILER=/opt/gcc-8.2/bin/gcc -DWITH_MPI=ON ..
make -j8 scanners
results in the following repeating error messages regarding MPI.
Could you please shed light on the issue.
Thanks and regards.
=====================================================
[ 41%] Building CXX object src/CMakeFiles/Minuit2.dir/MnSeedGenerator.cxx.o
In file included from /opt/ICS_2013/impi/4.1.3.048/intel64/include/mpi.h:1279,
from /ws2scratch/asesh/Gambit2/gambit_2.3/ScannerBit/installed/minuit2/6.23.01/inc/Minuit2/MPIProcess.h:20,
from /ws2scratch/asesh/Gambit2/gambit_2.3/ScannerBit/installed/minuit2/6.23.01/src/MPIProcess.cxx:11:
/opt/ICS_2013/impi/4.1.3.048/intel64/include/mpicxx.h:95:2: error: #error "SEEK_SET is #defined but must not be for the C++ binding of MPI. Include mpi.h before stdio.h"
#error "SEEK_SET is #defined but must not be for the C++ binding of MPI. Include mpi.h before stdio.h"
^~~~~
/opt/ICS_2013/impi/4.1.3.048/intel64/include/mpicxx.h:99:2: error: #error "SEEK_CUR is #defined but must not be for the C++ binding of MPI. Include mpi.h before stdio.h"
#error "SEEK_CUR is #defined but must not be for the C++ binding of MPI. Include mpi.h before stdio.h"
^~~~~
/opt/ICS_2013/impi/4.1.3.048/intel64/include/mpicxx.h:104:2: error: #error "SEEK_END is #defined but must not be for the C++ binding of MPI. Include mpi.h before stdio.h"
#error "SEEK_END is #defined but must not be for the C++ binding of MPI. Include mpi.h before stdio.h"
^~~~~
[ 33%] No install step for 'multinest_3.12'
[ 42%] Building CXX object src/CMakeFiles/Minuit2.dir/MnStrategy.cxx.o
[ 43%] Building CXX object src/CMakeFiles/Minuit2.dir/MnTiny.cxx.o
The text was updated successfully, but these errors were encountered: