Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Set the environment variables.
export CC=`which clang` export CXX=`which clang++` export FC=`which flang`
- Decompress the NWChem installation package.
cd /path/to/NWCHEM tar -zxvf nwchem-6.8.1-release.tar.gz
- Go to the directory generated after the decompression.
cd nwchem-6.8.1-release
- Decompress the GlobalArray installation package to the src/tools directory.
cd src/tools wget https://github.com/edoapra/ga/releases/download/v5.6.5/ga-5.6.5.tar.gz tar -zxvf ga-5.6.5.tar.gz
- Perform the configuration.
export NWCHEM_TOP=/path/to/NWCHEM/nwchem-6.8.1-release export NWCHEM_TARGET=LINUX64 export NWCHEM_MODULES=all export USE_MPI=y export USE_INTERNALBLAS=y
- Perform the compilation and installation.
cd /path/to/NWCHEM/nwchem-6.8.1-release/src make nwchem_config make FC=flang >& make.log
- Add the environment variables.
export PATH=/path/to/NWCHEM/nwchem-6.8.1-release/bin/LINUX64:$PATH
Parent topic: NWChem 6.8.1 Porting Guide (openEuler 21.03)