Changeset 2237 in lmdz_wrf


Ignore:
Timestamp:
Nov 17, 2018, 2:33:12 PM (6 years ago)
Author:
lfita
Message:

Updating hydra's compilation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/Makefile.hydra.gcc

    r1824 r2237  
    11# L. Fita, CIMA January 2017
    2 # Compilation of all required Fortran modules in `hydra' with ifort compilers
     2# Compilation of all required Fortran modules in `hydra' with gcc compilers
    33# A following python 'library' creation is required
    44## Compilation
     
    1313NCLIBFOLD       = /share/tools/bin/netcdf/4.5.0/gcc/lib
    1414NCINCFOLD       = /share/tools/bin/netcdf/4.5.0/gcc/include
    15 LIB_NETCDF      = -L$(NCLIBFOLD) -lnetcdff -lnetcdf -I$(NCINCFOLD)
     15NCLIBFFOLD      = /share/tools/bin/netcdf/4.5.0/gcc/lib
     16NCINCFFOLD      = /share/tools/bin/netcdf/4.5.0/gcc/include
     17LIB_NETCDF      = -L$(NCLIBFOLD) -L$(NCLIBFFOLD) -lnetcdff -lnetcdf -I$(NCINCFOLD) -I$(NCINCFFOLD)
    1618
    1719FCFLAGS = $(FCF) $(DBGFLAGS)
     
    8486        $(FC) $(FCFLAGS) $(LIB_INC) module_ForInterpolate.f90
    8587
    86 module_ForDiagnosticsVars.o: module_definitions.o module_basic.o module_generic.o
     88module_ForDiagnosticsVars.o: module_definitions.o module_basic.o module_generic.o module_scientific.o
    8789        $(FC) $(FCFLAGS) $(LIB_INC) module_ForDiagnosticsVars.f90
    8890
     
    103105
    104106pydistrimods.o:
    105         $(F2PY) -c -I$(NCINCFOLD) -m module_ForDistriCorrect $(distrisrcs) -L$(NCLIBFOLD)
     107        $(F2PY) -c $(F2PYF) -I$(NCINCFOLD) -m module_ForDistriCorrect $(distrisrcs) -L$(NCLIBFOLD)
    106108
    107109pydiagmods.o:
    108         $(F2PY) -c -I$(NCINCFOLD) -m module_ForDiag $(diagsrcs) -L$(NCLIBFOLD)
     110        $(F2PY) -c $(F2PYF) -I$(NCINCFOLD) -m module_ForDiag $(diagsrcs) -L$(NCLIBFOLD)
    109111
    110112pyintmods.o:
    111         $(F2PY) -c -I$(NCINCFOLD) -m module_ForInt $(intsrcs) -L$(NCLIBFOLD)
     113        $(F2PY) -c $(F2PYF) -I$(NCINCFOLD) -m module_ForInt $(intsrcs) -L$(NCLIBFOLD)
    112114
    113115pyscimods.o:
    114         $(F2PY) -c -I$(NCINCFOLD) -m module_ForSci $(scisrcs) -L$(NCLIBFOLD)
     116        $(F2PY) -c $(F2PYF) -I$(NCINCFOLD) -m module_ForSci $(scisrcs) -L$(NCLIBFOLD)
    115117
    116118pydefmods.o:
    117         $(F2PY) -c -I$(NCINCFOLD) -m module_ForDef $(defsrcs) -L$(NCLIBFOLD)
     119        $(F2PY) -c $(F2PYF) -I$(NCINCFOLD) -m module_ForDef $(defsrcs) -L$(NCLIBFOLD)
    118120
    119121trajectories_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.