makefile update gfortran

This commit is contained in:
ignis 2019-04-01 15:55:52 +09:00
parent 7b4dec31f5
commit 799676f897

View file

@ -2,19 +2,31 @@
#Neuman flags
#flags = -O3 -r8 -i8 -openmp -msse3 -axSSSE3 -m64 -fPIC -i_dynamic
#Cluster_2(16.161) flags
flags = -O3 -r8 -i8 -qopenmp -msse3 -axSSSE3 -m64 -fPIC
compiler = ifort
flags = -Wall -O3 -fdefault-integer-8 -fdefault-double-8 -fdefault-real-8 -march=native
Post_Cbar_FSD_Incomp : test.o post.mod Compact.mod
ifdef CHECK
flags += -fcheck=all
endif
ifdef DEBUG
flags += -g
endif
compiler = gfortran
Post_Cbar_FSD_Incomp : x-edge-cold-bc-uPrime-hybrid
x-edge-cold-bc-uPrime-hybrid : test.o post.o Compact.o
${compiler} -o x-edge-cold-bc-uPrime-hybrid ${flags} test.o post.o Compact.o
test.o : test.f90 post.mod
test.o : test.f90 post.mod compact.mod
${compiler} -c ${flags} test.f90
post.mod: post.f90 Compact.mod
post.o post.mod: post.f90 compact.mod
${compiler} -c ${flags} post.f90
Compact.mod: Compact.f90
Compact.o compact.mod: Compact.f90
${compiler} -c ${flags} Compact.f90
clean:
rm *.o *.mod x-edge-cold-bc-uPrime-hybrid