-
Notifications
You must be signed in to change notification settings - Fork 3
/
make.settings
42 lines (36 loc) · 1004 Bytes
/
make.settings
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
## Set ADIOS_DIR here or before doing make
#override ADIOS_DIR=/opt/adios/1.11
#override ADIOS_DIR=/ccs/proj/e2e/${USER}/ADIOS/sith.pgi
override ADIOS_DIR=`adios_config -d`
#Location of the (sequential) HDF5 libraries
HDF5_DIR=/opt/hdf5-1.8.17
#Location of the Parallel HDF5 libraries
PHDF5_DIR=/opt/hdf5-1.8.17-parallel
## mpicc and mpif90 SETTINGS
CC=mpicc
# if ADIOS has C++ dependencies (FastBit, Alacrity) then we need C++ to link
#OMPI_CXX=g++-5
#LINKER=mpic++
LINKER=mpicc
FC=mpif90
CFLAGS=-g
LDFLAGS=-g
FFLAGS=-g -Wall -fcheck=bounds #-fcheck=array-temps
## cc/ftn SETTINGS
#CC=cc
#FC=ftn
#CFLAGS = -O3
#LDFLAGS =
#
# settings that may need modification
#
# HDF5
HDF5_CINC=-I$(HDF5_DIR)/include
HDF5_FINC=-I$(HDF5_DIR)/include
HDF5_CLIB=$(HDF5_DIR)/lib/libhdf5.la
HDF5_FLIB=$(HDF5_DIR)/lib/libhdf5_fortran.la
# Parallel HDF5
PHDF5_CINC=-I$(PHDF5_DIR)/include
PHDF5_FINC=-I$(PHDF5_DIR)/include
PHDF5_CLIB=$(PHDF5_DIR)/lib/libhdf5.la
PHDF5_FLIB=$(PHDF5_DIR)/lib/libhdf5_fortran.la