- Timestamp:
- Mar 7, 2019, 6:03:02 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/Makefile.hydra.gcc
r2237 r2376 4 4 ## Compilation 5 5 # make >& run_make.log 6 # NOTE: One will not be able to compile all the set of programs within an anaconda environment 7 # due to problems with anaconda. Installation of netcdf4 colides with installed libnetcdff 8 # - netcdf4 9 # The following packages will be downloaded: 10 # 11 # package | build 12 # ---------------------------|----------------- 13 # libnetcdf-4.6.1 | h10edf3e_2 1.3 MB 14 # 15 # The following NEW packages will be INSTALLED: 16 # 17 # netcdf4: 1.4.2-py27h4b4f87f_0 18 # 19 # The following packages will be REMOVED: 20 # 21 # libnetcdff: 4.4.4-0 matthewharrison 22 # 23 # The following packages will be UPDATED: 24 # 25 # libnetcdf: 4.4.0-hf6ef953_0 matthewharrison --> 4.6.1-h10edf3e_2 26 ##### 27 # Because of that, Makefile is splitted in two compilation sub-sets 28 ## 29 # $ make pymods: compilation of Fortran modules used in the python scripts 30 # $ make NCfortran: compiation of Fortran modules and main programs which require 31 # netCDF-fortran interface: (for: DistriCorrection and trajectories_overlap) 32 # $ make: compiles all components 33 ## 6 34 7 35 FC = gfortran … … 25 53 intsrcs = $(srcs) module_ForInterpolate.f90 26 54 scisrcs = $(srcs) 55 gensrcs = module_definitions.f90 module_basic.f90 module_generic.f90 27 56 defsrcs = module_definitions.f90 28 57 … … 37 66 module_ForInterpolate.o \ 38 67 module_ForDiagnosticsVars.o \ 39 module_ForDiagnostics.o \ 40 module_DistriCorrection.o 68 module_ForDiagnostics.o 41 69 42 70 FINTMODULES = \ … … 46 74 module_scientific.o \ 47 75 module_ForInterpolate.o 76 77 FEXECMODULES = \ 78 module_definitions.o \ 79 module_basic.o \ 80 module_generic.o \ 81 module_scientific.o \ 82 module_NCgeneric.o \ 83 module_ForInterpolate.o \ 84 module_DistriCorrection.o 48 85 49 86 all : \ … … 55 92 pyintmods.o \ 56 93 pyscimods.o \ 94 pygenmods.o \ 57 95 pydefmods.o \ 96 trajectories_overlap.o 97 98 pymods : \ 99 module_ForDiagnostics.o \ 100 pydistrimods.o \ 101 pydiagmods.o \ 102 pyintmods.o \ 103 pyscimods.o \ 104 pygenmods.o \ 105 pydefmods.o 106 107 NCfortran : \ 108 module_definitions.o \ 109 module_basic.o \ 110 module_generic.o \ 111 module_NCgeneric.o \ 112 module_ForInterpolate.o \ 113 DistriCorrection.o \ 58 114 trajectories_overlap.o 59 115 … … 62 118 63 119 clean : 64 $(RM) *.mod *.o interpolate module_ForDiag.so module_ForInt.so module_ForDistriCorrect.so module_ForSci.so module_For Def.so120 $(RM) *.mod *.o interpolate module_ForDiag.so module_ForInt.so module_ForDistriCorrect.so module_ForSci.so module_ForGen.so module_ForDef.so 65 121 66 122 ######## ####### … … 96 152 97 153 FCEXEFINTCFLAGS = $(FINTMODULES) $(LIB_NETCDF) $(LIB_INC) 98 FCEXECFLAGS = $( MODULES) $(LIB_NETCDF) $(LIB_INC)154 FCEXECFLAGS = $(FEXECMODULES) $(LIB_NETCDF) $(LIB_INC) 99 155 100 156 interpolate.o: module_definitions.o module_basic.o module_generic.o module_scientific.o module_ForInterpolate.o … … 116 172 $(F2PY) -c $(F2PYF) -I$(NCINCFOLD) -m module_ForSci $(scisrcs) -L$(NCLIBFOLD) 117 173 174 pygenmods.o: 175 $(F2PY) -c $(F2PYF) -I$(NCINCFOLD) -m module_ForGen $(gensrcs) -L$(NCLIBFOLD) 176 118 177 pydefmods.o: 119 178 $(F2PY) -c $(F2PYF) -I$(NCINCFOLD) -m module_ForDef $(defsrcs) -L$(NCLIBFOLD)
Note: See TracChangeset
for help on using the changeset viewer.