Ignore:
Timestamp:
Jul 2, 2015, 6:09:47 PM (9 years ago)
Author:
ymipsl
Message:

Update dynamico building environment for dynamico-LMDZ

YM

Location:
dynamico_lmdz/aquaplanet/ICOSAGCM
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • dynamico_lmdz/aquaplanet/ICOSAGCM/bld.cfg

    r3833 r3843  
    1313%FFLAGS           %BASE_FFLAGS %COMPIL_FFLAGS
    1414
    15 #dest   $PWD
    1615dir::root            $PWD
    1716
    1817src::src        src
    19 src::ioipsl     tools/ioipsl
     18src::ioipsl     %IOIPSL_PATH
    2019search_src           false
    21 bld::lib::ioipsl ioipsl
    22 bld::target libioipsl.a
    23 bld::lib::src icosa
     20#bld::lib::ioipsl ioipsl
     21#bld::target libioipsl.a
     22bld::lib    icosa
    2423bld::target libicosa.a
    2524bld::target icosa_gcm.exe
     
    4039bld::excl_dep        inc::mpif.h
    4140bld::excl_dep        use::xios
     41bld::excl_dep        %USE_IOIPSL
    4242
    4343bld::tool::SHELL   /bin/bash
  • dynamico_lmdz/aquaplanet/ICOSAGCM/clean

    r3810 r3843  
    1 rm -rf ./obj/*
    2 rm -rf ./done/*
    3 rm -rf ./inc/*
    4 rm -rf ./flags/*
    5 rm -rf ./ppsrc/*
     1rm -rf ./obj
     2rm -rf ./done
     3rm -rf ./inc
     4rm -rf ./flags
     5rm -rf ./ppsrc
     6rm -rf ./bld
     7rm -rf ./lib
     8rm -rf ./etc
     9rm -rf ./tmp
     10rm -rf ./bin
    611
     12
  • dynamico_lmdz/aquaplanet/ICOSAGCM/compile

    r3810 r3843  
    1 ./make_icosa -prod -arch x86_skd
    2 #./make_icosa -prod -arch x86_skdmpi -parallel mpi
     1./make_icosa -debug -parallel mpi_omp -arch X64_CURIE
  • dynamico_lmdz/aquaplanet/ICOSAGCM/make_icosa

    r3810 r3843  
    1717parallel="none"
    1818physics="none"
     19external_ioipsl="FALSE"
     20external_physics="FALSE"
     21
    1922CPP_KEY="CPP_NONE"
    2023ICOSA_LIB=""
     
    6164      "-with_xios")
    6265          with_xios_defined="TRUE" ; shift ;;
     66
     67      "-external_ioipsl")
     68          external_ioipsl="TRUE" ; shift ;;
     69
     70      "-external_physics")
     71          external_physics="TRUE" ; shift ;;
    6372
    6473      *)
     
    140149fi 
    141150
     151if [[ "$external_ioipsl" == "TRUE" ]]
     152then
     153  ioipsl_path="./void_dir"
     154  use_ioipsl="use::ioipsl"
     155  COMPIL_FFLAGS="$COMPIL_FFLAGS $IOIPSL_INCDIR"
     156  ICOSA_LIB="$ICOSA_LIB $IOIPSL_LIBDIR $IOIPSL_LIB"
     157else
     158  ioipsl_path="tools/ioipsl"
     159  use_ioipsl=""
     160fi 
     161
     162if [[ "$external_physics" == "TRUE" ]]
     163then
     164  CPP_KEY="$CPP_KEY CPP_USING_EXTERNAL_PHYSICS"
     165fi
     166
    142167ICOSA_LIB="$ICOSA_LIB $NETCDF_LIBDIR $NETCDF_LIB $HDF5_LIBDIR $HDF5_LIB"
    143168
     
    149174echo "%CPP_KEY $CPP_KEY" >> config.fcm
    150175echo "%LIB $ICOSA_LIB">> config.fcm
     176echo "%IOIPSL_PATH $ioipls_path">> config.fcm
     177echo "%USE_IOIPSL $use_ioipsl">> config.fcm
    151178
    152179if [[ "$full_defined" == "TRUE" ]]
Note: See TracChangeset for help on using the changeset viewer.