Changeset 2261 in lmdz_wrf


Ignore:
Timestamp:
Dec 19, 2018, 8:12:54 PM (6 years ago)
Author:
lfita
Message:

Update Makefile for trueno with the spliting for the netCDF programs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/Makefile.trueno

    r2220 r2261  
    44## Compilation
    55# 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##
    634
    735FC              = gfortran
     
    3866        module_ForInterpolate.o \
    3967        module_ForDiagnosticsVars.o \
    40         module_ForDiagnostics.o \
    41         module_DistriCorrection.o
     68        module_ForDiagnostics.o
    4269
    4370FINTMODULES = \
     
    4774        module_scientific.o \
    4875        module_ForInterpolate.o
     76
     77FEXECMODULES = \
     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
    4985
    5086all : \
     
    5793        pyscimods.o \
    5894        pydefmods.o \
     95        trajectories_overlap.o
     96
     97pymods : \
     98        module_ForDiagnostics.o \
     99        pydistrimods.o \
     100        pydiagmods.o \
     101        pyintmods.o \
     102        pyscimods.o \
     103        pydefmods.o
     104
     105NCfortran : \
     106        module_definitions.o \
     107        module_basic.o \
     108        module_generic.o \
     109        module_NCgeneric.o \
     110        module_ForInterpolate.o \
     111        DistriCorrection.o \
    59112        trajectories_overlap.o
    60113
     
    97150
    98151FCEXEFINTCFLAGS = $(FINTMODULES) $(LIB_NETCDF) $(LIB_INC)
    99 FCEXECFLAGS = $(MODULES) $(LIB_NETCDF) $(LIB_INC)
     152FCEXECFLAGS = $(FEXECMODULES) $(LIB_NETCDF) $(LIB_INC)
    100153
    101154interpolate.o: module_definitions.o module_basic.o module_generic.o module_scientific.o module_ForInterpolate.o
Note: See TracChangeset for help on using the changeset viewer.