Compiling and Installing GAMESS
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to check whether the required software is installed:
rpm -qa |grep gcc
gcc-4.8.5-36.el7.aarch64 gcc-gfortran-4.8.5-36.el7.aarch64 libgcc-4.8.5-36.el7.aarch64 gcc-c++-4.8.5-36.el7.aarch64
- Run the following command to create a main program installation directory:
mkdir -p /path/to/GAMESS
- Run the following command to copy the installation package to the main program installation directory:
cp gamess-current.tar.gz /path/to/GAMESS
- Run the following command to go to the main program installation directory:
cd /path/to/GAMESS
- Run the following commands to decompress the installation package and grant the root permission on the package:
tar -zxvf gamess-current.tar.gz chown -R root:root gamess
- Run the following command to install the GAMESS main program:
- Go to the GAMESS installation directory.
cd /path/to/GAMESS/GAMESS ./config
- Press Enter and enter linux64.
- Press Enter three times and enter 00.
- Press Enter and enter gfortran.
- Press Enter and enter the gfortran version number obtained in 2.
- Press Enter twice and enter none.
- Press Enter three times and enter sockets.
- Press Enter and enter no.
- Press Enter and enter no.
- Press Enter and enter no.
- Press Enter.
The configuration file install.info is generated in /path/to/GAMESS.
- Go to the GAMESS installation directory.
- Run the following commands to compile the GAMESS main program:
- Compile DDI.
cd ddi ./compddi mv ddikick.x ../ cd ..
- Compile GAMESS. After the command is executed for approximately 10 minutes, many configuration files are generated in the object directory.
./compall
- Set the GAMESS link to generate gamess.00.x.
./lked gamess 00
- Change the run environment.
- Create a tmp directory for storing temporary files.
mkdir tmp
- Open the configuration file.
vi rungms
- Press i to enter the insert mode and add the following content:
set SCR=/path/to/GAMESS/tmp set USERSCR==/path/to/GAMESS/tmp set GMSPATH==/path/to/GAMESS
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Create a tmp directory for storing temporary files.
- Compile DDI.
Parent topic: GAMESS Porting Guide (CentOS 7.6)