Dear Farhan,
I am trying to use MultiNest, built-in in BSMArts (Goodsell et al) , for a scan of a model parameter space.
I am using an OpenMPI module for the MPI executables . OpenMPI is working fine for another in-built
scanner like 'Diver'. The other module that I loaded for my purpose is gcc-v8.2.
The scan is aborting after running for a while by spitting out the following on the screen (pl see below).
I tried several proposed fixes that I found on the Internet, but to no avail.
Could you please help.
I am also pasting below the "cmake" output (while building MultiNest by hand within BSMArt;
the MultiNest MPI libraries are NOT being automatically built while building BSMArt) for your
kind reference.
Best regards.
Asesh K Datta
time mpiexec -n 16 python3 -m mpi4py ../BSMArt_v1.01/bin/BSMArt input-file
::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::
By M. Goodsell and A. Joury (R. Moutafis)
Version 1.01 [14 January 2023]
MultiNest Warning: no resume file found, starting from scratch
MultiNest v3.12
Copyright Farhan Feroz & Mike Hobson
Release Nov 2019
no. of live points = 5
dimensionality = 2
Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so.
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:
Process name: [[10443,1],0]
Exit code: 1
==============================================================
[asesh@ws2 build]$FC=mpif90 CC=mpicc CXX=mpicxx cmake ..
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- The Fortran compiler identification is GNU 8.2.0
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /ws2scratch/pkg/openmpi-4.1.4/bin/mpif90 - skipped
-- Checking whether /ws2scratch/pkg/openmpi-4.1.4/bin/mpif90 supports Fortran 90
-- Checking whether /ws2scratch/pkg/openmpi-4.1.4/bin/mpif90 supports Fortran 90 - yes
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /ws2scratch/pkg/openmpi-4.1.4/bin/mpicc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /ws2scratch/pkg/openmpi-4.1.4/bin/mpicxx - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at src/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- Looking for Fortran sgemm
-- Looking for Fortran sgemm - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Looking for Fortran sgemm
-- Looking for Fortran sgemm - found
-- Found BLAS: /opt/ICS_2013/composer_xe_2013_sp1.2.144/mkl/lib/intel64/libmkl_gf_lp64.so;/opt/ICS_2013/composer_xe_2013_sp1.2.144/mkl/lib/intel64/libmkl_gnu_thread.so;/opt/ICS_2013/composer_xe_2013_sp1.2.144/mkl/lib/intel64/libmkl_core.so;/opt/gcc-8.2/lib64/libgomp.so;-lm;-ldl
-- Looking for Fortran cheev
-- Looking for Fortran cheev - found
-- Found LAPACK: /opt/ICS_2013/composer_xe_2013_sp1.2.144/mkl/lib/intel64/libmkl_gf_lp64.so;/opt/ICS_2013/composer_xe_2013_sp1.2.144/mkl/lib/intel64/libmkl_gnu_thread.so;/opt/ICS_2013/composer_xe_2013_sp1.2.144/mkl/lib/intel64/libmkl_core.so;/opt/gcc-8.2/lib64/libgomp.so;-lm;-ldl;-lm;-ldl
-- Detected gfortran, adding -ffree-line-length-none compiler flag.
-- Found MPI_C: /ws2scratch/pkg/openmpi-4.1.4/bin/mpicc (found version "3.1")
-- Found MPI_CXX: /ws2scratch/pkg/openmpi-4.1.4/bin/mpicxx (found version "3.1")
-- Found MPI_Fortran: /ws2scratch/pkg/openmpi-4.1.4/bin/mpif90 (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
CMake Deprecation Warning at src/example_ackley/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at src/example_eggbox_C/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at src/example_eggbox_C++/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at src/example_gaussian/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at src/example_gauss_shell/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at src/example_himmelblau/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at src/example_obj_detect/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at src/example_rosenbrock/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- Configuring done
-- Generating done
-- Build files have been written to: /ws2scratch/asesh/HEPTools-18032023/MultiNest-master/MultiNest_v3.12_CMake/multinest/build
[asesh@ws2 build]$make
:::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::
[ 92%] Built target obj_detect
Scanning dependencies of target rosenbrock
[ 94%] Building Fortran object src/example_rosenbrock/CMakeFiles/rosenbrock.dir/params.f90.o
[ 95%] Building Fortran object src/example_rosenbrock/CMakeFiles/rosenbrock.dir/like.f90.o
[ 97%] Building Fortran object src/example_rosenbrock/CMakeFiles/rosenbrock.dir/nestwrap.f90.o
[ 98%] Building Fortran object src/example_rosenbrock/CMakeFiles/rosenbrock.dir/main.f90.o
[100%] Linking Fortran executable ../../../bin/rosenbrock
[100%] Built target rosenbrock
[asesh@ws2 build]$
Dear Farhan,
I am trying to use MultiNest, built-in in BSMArts (Goodsell et al) , for a scan of a model parameter space.
I am using an OpenMPI module for the MPI executables . OpenMPI is working fine for another in-built
scanner like 'Diver'. The other module that I loaded for my purpose is gcc-v8.2.
The scan is aborting after running for a while by spitting out the following on the screen (pl see below).
I tried several proposed fixes that I found on the Internet, but to no avail.
Could you please help.
I am also pasting below the "cmake" output (while building MultiNest by hand within BSMArt;
the MultiNest MPI libraries are NOT being automatically built while building BSMArt) for your
kind reference.
Best regards.
Asesh K Datta
time mpiexec -n 16 python3 -m mpi4py ../BSMArt_v1.01/bin/BSMArt input-file
::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::
By M. Goodsell and A. Joury (R. Moutafis)
Version 1.01 [14 January 2023]
MultiNest Warning: no resume file found, starting from scratch
MultiNest v3.12
Copyright Farhan Feroz & Mike Hobson
Release Nov 2019
no. of live points = 5
dimensionality = 2
Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so.
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:
Process name: [[10443,1],0]
Exit code: 1
==============================================================
[asesh@ws2 build]$FC=mpif90 CC=mpicc CXX=mpicxx cmake ..
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- The Fortran compiler identification is GNU 8.2.0
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /ws2scratch/pkg/openmpi-4.1.4/bin/mpif90 - skipped
-- Checking whether /ws2scratch/pkg/openmpi-4.1.4/bin/mpif90 supports Fortran 90
-- Checking whether /ws2scratch/pkg/openmpi-4.1.4/bin/mpif90 supports Fortran 90 - yes
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /ws2scratch/pkg/openmpi-4.1.4/bin/mpicc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /ws2scratch/pkg/openmpi-4.1.4/bin/mpicxx - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at src/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- Looking for Fortran sgemm
-- Looking for Fortran sgemm - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Looking for Fortran sgemm
-- Looking for Fortran sgemm - found
-- Found BLAS: /opt/ICS_2013/composer_xe_2013_sp1.2.144/mkl/lib/intel64/libmkl_gf_lp64.so;/opt/ICS_2013/composer_xe_2013_sp1.2.144/mkl/lib/intel64/libmkl_gnu_thread.so;/opt/ICS_2013/composer_xe_2013_sp1.2.144/mkl/lib/intel64/libmkl_core.so;/opt/gcc-8.2/lib64/libgomp.so;-lm;-ldl
-- Looking for Fortran cheev
-- Looking for Fortran cheev - found
-- Found LAPACK: /opt/ICS_2013/composer_xe_2013_sp1.2.144/mkl/lib/intel64/libmkl_gf_lp64.so;/opt/ICS_2013/composer_xe_2013_sp1.2.144/mkl/lib/intel64/libmkl_gnu_thread.so;/opt/ICS_2013/composer_xe_2013_sp1.2.144/mkl/lib/intel64/libmkl_core.so;/opt/gcc-8.2/lib64/libgomp.so;-lm;-ldl;-lm;-ldl
-- Detected gfortran, adding -ffree-line-length-none compiler flag.
-- Found MPI_C: /ws2scratch/pkg/openmpi-4.1.4/bin/mpicc (found version "3.1")
-- Found MPI_CXX: /ws2scratch/pkg/openmpi-4.1.4/bin/mpicxx (found version "3.1")
-- Found MPI_Fortran: /ws2scratch/pkg/openmpi-4.1.4/bin/mpif90 (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
CMake Deprecation Warning at src/example_ackley/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at src/example_eggbox_C/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at src/example_eggbox_C++/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at src/example_gaussian/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at src/example_gauss_shell/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at src/example_himmelblau/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at src/example_obj_detect/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at src/example_rosenbrock/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- Configuring done
-- Generating done
-- Build files have been written to: /ws2scratch/asesh/HEPTools-18032023/MultiNest-master/MultiNest_v3.12_CMake/multinest/build
[asesh@ws2 build]$make
:::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::
[ 92%] Built target obj_detect
Scanning dependencies of target rosenbrock
[ 94%] Building Fortran object src/example_rosenbrock/CMakeFiles/rosenbrock.dir/params.f90.o
[ 95%] Building Fortran object src/example_rosenbrock/CMakeFiles/rosenbrock.dir/like.f90.o
[ 97%] Building Fortran object src/example_rosenbrock/CMakeFiles/rosenbrock.dir/nestwrap.f90.o
[ 98%] Building Fortran object src/example_rosenbrock/CMakeFiles/rosenbrock.dir/main.f90.o
[100%] Linking Fortran executable ../../../bin/rosenbrock
[100%] Built target rosenbrock
[asesh@ws2 build]$