Changeset 2220 in lmdz_wrf for trunk/tools
- Timestamp:
- Nov 8, 2018, 2:30:43 PM (6 years ago)
- Location:
- trunk/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/Makefile.skogul.gcc
r1824 r2220 15 15 RM = rm -f 16 16 F2PY = /usr/bin/f2py2.7 17 F2PYF = 17 18 #DBGFLAGS = g -Wall -Wextra -Warray-temporaries -Wconversion -fimplicit-none -fbacktrace -ffree-line-length-0 -fcheck=all -ffpe-trap=zero,overflow,underflow -finit-real=nan 18 19 NCLIBFOLD = /usr/lib/x86_64-linux-gnu 19 20 NCINCFOLD = /usr/include 20 LIB_NETCDF = -L$(NCLIBFOLD) -lnetcdff -lnetcdf -I$(NCINCFOLD) 21 NCLIBFFOLD = /usr/lib/x86_64-linux-gnu 22 NCINCFFOLD = /usr/include 23 LIB_NETCDF = -L$(NCLIBFOLD) -L$(NCLIBFFOLD) -lnetcdff -lnetcdf -I$(NCINCFOLD) -I$(NCINCFFOLD) 21 24 22 25 FCFLAGS = $(FCF) $(DBGFLAGS) … … 89 92 $(FC) $(FCFLAGS) $(LIB_INC) module_ForInterpolate.f90 90 93 91 module_ForDiagnosticsVars.o: module_definitions.o module_basic.o module_generic.o 94 module_ForDiagnosticsVars.o: module_definitions.o module_basic.o module_generic.o module_scientific.o 92 95 $(FC) $(FCFLAGS) $(LIB_INC) module_ForDiagnosticsVars.f90 93 96 … … 108 111 109 112 pydistrimods.o: 110 $(F2PY) -c -I$(NCINCFOLD) -m module_ForDistriCorrect $(distrisrcs) -L$(NCLIBFOLD)113 $(F2PY) -c $(F2PYF) -I$(NCINCFOLD) -m module_ForDistriCorrect $(distrisrcs) -L$(NCLIBFOLD) 111 114 112 115 pydiagmods.o: 113 $(F2PY) -c -I$(NCINCFOLD) -m module_ForDiag $(diagsrcs) -L$(NCLIBFOLD)116 $(F2PY) -c $(F2PYF) -I$(NCINCFOLD) -m module_ForDiag $(diagsrcs) -L$(NCLIBFOLD) 114 117 115 118 pyintmods.o: 116 $(F2PY) -c -I$(NCINCFOLD) -m module_ForInt $(intsrcs) -L$(NCLIBFOLD)119 $(F2PY) -c $(F2PYF) -I$(NCINCFOLD) -m module_ForInt $(intsrcs) -L$(NCLIBFOLD) 117 120 118 121 pyscimods.o: 119 $(F2PY) -c -I$(NCINCFOLD) -m module_ForSci $(scisrcs) -L$(NCLIBFOLD)122 $(F2PY) -c $(F2PYF) -I$(NCINCFOLD) -m module_ForSci $(scisrcs) -L$(NCLIBFOLD) 120 123 121 124 pydefmods.o: 122 $(F2PY) -c -I$(NCINCFOLD) -m module_ForDef $(defsrcs) -L$(NCLIBFOLD)125 $(F2PY) -c $(F2PYF) -I$(NCINCFOLD) -m module_ForDef $(defsrcs) -L$(NCLIBFOLD) 123 126 124 127 trajectories_overlap.o: module_definitions.o module_basic.o module_generic.o module_NCgeneric.o module_scientific.o 125 128 $(FC) $(FCEXECFLAGS) trajectories_overlap.f90 -o trajectories_overlap 129 -
trunk/tools/Makefile.trueno
r1772 r2220 10 10 RM = rm -f 11 11 F2PY = /usr/bin/f2py 12 F2PYF = 12 13 DBGFLAGS = -g -Wall -Wextra -Warray-temporaries -Wconversion -fimplicit-none -fbacktrace -ffree-line-length-0 -fcheck=all -ffpe-trap=zero,overflow,underflow -finit-real=nan 13 14 NCLIBFOLD = /usr/lib/x86_64-linux-gnu 14 15 NCINCFOLD = /usr/include 15 LIB_NETCDF = -L$(NCLIBFOLD) -lnetcdff -lnetcdf -I$(NCINCFOLD) 16 NCLIBFFOLD = /usr/lib/x86_64-linux-gnu 17 NCINCFFOLD = /usr/include 18 LIB_NETCDF = -L$(NCLIBFOLD) -L$(NCLIBFFOLD) -lnetcdff -lnetcdf -I$(NCINCFOLD) -I$(NCINCFFOLD) 16 19 17 20 FCFLAGS = $(FCF) $(DBGFLAGS) … … 33 36 module_NCgeneric.o \ 34 37 module_scientific.o \ 38 module_ForInterpolate.o \ 35 39 module_ForDiagnosticsVars.o \ 36 40 module_ForDiagnostics.o \ 37 41 module_DistriCorrection.o 38 42 43 FINTMODULES = \ 44 module_definitions.o \ 45 module_basic.o \ 46 module_generic.o \ 47 module_scientific.o \ 48 module_ForInterpolate.o 49 39 50 all : \ 40 51 module_ForDiagnostics.o \ 52 interpolate.o \ 41 53 DistriCorrection.o \ 42 interpolate.o \43 54 pydistrimods.o \ 44 55 pydiagmods.o \ … … 73 84 $(FC) $(FCFLAGS) module_scientific.f90 74 85 75 module_ForDiagnosticsVars.o: module_definitions.o module_basic.o module_generic.o 86 module_ForInterpolate.o: module_definitions.o module_generic.o 87 $(FC) $(FCFLAGS) $(LIB_INC) module_ForInterpolate.f90 88 89 module_ForDiagnosticsVars.o: module_definitions.o module_basic.o module_generic.o module_scientific.o 76 90 $(FC) $(FCFLAGS) $(LIB_INC) module_ForDiagnosticsVars.f90 77 91 … … 82 96 $(FC) $(FCFLAGS) module_DistriCorrection.f90 83 97 98 FCEXEFINTCFLAGS = $(FINTMODULES) $(LIB_NETCDF) $(LIB_INC) 84 99 FCEXECFLAGS = $(MODULES) $(LIB_NETCDF) $(LIB_INC) 85 100 86 interpolate.o: module_definitions.o module_basic.o module_generic.o module_scientific.o 87 $(FC) $(FCEXE CFLAGS) interpolate.f90 -o interpolate101 interpolate.o: module_definitions.o module_basic.o module_generic.o module_scientific.o module_ForInterpolate.o 102 $(FC) $(FCEXEFINTCFLAGS) interpolate.f90 -o interpolate 88 103 89 104 DistriCorrection.o: module_definitions.o module_basic.o module_generic.o module_NCgeneric.o module_scientific.o module_DistriCorrection.o … … 91 106 92 107 pydistrimods.o: 93 $(F2PY) -c -I$(NCINCFOLD) -m module_ForDistriCorrect $(distrisrcs) -L$(NCLIBFOLD)108 $(F2PY) -c $(F2PYF) -I$(NCINCFOLD) -m module_ForDistriCorrect $(distrisrcs) -L$(NCLIBFOLD) 94 109 95 110 pydiagmods.o: 96 $(F2PY) -c -I$(NCINCFOLD) -m module_ForDiag $(diagsrcs) -L$(NCLIBFOLD)111 $(F2PY) -c $(F2PYF) -I$(NCINCFOLD) -m module_ForDiag $(diagsrcs) -L$(NCLIBFOLD) 97 112 98 113 pyintmods.o: 99 $(F2PY) -c -I$(NCINCFOLD) -m module_ForInt $(intsrcs) -L$(NCLIBFOLD)114 $(F2PY) -c $(F2PYF) -I$(NCINCFOLD) -m module_ForInt $(intsrcs) -L$(NCLIBFOLD) 100 115 101 116 pyscimods.o: 102 $(F2PY) -c -I$(NCINCFOLD) -m module_ForSci $(scisrcs) -L$(NCLIBFOLD)117 $(F2PY) -c $(F2PYF) -I$(NCINCFOLD) -m module_ForSci $(scisrcs) -L$(NCLIBFOLD) 103 118 104 119 pydefmods.o: 105 $(F2PY) -c -I$(NCINCFOLD) -m module_ForDef $(defsrcs) -L$(NCLIBFOLD)120 $(F2PY) -c $(F2PYF) -I$(NCINCFOLD) -m module_ForDef $(defsrcs) -L$(NCLIBFOLD) 106 121 107 122 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.