Ignore:
Timestamp:
09/23/13 18:06:31 (11 years ago)
Author:
ymipsl
Message:
  • XIOS integration -

Compiling with "-with_xios" option. Adapt path to find XIOS library (arch.path)
Retro-compatible with the old output. If xios is not present, dynamico will use the standard writefield function.
Need to have the iodef.xml configuration file in the exec directory

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/trunk/make_icosa

    r152 r171  
    88job=1 
    99full_defined="FALSE" 
     10with_xios_defined="FALSE" 
    1011arch_defined="FALSE" 
    1112parallel_defined="FALSE" 
     
    1314parallel="none" 
    1415CPP_KEY="CPP_NONE"  
     16ICOSA_LIB="" 
    1517 
    1618while (($# > 0)) 
     
    4648      "-full") 
    4749          full_defined="TRUE" ; shift ;; 
     50 
     51      "-with_xios") 
     52          with_xios_defined="TRUE" ; shift ;; 
    4853 
    4954      *) 
     
    110115fi 
    111116 
    112 ICOSA_LIB="$NETCDF_LIBDIR $NETCDF_LIB $HDF5_LIBDIR $HDF5_LIB" 
     117if [[ "$with_xios_defined" == "TRUE" ]] 
     118then 
     119  CPP_KEY="$CPP_KEY CPP_USING_XIOS" 
     120  COMPIL_FFLAGS="$COMPIL_FFLAGS $XIOS_INCDIR" 
     121  ICOSA_LIB="$ICOSA_LIB $XIOS_LIBDIR $XIOS_LIB" 
     122fi   
     123 
     124ICOSA_LIB="$ICOSA_LIB $NETCDF_LIBDIR $NETCDF_LIB $HDF5_LIBDIR $HDF5_LIB" 
    113125 
    114126rm -f config.fcm 
Note: See TracChangeset for help on using the changeset viewer.