From dac299c0606fb1460968bd540686b4b04bb6fbbc Mon Sep 17 00:00:00 2001 From: ignis Date: Wed, 2 Aug 2017 19:39:19 +0900 Subject: [PATCH] Makefile update to use gfortran compiler --- Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 4a40277..d1635eb 100644 --- a/Makefile +++ b/Makefile @@ -4,12 +4,11 @@ MPIF90 = blah - FFTW_HOME = ../libs/fftw-3.2.2/lib - OPENMPI_HOME = /home/comb/ignis/openmpi/ - MPIF90 = $(OPENMPI_HOME)/bin/mpif90 - FCFLAGS = -i8 -r8 -c $(MPI_COMPILE_FLAGS) -I$(FFTW_HOME)/include -I$(OPENMPI_HOME)/include - LDFLAGS = -i8 -r8 $(MPI_LD_FLAGS) -L$(FFTW_HOME)/lib -lfftw3 -L$(OPENMPI_HOME)/lib -lfftw3 -lm -shared-intel - FCFLAGS_F77 = -Mextend + FFTW_HOME = ../libs/fftw-3.2.2 + MPIF90 = mpif90 + FCFLAGS = -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8 -c $(MPI_COMPILE_FLAGS) -I$(FFTW_HOME)/include + LDFLAGS = -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8 $(MPI_LD_FLAGS) -L$(FFTW_HOME)/lib -lfftw3 -lm + FCFLAGS_F77 = MODULES += m_openmpi.o