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

./install.com doesn't work

install.com> Phase 3 completed.
install.com> WARNING: install.com is deprecated
install.com> and will be removed from future releases.
install.com> 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 - ./install.com and configure dont work
Asma #37819 02/28/20 09:03 PM
Joined: Sep 2003
Posts: 8,425
rmv Offline
Forum Member
Offline
Forum Member
Joined: Sep 2003
Posts: 8,425
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  chmgr, John Legato, lennart 

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.006s Queries: 18 (0.003s) Memory: 0.8924 MB (Peak: 0.9579 MB) Data Comp: Off Server Time: 2020-04-10 06:58:26 UTC
Valid HTML 5 and Valid CSS