Changeset 4102


Ignore:
Timestamp:
10/26/18 14:27:07 (5 years ago)
Author:
omamce
Message:

O.M. : Add make_mosaix for portable compilation.

make_mosaix relies on the compilation system of XIOS

Location:
TOOLS/MOSAIX
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/MOSAIX/bld.cfg

    r3988 r4102  
    1111cfg::version  1.0                            
    1212 
    13 bld::tool::shell /bin/bash 
    14  
     13# Specifying the build directory 
     14inc bld_dir.cfg 
    1515 
    1616# ---------- User section ----------- 
    17  
    18 %XIOS_DIR /ccc/cont003/home/gencmip6/p86mart/XIOS 
    19  
    20 %ROOT    ${PWD} 
    21 %F90     mpif90 -r8 
    22 #%FFLAGS  -O3 -ip -no-prec-div 
    23 #%FFLAGS         -g -check all -check noarg_temp_created -debug all -debug-parameters all -ftrapuv -traceback 
    24 #%FFLAGS         -g -check arg_temp_created -check bounds -check format -check output_conversion -check pointers -check uninit -ftrapuv -traceback 
    25 %FFLAGS  -g -traceback -check all 
    26 #%FFLAGS         -g -check all -check noarg_temp_created -debug all -debug-parameters all -ftrapuv -traceback 
     17%CFLAGS           %BASE_CFLAGS %COMPIL_CFLAGS 
     18%FFLAGS           %BASE_FFLAGS %COMPIL_FFLAGS 
     19%LD_FLAGS         %ARCH_LD %BASE_LD -L%{XIOS_DIR}/lib -lxios 
    2720 
    2821# ---------- Do no touch ----------- 
    29  
    30 dir::root     %{ROOT} 
    31 bld::target  interpol.exe # interpol_nemo_to_lmdz.exe interpol_lmdz_to_nemo.exe 
     22bld::target  interpol.exe 
    3223 
    3324search_src    1 
    3425 
    3526# -- Compiler, etc ... 
    36 bld::tool::fc       %{F90}                     
    37 bld::tool::fflags   %{FFLAGS} -I%{XIOS_DIR}/inc -I${NETCDF_INCDIR} 
    38 bld::tool::ld       %{F90} %{FFLAGS} -L%{XIOS_DIR}/lib -L${NETCDF_LIBDIR} 
    39 bld::tool::ldflags  -lxios -lnetcdf -lstdc++ 
    40 bld::tool::ar       ar 
     27bld::tool::cc        %CCOMPILER 
     28bld::tool::fc        %FCOMPILER 
     29bld::tool::fpp       %FPP 
     30bld::tool::cpp       %CPP 
     31bld::tool::cppflags  %CBASE_INC -I%{XIOS_DIR}/inc  
     32bld::tool::fppflags  %BASE_INC  -I%{XIOS_DIR}/inc  
     33bld::tool::ld        %LINKER 
     34bld::tool::ldflags   %LD_FLAGS 
     35bld::tool::cflags    %CFLAGS %CBASE_INC -I%{XIOS_DIR}/inc 
     36bld::tool::fflags    %FFLAGS %FBASE_INC -I%{XIOS_DIR}/inc 
     37bld::tool::cppkeys   %CPP_KEY 
     38bld::tool::fppkeys   %CPP_KEY 
     39bld::tool::make      %MAKE 
    4140 
    4241# -- Ignore the following dependencies 
Note: See TracChangeset for help on using the changeset viewer.