# $Id: Makedefs.generic 1444 2014-01-28 15:59:33Z gcambon $ # [1] Machine independent rules and definitions. #==== ======= =========== ===== === ============ .SUFFIXES: .o .f .i .F .F90 .f90 .f.o: $(CFT) -c $(FFLAGS) $*.f -o $*.o # rm -f $*.f .F.f: $(CPP) -P $(CPPFLAGS) $*.F | ./mpc > $*.f .F.o: $(CPP) -P $(CPPFLAGS) $*.F | ./mpc > $*_.f $(CFT) -c $(FFLAGS) $*_.f -o $*.o .f90.o: $(CFT) -c $(FFLAGS90) $*.f90 -o $*.o .F90.f90: $(CPP) -P $(CPPFLAGS) $*.F90 > $*_.f90 .F90.o: $(CPP) -P $(CPPFLAGS) $*.F90 > $*_.f90 $(CFT) -c $(FFLAGS90) $*_.f90 -o $*.o .F: $(LDR) -o $@ $(LDFLAGS) $< .f: $(LDR) -o $@ $(LDFLAGS) $< # [2] Machine dependent definitions #==== ======= ========= =========== # CPP Name of the C preprocessor # CPPFLAGS Flags to the C preprocessor # CFT Name of the fortran compiler to use # FFLAGS Flags to the fortran compiler # LDR Program to load the objects into an executable # LDFLAGS Flags to the loader # CPP = cpp -traditional -DLinux -DIfort CPPFLAGS = -I/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/netCDF-Fortran/4.4.4/include -ICROCOFILES/AGRIF_INC -I/home/courses/student14/OASIS/oasis3-mct/compile_oasis3-mct_intel_LEFTRARU/build/lib/psmile.MPI1 -I/home/courses/student14/OASIS/oasis3-mct/compile_oasis3-mct_intel_LEFTRARU/build/lib/mct -I/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/netCDF-Fortran/4.4.4/include CFT = mpiifort LDR = $(CFT) FFLAGS = -O2 -mcmodel=medium -fno-alias -i4 -r8 -fp-model precise -I/home/courses/student14/OASIS/oasis3-mct/compile_oasis3-mct_intel_LEFTRARU/build/lib/psmile.MPI1 -I/home/courses/student14/OASIS/oasis3-mct/compile_oasis3-mct_intel_LEFTRARU/build/lib/mct -I/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/netCDF-Fortran/4.4.4/include FFLAGS90 = -O2 -mcmodel=medium -fno-alias -i4 -r8 -fp-model precise -I/home/courses/student14/OASIS/oasis3-mct/compile_oasis3-mct_intel_LEFTRARU/build/lib/psmile.MPI1 -I/home/courses/student14/OASIS/oasis3-mct/compile_oasis3-mct_intel_LEFTRARU/build/lib/mct -I/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/netCDF-Fortran/4.4.4/include LDFLAGS = LCDF = -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/netCDF-Fortran/4.4.4/lib -lnetcdff -L/home/lmod/software/Core/icc/2019.2.187-GCC-8.2.0-2.31.1/lib/intel64 -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/imkl/2019.2.187/lib -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/imkl/2019.2.187/mkl/lib/intel64 -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/imkl/2019.2.187/lib -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/netCDF/4.6.2/lib64 -lnetcdf -lnetcdf -liomp5 -lpthread /home/courses/student14/OASIS/oasis3-mct/compile_oasis3-mct_intel_LEFTRARU/lib/libpsmile.MPI1.a /home/courses/student14/OASIS/oasis3-mct/compile_oasis3-mct_intel_LEFTRARU/lib/libmct.a /home/courses/student14/OASIS/oasis3-mct/compile_oasis3-mct_intel_LEFTRARU/lib/libmpeu.a /home/courses/student14/OASIS/oasis3-mct/compile_oasis3-mct_intel_LEFTRARU/lib/libscrip.a -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/netCDF-Fortran/4.4.4/lib -lnetcdff -L/home/lmod/software/Core/icc/2019.2.187-GCC-8.2.0-2.31.1/lib/intel64 -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/imkl/2019.2.187/lib -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/imkl/2019.2.187/mkl/lib/intel64 -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/imkl/2019.2.187/lib -L/home/lmod/software/MPI/intel/2019.2.187-GCC-8.2.0-2.31.1/impi/2019.2.187/netCDF/4.6.2/lib64 -lnetcdf -lnetcdf -liomp5 -lpthread