forked from cp2k/cp2k
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IBM-BGQ-MPI.psmp
30 lines (26 loc) · 1.42 KB
/
IBM-BGQ-MPI.psmp
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
# The following settings are intended for IBM/BlueGene Q with
# - ESSL library essl/5.1 or later
# - ESSL SMP library esslsmp/5.1 or later
# - LAPACK library lapack/3.4.2 or later
# - SCALAPACK library scalapack/1.8.0 or later
# - MASS library mass/7.3 or later
# Optional (if FFTW3 is requested)
# - FFTW3 library fftw/3.3.3 or later
# WARNING: Check your own libraries and paths !
#
CC = mpixlc
FC = mpixlf2003_r -qpreprocess
LD = mpixlf2003_r
AR = ar -r
DFLAGS = -D__AIX -D__FFTW3 -D__FFTSG -D__parallel -D__BLACS -D__SCALAPACK
FCFLAGS = $(DFLAGS) -O3 -qhot -g -qsmp=omp -qstrict -qarch=qp -qtune=qp -qmaxmem=-1 \
-I/bgsys/ibm_essl/prod/opt/ibmmath/essl/5.1/include \
-I/bglocal/cn/pub/LAPACK/3.4.2/include -I/bglocal/cn/pub/FFTW/3.3.3/include
LDFLAGS = $(FCFLAGS) -Wl,--allow-multiple-definition
LIBS = -L/bglocal/cn/pub/FFTW/3.3.3/lib -lfftw3_mpi -lfftw3_omp -lfftw3 -lfftw3f_mpi -lfftw3f_omp -lfftw3f \
/bglocal/cn/pub/ScaLAPACK/1.8.0/lib/libscalapack.a /bglocal/cn/pub/BLACS/1.1/lib/libblacsF77init.a \
/bglocal/cn/pub/BLACS/1.1/lib/libblacsCinit.a /bglocal/cn/pub/BLACS/1.1/lib/libblacs.a \
/bglocal/cn/pub/LAPACK/3.4.2/lib/liblapack.a \
/bgsys/ibm_essl/prod/opt/ibmmath/essl/5.1/lib64/libesslbg.a \
/opt/ibmcmp/xlmass/bg/7.3/bglib64/libmass.a
OBJECTS_ARCHITECTURE = machine_aix.o