Skip to content
Snippets Groups Projects
Commit 7d024874 authored by Jan Willem Thorbecke's avatar Jan Willem Thorbecke
Browse files

fortran support for extrap

parent ef2becf5
No related branches found
No related tags found
No related merge requests found
......@@ -94,6 +94,13 @@ endif
#LIBARIES
LIBS= -L$L -lgenfft $(BLAS)
ifeq ($(FC),ifort)
LIBS += -lifcore
endif
ifeq ($(FC),gfortran)
LIBS += -lgfortran
endif
########################################################################
......
......@@ -10,16 +10,16 @@ all: mkdirs
cd marchenko ; $(MAKE) install
cd corrvir ; $(MAKE) install
cd raytime ; $(MAKE) install
cd fdelmodc3D ; $(MAKE) install
cd marchenko3D ; $(MAKE) install
cd vmar ; $(MAKE) install
cd extrap ; $(MAKE) install
ifneq ($(strip $(MKLROOT)),)
cd fdacrtmc ; $(MAKE) install
cd fdacrtmc ; $(MAKE) install
else
@echo "***************************************************************************";
@echo "**** There is no MKL or other library for the FFTW calls in use by fdacrtmc";
endif
cd fdelmodc3D ; $(MAKE) install
cd marchenko3D ; $(MAKE) install
cd vmar ; $(MAKE) install
ifneq ($(strip $(FC)),)
cd MDD ; $(MAKE) install
else
......
......@@ -2,7 +2,9 @@
include ../../Make_include
LIBS += -L$L -lextrap2d -lgenfft $(BLAS) -lm
LIBS := $(subst -lgenfft,-lextrap2d -lgenfft ,$(LIBS))
#LIBS += -L$L -lextrap2d -lgenfft -lm
LDFLAGS += $(LIBS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment