Hello! I'm trying to install CHARMM on Ubuntu 18.04 and I followed the simplest instructions on this site (Installing CHARMM for Ubuntu)but it didn't work.
The error is f951: Fatal Error: Reading module â€˜allocationâ€™ at line 1592 column 65: Unexpected EOFcompilation terminated. I have googled for this error and I found out that there are only several topics here describing it. Thread 37282 Thread 37239 And there was a solution in the first thread, but I have checked that file for this particular line and everything was ok, everything was like in the correct version of installation.
The GCC issue is a bug, fixed in more recent versions. The fix is in build/UNX/Makefile_gnu
What are the CHARMM and GCC versions you are using? The OS version alone is not enough information. In many case, the default compilers on Linux systems can be fairly old, compared to the latest GCC release.
The CHARMM version could be an issue; I just built c45b1 on Ubuntu 18.04 using the default GCC 7.5 suite, and the Ubuntu cmake utility.
Actually, I don't know version of CHARMM I downloaded from http://charmm.chemistry.harvard.edu/charmm_lite.php bc it's lite free version maybe I can look in files of unpacked archive? I also have GCC 7.5. I am a student actually and I'm not sure that full licence is available for me, and I'm having problems with compiling lite-version and that's kinda sad)
Student of Chemoinformatics in the University of Strasbourg
The threads you referenced were using the older, deprecated ./install.com procedure, while "installing CHARMM for Ubuntu" link uses the newer ./configure procedure, so those threads may not be relevant. If you used configure, there should be messages about any problems encountered. Did you install Ubuntu cmake first, or use the one that configure builds from source?
Please verify your compiler and cmake versions via
gcc --version gfortran --version cmake --version
The gfortran version should match gcc; gfortran and cmake may not be installed on Ubuntu by default.
Martin Karplus spent some time in Strasbourg, so perhaps there are people there you could ask for help.
From the main charmm directory (c45b1 in my case), I did the following:
mkdir ../BldTest cd ../BldTest ../c45b1/configure make -j6
I had a similar problem. I tried to compile charmm c41b2 edition on ubuntu 18.04 edition. The gcc edition is 7.5.0, gfortran edition is 7.5.0, and cmake edition is 3.10.2. After I typed ./configure command, I got errors in the process.
CMake Error in /home/xxx/charmm/CMakeFiles/CMakeTmp/CMakeLists.txt: Imported target "MPI::MPI_C" includes non-existent path
Dear all, I figured out how to compile charmm on ubuntu 18.04 system. My error above came from fftw. After i installed libfftw3-3 and libfftw3-dev, I can run configure without any problem, then can compile charmm. Intel compilors are not necessary for the compiling. Gfortran and Gcc compilors are good enough.
I only have one question. Right now, after typing sudo make install command, i can install charmm. But I do not know if it is the xxlarge size. I am wondering how to control that.
XXLARGE & Co are obsolete. Instead the dimensions of atom-number related arrays is controlled at runtime using the flag "-chsize N", where N is an integer specifying the number of atoms . The current default is 360720, which corresponds to XXLARGE. See usage.info
Lennart Nilsson Karolinska Institutet Stockholm, Sweden