Open Langolyers opened 4 years ago
Based on what you report, it appears you have compiled IMPACT with a different compiler than the one you are trying to use for Rocstar. Usually these happen when you have multiple versions of compilers available in the environment.
My IMPACT failed those tests too, but I successfully install Rocstar. It seems that those IMPACT tests failures do not affect normal use of Rocstar.
@msafdari1234 Thanks for the reply. I tried again today from a fresh install of the OS and can confirm both IMPACT and Rocstar are using the same versions of the compilers, with the correct locations attributed within ccmake. Came up to the exact same error.
@Wangduu Could you please tell me what versions of the compilers and MPI you used? I wonder if the issue might be that since none are specified in the installation instructions. Thanks.
I tried again but this time using MPICH instead of openmpi and got a different error. It still has something to do with Fortran, but went much further into the make command. Logs are attached.
Please double check you have posted correct logs. Based on these logs you have not progressed into build at all.
Yes, these are the correct logs. I removed everything and rebuilt from scratch with mpich for these. Error message is testFortranCompiler.f:(.text+0xa): undefined reference to
cheev_'`. Could this be related to lapack instead? If so I might try building it from source instead of using the repositories.
@Langolyers My gcc version is 5.4.0, mpich version is 3.2, cmake version is 3.13.
@Langolyers This is a compiler test during early stages of cmake. For some reason your compiler is incompatible. It looks like you are trying to use devtoolset-9 series compilers. They should be fine, but make sure they are the only compilers on the path and not colliding with standard system compilers.
There are no other compilers installed, I'm using a minimal install of CentOS 7. I've started from scratch with a clean installation of the OS, this time using the compilers from Development Tools (version 4.8.5) and got up to 95% in make -j$(nproc)
. IMPACT passed all the tests as well. Logs are attached.
@xyzxyz-321 Did cmake
run properly? Sounds like it didn't prepare the files for make
.
Please consider opening an issue at the IMPACT repository not to mix things up.
If you are using bash-like environment simply set the variable by:
export IMPACT_INSTALL_PATH=full_path_to_impact_installation_folder
and rerun the cmake command.
@msafdari1234 Any help with my previous comment? I'm still struggling with it. Thanks.
I'm trying to install Rocstar on CentOS 7 and I get the error that mod.mpi was not found. In ccmake the module directory is correctly pointing to where the file is in
MPI_Fortran_MODULE_DIR=/usr/bin/openmpi4/lib
, but it fails when runningmake -j$(nproc)
.IMPACT failed 5 tests, all related to parallel processing, so it seems to be something with openmpi not working properly even if it finds the compilers.
CMakeError.log CMakeOutput.log