TABLE OF CONTENTS
tests/Makefile-tests-bc3-mpiifort-tau [ Make files ]
[ Top ] [ Make files ]
NAME
Makefile-tests-bc3-mpiifort-tau
SYNOPSIS
#$Id: Makefile-bc3-mpiifort-tau 382 2017-03-22 11:41:51Z mexas $ FC= tau_f90.sh
PURPOSE
Build CGPACK tests on University of Bristol BlueCrystal computer with Intel Fortran compiler.
AUTHOR
Anton Shterenlikht
COPYRIGHT
See CGPACK_Copyright
SOURCE
# Main TAU makefile #TAU_MAKEFILE= $(HOME)/tau-2.25.1/x86_64/lib/Makefile.tau-icpc-papi-mpi-pdt TAU_MAKEFILE= $(HOME)/tau-2.25.2-intel/x86_64/lib/Makefile.tau-icpc-papi-mpi-pdt include $(TAU_MAKEFILE) # 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 CGNAME= cg CGLIB= $(CGNAME)pack LIBDIR= $(HOME)/lib MODDIR= $(HOME)/mod MODPREFIX= cgca LIBNAME= lib$(CGLIB) COAR_FLAGS= -coarray=distributed -coarray-config-file=$(CA_CONF_FILE) FFLAGS= -c -qopt-report -O2 -debug full -g -traceback -free -warn \ $(COAR_FLAGS) -I$(MODDIR) $(TAU_INCLUDE) $(TAU_MPI_INCLUDE) #-std08 -warn stderrors -mt_mpi LDFLAGS= -qopt-report $(COAR_FLAGS) $(USER_OPT) $(TAU_LDFLAGS) LIBS= -L$(LIBDIR) -l$(CGLIB) $(TAU_MPI_FLIBS) $(TAU_LIBS) $(TAU_CXXLIBS) MODSRC= testaux.f90 MODMOD= $(MODSRC:.f90=.mod) MODOBJ= $(MODSRC:.f90=.o) MOD_CLEAN= $(MODMOD) $(MODOBJ) $(MOD_RPT) 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 # testABK.f90 testABL.f90 testABN.f90 testABO.f90 # testABV.f90 - co_sum not supported by ifort 16 # testABX.f90 - Cray parallel IO extensions OBJ= ${SRC:.f90=.o} EXE= ${SRC:.f90=.x} ALL_CLEAN= $(MOD_CLEAN) $(OBJ) $(EXE) *optrpt .SUFFIXES: .f90 .o .x .mod all: $(OBJ) $(EXE) .f90.o: $(FC) -c $< $(FFLAGS) .f90.mod: $(FC) -c $< $(FFLAGS) .o.x: $(FC) -o $@ $< $(MODOBJ) $(LDFLAGS) $(LIBS) $(OBJ): $(MODMOD) $(MODDIR)/$(MODPREFIX)*.mod $(LIBDIR)/$(LIBNAME).a $(MODMOD) $(MODOBJ): $(MODDIR)/$(MODPREFIX)*.mod $(LIBDIR)/$(LIBNAME).a $(EXE): $(MODOBJ) clean: \rm $(ALL_CLEAN)