Support and discussions for Molcas and OpenMolcas users and developers
You are not logged in.
Please note: The forum's URL has changed. The new URL is: https://molcasforum.univie.ac.at. Please update your bookmarks!
You can choose an avatar and change the default style by going to "Profile" → "Personality" or "Display".Pages: 1
To compile openmolcas with NECI, first I get NECI library through git submodule command. Then I use command:
cmake -DNECI=ON -DMPI=ON -DGA=ON -DOPENMP=ON CC=mpiicc FC=mpiifort
Consequently, I encounter that error:
Run Build Command(s):/bin/gmake cmTC_519bd/fast && /bin/gmake -f CMakeFiles/cmTC_519bd.dir/build.make CMakeFiles/cmTC_519bd.dir/build
gmake[1]: Entering directory `/home/tikim/program/OpenMolcas/build/CMakeFiles/CMakeTmp'
Building Fortran object CMakeFiles/cmTC_519bd.dir/test_mpi.f90.o
/bin/f95 -I/opt/intel/compilers_and_libraries_2020.0.166/linux/mpi/intel64/include/gfortran/4.8.0 -I/opt/intel/compilers_and_libraries_2020.0.166/linux/mpi/intel64/include -fno-aggressive-loop-optim
izations -cpp -fdefault-integer-8 -fopenmp -c /home/tikim/program/OpenMolcas/build/CMakeFiles/FindMPI/test_mpi.f90 -o CMakeFiles/cmTC_519bd.dir/test_mpi.f90.o
/home/tikim/program/OpenMolcas/build/CMakeFiles/FindMPI/test_mpi.f90:2.10:
use mpi_f08
1
Fatal Error: File 'mpi_f08.mod' opened at (1) is not a GNU Fortran module file
gmake[1]: *** [CMakeFiles/cmTC_519bd.dir/test_mpi.f90.o] Error 1
gmake[1]: Leaving directory `/home/tikim/program/OpenMolcas/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTC_519bd/fast] Error 2
Offline
It might be some mismatch in the compilers. Try https://gitlab.com/Molcas/OpenMolcas/-/ … lelization
Offline
Your output looks strange, as you define FC=mpiifort, but get error from gnu compiler /bin/f95 with include directory /opt/intel/compilers_and_libraries_2020.0.166/linux/mpi/intel64/include/gfortran/4.8.0 and -fopenmp option.
Try to run cmake in a clean directory, as it sometimes gets confused when reconfigured in a dirty directory.
I would define CC and FC before cmake and make:
CC=mpiicc FC=mpiifort cmake -DNECI=ON -DMPI=ON -DGA=ON -DOPENMP=ON
CC=mpiicc FC=mpiifort make -j
Offline
Pages: 1