nwchem-6.0-install

http://tiger.chem.uw.edu.pl/staff/lrajchel/nwchem-6.0-install.txt

A Source the following script:

------------------------------------------------------------------------------------------------------------------------
#!/bin/bash

set -a

LARGE_FILES=TRUE
NWCHEM_TOP=/opt/nwchem/nwchem-6.0
NWCHEM_INSTALL=/opt/nwchem/nwchem-6.0-install
NWCHEM_EXEC=$NWCHEM_INSTALL/bin/nwchem
NWCHEM_TARGET=LINUX64
NWCHEM_MODULES=all
USE_MPI=y
LIBMPI=-lmpi
MPI_LIB=/usr/lib
MPI_INCLUDE=/usr/include
BLASOPT="-L/opt/intel/Compiler/current/mkl/lib/64 -Wl,--start-group -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -Wl,--end-group -lpthread"
------------------------------------------------------------------------------------------------------------------------

and put the appropriate line in your .profile to source this file:

source /opt/nwchem/env_nwchem-6.0.sh

B Execute the commands

cd $NWCHEM_TOP/src
make FC=ifort CC=icc nwchem_config
make FC=ifort CC=icc >& make.log
cd $NWCHEM_TOP/src/util
make FC=ifort CC=icc version
make FC=ifort CC=icc
cd $NWCHEM_TOP/src
make FC=ifort CC=icc link

C Install NWChem for general site

mkdir -p $NWCHEM_INSTALL/{bin,data}
cp $NWCHEM_TOP/bin/${NWCHEM_TARGET}/nwchem $NWCHEM_INSTALL/bin
cd $NWCHEM_INSTALL/bin
chmod 755 nwchem
cd $NWCHEM_TOP/src/basis
cp -r libraries $NWCHEM_INSTALL/data
cd $NWCHEM_TOP/src
cp -r data $NWCHEM_INSTALL
cd $NWCHEM_TOP/src/nwpw
cp -r libraryps $NWCHEM_INSTALL/data

D Create a global NWChem startup file:

$NWCHEM_INSTALL/data/default.nwchemrc

with the contents:

------------------------------------------------------------------------------------------------------------------------
nwchem_basis_library /opt/nwchem/nwchem-6.0-install/data/libraries/
nwchem_nwpw_library /opt/nwchem/nwchem-6.0-install/data/libraryps/
ffield amber
amber_1 /opt/nwchem/nwchem-6.0-install/data/amber_s/
amber_2 /opt/nwchem/nwchem-6.0-install/data/amber_q/
amber_3 /opt/nwchem/nwchem-6.0-install/data/amber_x/
amber_4 /opt/nwchem/nwchem-6.0-install/data/amber_u/
spce /opt/nwchem/nwchem-6.0-install/data/solvents/spce.rst
charmm_s /opt/nwchem/nwchem-6.0-install/data/charmm_s/
charmm_x /opt/nwchem/nwchem-6.0-install/data/charmm_x/
------------------------------------------------------------------------------------------------------------------------

and in you home firectory create a link to it:

ln -s $NWCHEM_INSTALL/data/default.nwchemrc $HOME/.nwchemrc

E To allow users the access to NWChem, it's probably a good idea to create a group "nwchem":

groupadd nwchem
chown -R root:nwchem $NWCHEM_INSTALL

and then add the users who want to have the access to NWChem to that group

F Run NWChem in parallel:

mpirun -np 8 $NWCHEM_EXEC h2o.nw

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值