Skip to content
Snippets Groups Projects
Commit 9c25c4cf authored by Behrens, Prof. Dr. Jörn's avatar Behrens, Prof. Dr. Jörn
Browse files

adjusted Makefile for flash2d to compile smoothly on thunder

parent 6e9868d9
No related branches found
No related tags found
No related merge requests found
This directory contains module files necessary for the LAPACK95 interface library
......@@ -31,26 +31,26 @@ NO_MPSLM := yes
# SET MAIN DIRECTORY PATH
# !! This has to be alterd by user !!
ROOTDIR = $(HOME)/Development
ROOTDIR = $(HOME)/Transport-20/tracertransportsoftware
# SET atlas/blas DIRECTORY PATH
# !! This has to be alterd by user !!
BLASDIR =
BLASLIB = -L/usr/lib -l:libblas.so.3gf
BLASDIR = /usr/lib
BLASLIB = -lblas
# SET LAPACK DIRECTORY PATH/BLAS INCLUDED IN INTEL MKL
# !! This has to be alterd by user !!
LAPACKDIR =
LAPACKLIB = -L/usr/lib -l:liblapack.so.3gf -lpthread -lc
LAPACKDIR = /usr/lib
LAPACKLIB = -llapack -lpthread -lc # -L$(ROOTDIR)/amatos2d/3rdpparty/LAPACK95 -llapack95
# SET C++ DIRECTORY PATH
# !! This has to be alterd by user !!
CCLIBDIR = /usr/lib/
CCLIB = # -lstdc++
# SET MORE DIRECTORY PATHS
LIBDIR = $(ROOTDIR)/amatos2d/lib/$(MACHINE)
INCDIR = $(ROOTDIR)/amatos2d/include/$(MACHINE)
MODDIR = $(ROOTDIR)/amatos2d/include/$(MACHINE)
LIBDIR = $(ROOTDIR)/lib/$(MACHINE)
INCDIR = $(ROOTDIR)/include/$(MACHINE)
MODDIR = $(ROOTDIR)/include/$(MACHINE)
MAINDIR = $(ROOTDIR)/flash2d
SRCDIR = $(MAINDIR)/src/flash
......@@ -64,8 +64,11 @@ BUILDIR = $(MAINDIR)/compile/$(MACHINE)
LIBNETCDF =
INCNETCDF =
ifneq ($(strip $(NO_NETCDF)), yes)
LIBNETCDF = -L$(LIBDIR) -lncugrid -L/usr/lib -lnetcdff -lnetcdf
INCNETCDF = -I/usr/include
LIBNETCDF = -L/sw/jessie-x64/netcdf_fortran-4.4.2-static-gcc81/lib -lnetcdff \
-L/sw/jessie-x64/szip-2.1-static-gccsys/lib -L/sw/jessie-x64/hdf5-1.8.16-static-gccsys/lib \
-L/sw/jessie-x64/netcdf-4.3.3.1-static-gccsys/lib -lnetcdf \
-lhdf5_hl -lhdf5 -lsz -lz -lm -ldl
INCNETCDF = -I/sw/jessie-x64/netcdf_fortran-4.4.2-static-gcc81/include/
endif
# SET VISNET DIRECTORY PATH
......@@ -122,9 +125,8 @@ FFLAGS += -DNO_NETCDF
endif
# -------- next flag for using dummy graphics library -----------#
LIBS = -L$(LIBDIR) -lamatos -L$(BLASDIR) $(BLASLIB) \
LIBS = -L$(LIBDIR) -lamatos -lncugrid -L$(BLASDIR) $(BLASLIB) \
-L$(LAPACKDIR) $(LAPACKLIB) \
-L$(VISNETDIR) $(VISNETLIB) \
$(LIBNETCDF) -L$(CCLIBDIR) $(CCLIB)\
-lm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment