We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have been trying to build OpenCMISS iron (Ubuntu 20.04.2 LTS, gcc 9, gfortran 9) using the following commands:
git clone https://github.com/OpenCMISS/setup.git mkdir opencmiss mkdir setup-build cd setup-build
export CC=gcc export CXX=g++ export FC=gfortran
cmake -DOPENCMISS_ROOT=../opencmiss -DOPENCMISS_LIBRARIES=iron ../setup make
However, the compiler fails at OC_SUNDIALS:
[ 0%] Performing configure step for 'OC_SUNDIALS' CMake Error at extproj/stamp/OC_SUNDIALS-configure-Release.cmake:49 (message): Command failed: 1
'/usr/bin/cmake' '--no-warn-unused-cli' '-DCMAKE_PREFIX_PATH=/hpc/ahas804/opt/OpenCMISS/bn339996/opencmiss/install/cmake' '-DCMAKE_MODULE_PATH=/hpc/ahas804/opt/OpenCMISS/bn339996/opencmiss/install/share/cmake/Modules/OpenCMISS;/hpc/ahas804/opt/OpenCMISS/bn339996/opencmiss/install/share/cmake/Modules/FindModuleWrappers;/hpc/ahas804/opt/OpenCMISS/bn339996/opencmiss/install/share/cmake/Modules' '-DPACKAGE_CONFIG_DIR=cmake' '-DCMAKE_NO_SYSTEM_FROM_IMPORTED=YES' '-DCMAKE_DEBUG_POSTFIX=d' '-DCMAKE_POSITION_INDEPENDENT_CODE=YES' '-DOPENCMISS_INSTRUMENTATION=' '-DWARN_ALL=YES' '-DCHECK_ALL=YES' '-DCMAKE_INSTALL_DEFAULT_COMPONENT_NAME=Development' '-DCMAKE_INSTALL_PREFIX:PATH=/hpc/ahas804/opt/OpenCMISS/bn339996/opencmiss/install' '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=OFF' '-DMPIEXEC_EXECUTABLE=/usr/bin/mpiexec' '-DMPI_VERSION=' '-DMPI_C_COMPILER=/usr/bin/mpicc' '-DCMAKE_C_COMPILER=/usr/bin/gcc' '-DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG -Ofast' '-DCMAKE_C_FLAGS_DEBUG=-g -O0 -Wall' '-DMPI_CXX_COMPILER=/usr/bin/mpicxx' '-DCMAKE_CXX_COMPILER=/usr/bin/g++' '-DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG -Ofast' '-DCMAKE_CXX_FLAGS_DEBUG=-g -O0 -Wall' '-DMPI_Fortran_COMPILER=/usr/bin/mpif77' '-DCMAKE_Fortran_COMPILER=/usr/bin/gfortran' '-DCMAKE_Fortran_FLAGS_RELEASE=-O3 -DNDEBUG -O3 -Ofast' '-DCMAKE_Fortran_FLAGS_DEBUG=-g -O0 -Wall -fbacktrace -Warray-temporaries -Wextra -Wsurprising -Wrealloc-lhs-all -finit-real=snan -fcheck=all' '-DBUILD_PRECISION=sd' '-DBUILD_TESTS=ON' '-DBLA_VENDOR=All' '-DUSE_MPI=TRUE' '-DUSE_LAPACK=ON' '-DZLIB_FIND_SYSTEM=OFF' '-DZLIB_VERSION=1.2.3' '-DLAPACK_FIND_SYSTEM=ON' '-DLAPACK_VERSION=3.5.0' '-GUnix Makefiles' '/hpc/ahas804/opt/OpenCMISS/bn339996/opencmiss/src/dependencies/sundials'
See also
/hpc/ahas804/opt/OpenCMISS/bn339996/opencmiss/build/dependencies/sundials/release/extproj/stamp/OC_SUNDIALS-configure-*.log
make[8]: *** [CMakeFiles/OC_SUNDIALS.dir/build.make:107: /hpc/ahas804/opt/OpenCMISS/bn339996/opencmiss/build/dependencies/sundials/release/extproj/stamp/OC_SUNDIALS-configure] Error 1 make[7]: *** [CMakeFiles/Makefile2:6010: CMakeFiles/OC_SUNDIALS.dir/all] Error 2 make[6]: *** [Makefile:141: all] Error 2 make[5]: *** [CMakeFiles/manage_config.dir/build.make:69: config/Release/stamp/manage_config-build] Error 2 make[4]: *** [CMakeFiles/Makefile2:348: CMakeFiles/manage_config.dir/all] Error 2 make[3]: *** [Makefile:95: all] Error 2 make[2]: *** [CMakeFiles/setup_manage.dir/build.make:113: setup_manage-prefix/src/setup_manage-stamp/setup_manage-build] Error 2 make[1]: *** [CMakeFiles/Makefile2:106: CMakeFiles/setup_manage.dir/all] Error 2 make: *** [Makefile:84: all] Error 2
config_build_info.zip
The text was updated successfully, but these errors were encountered:
What version of cmake do you use? I use cmake-3.16.5, and can compile SUNDIALS normally, but the HYPER will report an error "MPI cannot be found".
Sorry, something went wrong.
No branches or pull requests
I have been trying to build OpenCMISS iron (Ubuntu 20.04.2 LTS, gcc 9, gfortran 9) using the following commands:
git clone https://github.com/OpenCMISS/setup.git
mkdir opencmiss
mkdir setup-build
cd setup-build
export CC=gcc
export CXX=g++
export FC=gfortran
cmake -DOPENCMISS_ROOT=../opencmiss -DOPENCMISS_LIBRARIES=iron ../setup
make
However, the compiler fails at OC_SUNDIALS:
[ 0%] Performing configure step for 'OC_SUNDIALS'
CMake Error at extproj/stamp/OC_SUNDIALS-configure-Release.cmake:49 (message):
Command failed: 1
'/usr/bin/cmake' '--no-warn-unused-cli' '-DCMAKE_PREFIX_PATH=/hpc/ahas804/opt/OpenCMISS/bn339996/opencmiss/install/cmake' '-DCMAKE_MODULE_PATH=/hpc/ahas804/opt/OpenCMISS/bn339996/opencmiss/install/share/cmake/Modules/OpenCMISS;/hpc/ahas804/opt/OpenCMISS/bn339996/opencmiss/install/share/cmake/Modules/FindModuleWrappers;/hpc/ahas804/opt/OpenCMISS/bn339996/opencmiss/install/share/cmake/Modules' '-DPACKAGE_CONFIG_DIR=cmake' '-DCMAKE_NO_SYSTEM_FROM_IMPORTED=YES' '-DCMAKE_DEBUG_POSTFIX=d' '-DCMAKE_POSITION_INDEPENDENT_CODE=YES' '-DOPENCMISS_INSTRUMENTATION=' '-DWARN_ALL=YES' '-DCHECK_ALL=YES' '-DCMAKE_INSTALL_DEFAULT_COMPONENT_NAME=Development' '-DCMAKE_INSTALL_PREFIX:PATH=/hpc/ahas804/opt/OpenCMISS/bn339996/opencmiss/install' '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_SHARED_LIBS=OFF' '-DMPIEXEC_EXECUTABLE=/usr/bin/mpiexec' '-DMPI_VERSION=' '-DMPI_C_COMPILER=/usr/bin/mpicc' '-DCMAKE_C_COMPILER=/usr/bin/gcc' '-DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG -Ofast' '-DCMAKE_C_FLAGS_DEBUG=-g -O0 -Wall' '-DMPI_CXX_COMPILER=/usr/bin/mpicxx' '-DCMAKE_CXX_COMPILER=/usr/bin/g++' '-DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG -Ofast' '-DCMAKE_CXX_FLAGS_DEBUG=-g -O0 -Wall' '-DMPI_Fortran_COMPILER=/usr/bin/mpif77' '-DCMAKE_Fortran_COMPILER=/usr/bin/gfortran' '-DCMAKE_Fortran_FLAGS_RELEASE=-O3 -DNDEBUG -O3 -Ofast' '-DCMAKE_Fortran_FLAGS_DEBUG=-g -O0 -Wall -fbacktrace -Warray-temporaries -Wextra -Wsurprising -Wrealloc-lhs-all -finit-real=snan -fcheck=all' '-DBUILD_PRECISION=sd' '-DBUILD_TESTS=ON' '-DBLA_VENDOR=All' '-DUSE_MPI=TRUE' '-DUSE_LAPACK=ON' '-DZLIB_FIND_SYSTEM=OFF' '-DZLIB_VERSION=1.2.3' '-DLAPACK_FIND_SYSTEM=ON' '-DLAPACK_VERSION=3.5.0' '-GUnix Makefiles' '/hpc/ahas804/opt/OpenCMISS/bn339996/opencmiss/src/dependencies/sundials'
See also
make[8]: *** [CMakeFiles/OC_SUNDIALS.dir/build.make:107: /hpc/ahas804/opt/OpenCMISS/bn339996/opencmiss/build/dependencies/sundials/release/extproj/stamp/OC_SUNDIALS-configure] Error 1
make[7]: *** [CMakeFiles/Makefile2:6010: CMakeFiles/OC_SUNDIALS.dir/all] Error 2
make[6]: *** [Makefile:141: all] Error 2
make[5]: *** [CMakeFiles/manage_config.dir/build.make:69: config/Release/stamp/manage_config-build] Error 2
make[4]: *** [CMakeFiles/Makefile2:348: CMakeFiles/manage_config.dir/all] Error 2
make[3]: *** [Makefile:95: all] Error 2
make[2]: *** [CMakeFiles/setup_manage.dir/build.make:113: setup_manage-prefix/src/setup_manage-stamp/setup_manage-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:106: CMakeFiles/setup_manage.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
config_build_info.zip
The text was updated successfully, but these errors were encountered: