IllinoisRocstar / Rocstar

Rocstar MultiPhysics simulation suite (RocstarMP)
Other
22 stars 24 forks source link

make error on rflupart #5

Closed Langolyers closed 4 years ago

Langolyers commented 4 years ago

I succesfully compiled both IMPACT and the metis libraries, and cmake works without issues. However, when running make -j$(nproc) i get errors on rflumap, rfluinit and rflupart. I'm on Ubuntu 18.04 with gcc 7.5.0. Logs are below. Let me know if there's more information you need. Thanks for the support.

cmake: -- Setting build type to 'Release' as none was specified. -- A library with BLAS API found. -- A library with LAPACK API found. -- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components: doxygen dot -- Configuring done -- Generating done -- Build files have been written to: /home/augusto/Downloads/rocstar-master

make log is in the file: make_log.txt

msafdari1234 commented 4 years ago

Looks like CMAKE has not identified MPI compilers properly. Try ccmake . on the build folder, hit t for adv mode, and look at CMAKE_CXX_COMPILER, CMAKE_C_COMPILER, and CMAKE_Fortran_COMPILER. Make sure are all pointing to mpicxx, mpicc, and mpifort respectively.

Langolyers commented 4 years ago

The proposed solution worked, CMAKE was not finding the compilers.