TABLE OF CONTENTS
tests/Makefile-tests-mpiifort [ Make files ]
[ Top ] [ Make files ]
NAME
Makefile-tests-mpiifort
SYNOPSIS
#$Id: Makefile-mpiifort 520 2018-03-13 18:02:06Z mexas $ FC= mpiifort
PURPOSE
Build CGPACK tests with with Intel MPI Fortran compiler.
AUTHOR
Anton Shterenlikht
COPYRIGHT
See LICENSE
SOURCE
# This file must exist only at run time. # At build time only the name of this file # must be specified. CA_CONF_FILE= xx14.conf COAR_FLAGS= -coarray=distributed -coarray-config-file=$(CA_CONF_FILE) FFLAGS= $(COAR_FLAGS) -debug full -warn all -O2 -qopt-report \ -traceback #-std08 -warn stderrors -mt_mpi FFLAGS_CA= $(FFLAGS) -I. -I$(MODDIR) CGLIB= cgpack LIBDIR= $(HOME)/lib MODDIR= $(HOME)/include MODFILES= $(MODDIR)/cgca.mod LIBNAME= lib$(CGLIB).a LIB= $(COAR_FLAGS) -L$(LIBDIR) -l$(CGLIB) \ -L/mnt/storage/software/libraries/intel/hdf5-1.10.1-mpi/lib \ -lhdf5 -lhdf5_fortran \ -L/mnt/storage/software/libraries/intel/netcdf-4.4.1.1-mpi/lib \ -lnetcdf -lnetcdff # -L$(HOME)/soft/hdf5-1.10.1-ifort16u2-install/lib -lhdf5 -lhdf5_fortran \ # -L$(HOME)/soft/netcdf-fortran-4.4.4-ifort-install/lib -lnetcdff MODSRC= testaux.f90 MODMOD= $(MODSRC:.f90=.mod) MODOBJ= $(MODSRC:.f90=.o) MODRPT= $(MODSRC:.f90=.optrpt) CLEAN+= $(MODMOD) $(MODOBJ) $(MODRPT) SRC= \ testAAA.f90 testAAB.f90 testAAC.f90 testAAD.f90 testAAE.f90 \ testAAF.f90 testAAG.f90 testAAH.f90 testAAI.f90 testAAJ.f90 \ testAAK.f90 testAAL.f90 testAAM.f90 testAAN.f90 testAAO.f90 \ testAAP.f90 testAAQ.f90 testAAR.f90 testAAS.f90 testAAT.f90 \ testAAU.f90 testAAV.f90 testAAW.f90 testAAX.f90 testAAY.f90 \ testAAZ.f90 \ testABA.f90 testABB.f90 testABC.f90 testABD.f90 testABE.f90 \ testABF.f90 testABG.f90 testABH.f90 testABI.f90 testABJ.f90 \ testABM.f90 \ testABP.f90 testABQ.f90 testABR.f90 testABS.f90 testABT.f90 \ testABU.f90 testABW.f90 testABY.f90 \ testABZ.f90 \ testACA.f90 testACB.f90 testACD.f90 testACE.f90 \ test_hdf5.f90 \ test_netcdf.f90 \ test_hxvn.f90 #future_ca_omp1.f90 # no co_sum in ifort 17 # testACF.f90, test_hxir.f90 # test_hxvn_co.f90 \ #test_ising.f90 test_ising_col.f90 test_ising_perf.f90 \ #test_ising_co.f90 \ #test_mpi_hxvn.f90 # test_mpi_ising.f90 # test_mpi_ising_perf.f90 \ # testABK.f90 testABL.f90 testABN.f90 testABO.f90 testABV.f90 # testACC.f90 - co_sum not supported by ifort 16 # testABX.f90 - Cray parallel IO extensions OBJ= $(SRC:.f90=.o) RPT= $(SRC:.f90=.optrpt) EXE= $(SRC:.f90=.x) CLEAN+= $(OBJ) $(RPT) $(EXE) .SUFFIXES: .SUFFIXES: .f90 .o .x all: $(MODOBJ) $(MODMOD) $(OBJ) $(EXE) .f90.o: $(FC) -c $< $(FFLAGS_CA) .o.x: $(FC) -o $@ $< $(MODOBJ) $(LIB) # Extra dependencies $(EXE): $(LIBDIR)/$(LIBNAME) $(MODOBJ) $(OBJ): $(MODMOD) $(MODSMOD) $(MODFILES) $(MODOBJ): $(MODFILES) clean: \rm $(CLEAN)