forked from tdep-developers/tdep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
important_settings.sigma
55 lines (42 loc) · 1.7 KB
/
important_settings.sigma
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
#!/bin/bash
# A central place to put all the important paths. You probably have to modify this to make
# things work.
#
# This is on Sigma, and I have the following modules loaded:
#module load buildenv-intel/2018b-eb
#module load HDF5/1.10.1-nsc1-intel-2018b-eb
# the header to put in python scripts.
PYTHONHEADER="#!/bin/env python"
# Which gnuplot terminal to use by default.
GNUPLOTTERMINAL="wxt" # other options are "aqua" and "x11"
# the fortran compiler
FORTRAN_COMPILER="ifort"
OPTIMIZATION_LEVEL="-O3 -xHost" # first time you try you might want to put this to -O0 to make things compile a little faster.
#OPTIMIZATION_LEVEL="-O0 -check bounds -check uninit -check pointers -check stack -traceback -g -fpe0 -init=snan,arrays -warn all -warn stderrors -stand f08 -diag-disable 5268"
# Extra options for the compiler to make it play nice
FCFLAGS="-fpp"
# flag that specifies location of modules
MODULE_FLAG="-module"
# Precompiler flags. Selecting default gnuplot terminal, and makes the progressbars work.
PRECOMPILER_FLAGS="-DGP${GNUPLOTTERMINAL} -Dclusterprogressbar"
# you need BLAS and LAPACK
PATH_TO_BLASLAPACK_LIB="-L${MKL_ROOT}/lib/intel64"
PATH_TO_BLASLAPACK_INC="-I${MKL_ROOT}/include"
BLASLAPACK_LIBS="-mkl=cluster"
# I need the fftw library
PATH_TO_FFTW_LIB=""
PATH_TO_FFTW_INC="-I${MKL_ROOT}/include/fftw"
FFTW_LIBS=""
# Also need MPI
PATH_TO_MPI_LIB="-L${I_MPI_ROOT}/intel64/lib"
PATH_TO_MPI_INC="-I${I_MPI_ROOT}/intel64/include"
MPI_LIBS="-lmpi -lmpifort"
# And a c-compiler
C_COMPILER="icc"
# And HDF5
PATH_TO_HDF5_LIB="-L${HDF5_DIR}/lib"
PATH_TO_HDF5_INC="-I${HDF5_DIR}/include"
HDF5_LIBS="-lhdf5 -lhdf5_fortran"
# Optionally CGAL and FHI-Aims. You probably do not want that.
USECGAL="no"
USEAIMS="no"