Changeset 1681 in lmdz_wrf


Ignore:
Timestamp:
Dec 4, 2017, 6:57:24 PM (7 years ago)
Author:
lfita
Message:

Improved/Generalized? version of the Makefil for `llamp'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/Makefile.llamp

    r1678 r1681  
    22# Compilation of all required Fortran modules in `llamp' (debian 9) with gcc compilers
    33# 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
    116
    127FC              = gfortran
     
    149LIB_INC =
    1510RM              = rm -f
     11F2PY    = /usr/bin/f2py
    1612DBGFLAGS = -g -Wall -Wextra -Warray-temporaries -Wconversion -fimplicit-none -fbacktrace -ffree-line-length-0 -fcheck=all -ffpe-trap=zero,overflow,underflow -finit-real=nan
    1713NCLIBFOLD       = /usr/lib/x86_64-linux-gnu
     
    2117FCFLAGS = $(FCF) $(DBGFLAGS)
    2218
    23 # Sources for f2py
     19# Sources for $(F2PY)
    2420srcs = module_definitions.f90 module_basic.f90 module_generic.f90 module_scientific.f90
    2521distrisrcs = $(srcs) module_DistriCorrection.f90
     
    9591
    9692pydistrimods.o:
    97         f2py -c -I$(NCINCFOLD) -m module_ForDistriCorrect $(distrisrcs) -L$(NCLIBFOLD)
     93        $(F2PY) -c -I$(NCINCFOLD) -m module_ForDistriCorrect $(distrisrcs) -L$(NCLIBFOLD)
    9894
    9995pydiagmods.o:
    100         f2py -c -I$(NCINCFOLD) -m module_ForDiag $(diagsrcs) -L$(NCLIBFOLD)
     96        $(F2PY) -c -I$(NCINCFOLD) -m module_ForDiag $(diagsrcs) -L$(NCLIBFOLD)
    10197
    10298pyintmods.o:
    103         f2py -c -I$(NCINCFOLD) -m module_ForInt $(intsrcs) -L$(NCLIBFOLD)
     99        $(F2PY) -c -I$(NCINCFOLD) -m module_ForInt $(intsrcs) -L$(NCLIBFOLD)
    104100
    105101pyscimods.o:
    106         f2py -c -I$(NCINCFOLD) -m module_ForSci $(scisrcs) -L$(NCLIBFOLD)
     102        $(F2PY) -c -I$(NCINCFOLD) -m module_ForSci $(scisrcs) -L$(NCLIBFOLD)
    107103
    108104pydefmods.o:
    109         f2py -c -I$(NCINCFOLD) -m module_ForDef $(defsrcs) -L$(NCLIBFOLD)
     105        $(F2PY) -c -I$(NCINCFOLD) -m module_ForDef $(defsrcs) -L$(NCLIBFOLD)
    110106
    111107trajectories_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.