Changeset 1681 in lmdz_wrf
- Timestamp:
- Dec 4, 2017, 6:57:24 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/Makefile.llamp
r1678 r1681 2 2 # Compilation of all required Fortran modules in `llamp' (debian 9) with gcc compilers 3 3 # A following python 'library' creation is required 4 # Diagnostics compilation _______ 5 # f2py -m module_ForDiag -h module_ForDiag.pyf module_generic.f90 module_ForDiagnosticsVars.f90 module_ForDiagnostics.f90 >& run_f2py_ForDiag_wrapper.log 6 # make 7 # f2py -m module_ForDiag -c --f90exec=/usr/bin/gfortran-6 module_ForDiag.pyf module_generic.f90 module_ForDiagnosticsVars.f90 module_ForDiagnostics.f90 >& run_f2py_ForDiag_compile.log 8 # Interpolation compilation _______ 9 # f2py -m module_ForInt -h module_ForInt.pyf module_generic.f90 module_ForInterpolate.f90 >& run_f2py_ForInt_wrapper.log 10 # f2py -m module_ForInt -c --f90exec=/usr/bin/gfortran-6 module_ForInt.pyf module_generic.f90 module_ForInterpolate.f90 >& run_f2py_ForInt_compile.log 4 ## Compilation 5 # make >& run_make.log 11 6 12 7 FC = gfortran … … 14 9 LIB_INC = 15 10 RM = rm -f 11 F2PY = /usr/bin/f2py 16 12 DBGFLAGS = -g -Wall -Wextra -Warray-temporaries -Wconversion -fimplicit-none -fbacktrace -ffree-line-length-0 -fcheck=all -ffpe-trap=zero,overflow,underflow -finit-real=nan 17 13 NCLIBFOLD = /usr/lib/x86_64-linux-gnu … … 21 17 FCFLAGS = $(FCF) $(DBGFLAGS) 22 18 23 # Sources for f2py19 # Sources for $(F2PY) 24 20 srcs = module_definitions.f90 module_basic.f90 module_generic.f90 module_scientific.f90 25 21 distrisrcs = $(srcs) module_DistriCorrection.f90 … … 95 91 96 92 pydistrimods.o: 97 f2py-c -I$(NCINCFOLD) -m module_ForDistriCorrect $(distrisrcs) -L$(NCLIBFOLD)93 $(F2PY) -c -I$(NCINCFOLD) -m module_ForDistriCorrect $(distrisrcs) -L$(NCLIBFOLD) 98 94 99 95 pydiagmods.o: 100 f2py-c -I$(NCINCFOLD) -m module_ForDiag $(diagsrcs) -L$(NCLIBFOLD)96 $(F2PY) -c -I$(NCINCFOLD) -m module_ForDiag $(diagsrcs) -L$(NCLIBFOLD) 101 97 102 98 pyintmods.o: 103 f2py-c -I$(NCINCFOLD) -m module_ForInt $(intsrcs) -L$(NCLIBFOLD)99 $(F2PY) -c -I$(NCINCFOLD) -m module_ForInt $(intsrcs) -L$(NCLIBFOLD) 104 100 105 101 pyscimods.o: 106 f2py-c -I$(NCINCFOLD) -m module_ForSci $(scisrcs) -L$(NCLIBFOLD)102 $(F2PY) -c -I$(NCINCFOLD) -m module_ForSci $(scisrcs) -L$(NCLIBFOLD) 107 103 108 104 pydefmods.o: 109 f2py-c -I$(NCINCFOLD) -m module_ForDef $(defsrcs) -L$(NCLIBFOLD)105 $(F2PY) -c -I$(NCINCFOLD) -m module_ForDef $(defsrcs) -L$(NCLIBFOLD) 110 106 111 107 trajectories_overlap.o: module_definitions.o module_basic.o module_generic.o module_NCgeneric.o module_scientific.o
Note: See TracChangeset
for help on using the changeset viewer.