summarylogtreecommitdiffstats
path: root/config.sh
blob: 041f2f3975fd3b77b22b7d21b5968b9b160fb751 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#=======================================================================#
#                              GA Settings                              #
#=======================================================================#

export CC=gcc
export CXX=g++
export FC=gfortran
export F77=gfortran

export USE_MPI=yes
export FORCE_MPI_ENV=yes
export MPI_LOC=/usr
export MPI_LIB=$MPI_LOC/lib/openmpi
export MPI_INCLUDE=$MPI_LOC/include
export LIBMPI="-lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi"

export ARMCI_NETWORK=MPI-PR

export USE_64TO32=y

export HAS_BLAS=yes
export BLASOPT="-lblas"
export BLAS_SIZE=4

export USE_SCALAPACK=y
export SCALAPACK_SIZE=4
export SCALAPACK="-lscalapack"

export LAPACK_SIZE=4
export LAPACK_LIB="-llapack"

#=======================================================================#
#                            NWChem Settings                            #
#=======================================================================#

export NWCHEM_TARGET=LINUX64
export NWCHEM_MODULES="all nwxc python"
export NWCHEM_TOP=$(pwd)

export USE_PYTHONCONFIG=y
export PYTHONHOME=/usr
export PYTHONVERSION=3.11
export PYTHONLIBTYPE=so

export LARGE_FILES=TRUE
export USE_NOFSCHECK=TRUE

export MRCC_METHODS=y
export CCSDTQ=y
export CCSDTLR=y
export IPCCSD=y
export EACCSD=y

#=======================================================================#
#                             CUDA Settings                             #
#=======================================================================#

#export TCE_CUDA=y
#export CUDA_HOME=/opt/cuda
#export CUDA_LIBS="-L$CUDA_HOME/lib64 -lcudart"
#export CUDA_INCLUDE="-I. -I$CUDA_HOME/include"