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