Last active
January 6, 2024 18:26
-
-
Save alexholehouse/0502b28e8f36fdd7a7a38566ee02c7a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Once complete we expect CAMPARI_HOME, INCLUDE_DIRS and LIB_DIRS to be defined above. | |
# | |
# Makefile.local | |
# Written by Alex Holehouse for CAMPARI compilation with GNU compilers. Developed | |
# for ubuntu docker container autodeployment | |
# | |
SRC_DIR=${CAMPARI_HOME}/source | |
FF=gfortran | |
CC=gcc | |
ARCH=x86_64 | |
BIN_DIR=${CAMPARI_HOME}/bin | |
LIB_DIR=${CAMPARI_HOME}/lib | |
FFLAGS=-DDISABLE_FLOAT -DLINK_XDR -DLINK_FFTW -DLINK_NETCDF -DDISABLE_OPENMP4 -I${INCLUDE_DIRS} -I${LIB_DIR}/${ARCH} -I/usr/include/libxml2 | |
EXTRA_LIBS= ${LIB_DIRS}/libnetcdff.a ${LIB_DIRS}/libnetcdf.a ${LIB_DIRS}/libhdf5_hl.a ${LIB_DIRS}/libhdf5.a -lcurl ${LIB_DIRS}/libz.a -ldl ${LIB_DIRS}/libfftw3.a -lxml2 | |
THREADFLAGS=-openmp | |
COMPDEFAULTS=${GNUDEFAULTS} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment