Previous Thread
Next Thread
Print Thread
Installation problem - ./ and configure dont work
#37817 02/28/20 06:54 PM
Joined: Feb 2020
Posts: 3
Asma Offline OP
Forum Member
OP Offline
Forum Member
Joined: Feb 2020
Posts: 3

./ doesn't work> Phase 3 completed.> WARNING: is deprecated> and will be removed from future releases.> Please use ./configure and CMake.

and configure doesn't work , it says:

ERROR cmake configure failed
check cmake log files and try again

I don't remember how I made this step pass yesterday, but the second error would be :

Fatal Error: Cannot read module file 'mpi.mod' opened at (1), because it was created by a different version of GNU Fortran

I don't know how to check the versions and compile mpi.mod using the same compiler version. head -1 mpi.mod and zcat mpi.mod | head -1 give me command not found error.

Thank you.

Re: Installation problem - ./ and configure dont work
Asma #37819 02/28/20 09:03 PM
Joined: Sep 2003
Posts: 8,501
rmv Online Content
Forum Member
Online Content
Forum Member
Joined: Sep 2003
Posts: 8,501
You can check the gfortran version via

gfortran --version

Version 5 or later of the GCC suite (with gcc and gfortran) is recommended; the default that comes with a Linux distribution may not be the best choice.

The mpi.mod file is created when the MPI library is built, so if it doesn't match, you may need to build a new MPI library with the same compiler you will use to compile CHARMM. The file exists in the MPI installation, usually in the lib or include subdirectory.

Details on any cmake errors are usually found in CMakeFiles/CMakeError.log in the directory where configure was run, or perhaps build/cmake if you did not create a new build directory as recommended.

Rick Venable
computational chemist

Moderated by  lennart, rmv 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 5.6.33-0+deb8u1 Page Time: 0.010s Queries: 18 (0.003s) Memory: 0.8938 MB (Peak: 0.9584 MB) Data Comp: Off Server Time: 2020-10-21 08:34:30 UTC
Valid HTML 5 and Valid CSS