File: IBM-BGQ-MPI.popt

package info (click to toggle)
cp2k 6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 204,532 kB
  • sloc: fortran: 835,196; f90: 59,605; python: 9,861; sh: 7,882; cpp: 4,868; ansic: 2,807; xml: 2,185; lisp: 733; pascal: 612; perl: 547; makefile: 497; csh: 16
file content (30 lines) | stat: -rw-r--r-- 1,221 bytes parent folder | download
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 were tested on IBM/BlueGene Q with
# - ESSL library             5.1
# - LAPACK library           lapack/3.4.2 
# - SCALAPACK library        scalapack/2.0.2
# - MASS library             7.3
# - FFTW3 library            fftw/3.3.3
# - libint library           libint/1.1.4
# - libxc library            2.2.2
# WARNING: Check your own libraries and paths !
#
CC       = mpixlc_r
CXX      = mpixlcxx_r
CPP      = cpp -P -traditional-cpp
FC       = mpixlf2003_r
LD       = mpixlf2003_r
AR       = ar -r
LIBXC_INCLUDE=$(HOME)/libxc-2.2.2-install/include
DFLAGS   = -D__FFTW3 -D__parallel -D__SCALAPACK -D__LIBINT -D__LIBXC2 -D__MPI_VERSION=2
CPPFLAGS = $(DFLAGS) -I$(FFTW3_INCLUDE) -I$(LIBXC_INCLUDE)
FCFLAGS  = -O3 -qstrict -q64 -qarch=qp -qtune=qp \
           -I/opt/ibmmath/essl/5.1/include/ \
           -I$(LAPACK_INCLUDE) -I$(FFTW3_INCLUDE) -I$(LIBXC_INCLUDE)
LDFLAGS  = $(FCFLAGS) -Wl,--allow-multiple-definition
LIBS     = -L$(LIBINT_LIB) -lderiv -lint \
           -L$(FFTW3_LIB) -lfftw3 \
           -L$(SCALAPACK_LIB) -lscalapack \
           -L$(LAPACK_LIB) -llapack \
           -L$(HOME)/libxc-2.2.2-install/lib -lxcf90 -lxc \
           -L/bgsys/local/lib -lesslbg \
           -lmass