Changes between Version 15 and Version 16 of DevelopmentActivities/Xios


Ignore:
Timestamp:
2014-02-04T12:00:29+01:00 (10 years ago)
Author:
jgipsl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopmentActivities/Xios

    v15 v16  
    1616> cd modipsl/util 
    1717 
    18 Add extraction of XIOS by adding following line in mod.def : use XIOS revision 446, latest revision 452 of XIOS do not work with ORCHIDEE, at curie : 
    19 #-C- ORCHIDEE_trunk  XIOS/trunk                               446     12 XIOS               modeles 
     18Add extraction of XIOS by adding following line in mod.def : (XIOS revision 446, 455 and 471 have been tested successfully with ORCHIDEE, revision 452 and 472 do not work) : 
     19#-C- ORCHIDEE_trunk  XIOS/trunk                               471     12 XIOS               modeles 
    2020 
    2121> ./model ORCHIDEE_trunk 
     
    2323 
    2424 
    25  * Adapt compiling with netcdf parallel 
     25 
     26 * Adapt compiling with netcdf parallel. Since revision [1875] there is no need to modify makefiles or arch files. Only loading parallel netcf and hdf5 is needed. Before compiling do following: 
    2627{{{ 
    27 # Change netcdf in modipsl/util/AA_make.gdef to following : 
    28  
    29 #-Q- curie  NCDF_INC = /usr/local/netcdf-4.2_hdf5_parallel/include 
    30 #-Q- curie  NCDF_LIB = -L/usr/local/netcdf-4.2_hdf5_parallel/lib -lnetcdff -lnetcdf -lstdc++ 
    31  
    32 cd ../modeles/ORCHIDEE/arch 
    33 # Change netcdf in arch-X64_CURIE.path to following :  
    34 NETCDF_LIBDIR="/usr/local/netcdf-4.2_hdf5_parallel/lib -lnetcdff -lnetcdf -lstdc++" 
    35 NETCDF_INCDIR=/usr/local/netcdf-4.2_hdf5_parallel/include 
    36  
    37 # Regenerate makefiles 
    38 cd ../../../util 
    39 ./ins_make 
     28module unload netcdf hdf5 
     29module load hdf5/1.8.9_parallel 
     30module load netcdf/4.2_hdf5_parallel 
    4031}}} 
    4132 
     
    8980 
    9081 
    91 '''Note : Sometimes following error message appears when linking ''' 
    92  
    93 {{{ 
    94 ar: creating /ccc/work/cont003/dsm/p86ghatt/XIOS/Validation/modipsl/modeles/ORCHIDEE/tmp_src/lib__fcm__dim2_driver.a 
    95 mpif90 -o dim2_driver.exe /ccc/work/cont003/dsm/p86ghatt/XIOS/Validation/modipsl/modeles/ORCHIDEE/.config/obj/driver.o -L/ccc/work/cont003/dsm/p86ghatt/XIOS/Validation/modipsl/modeles/ORCHIDEE/lib -l__fcm__dim2_driver -i4 -r8 -auto -L/usr/local/Intel_compilers/c/composer_xe_2011_sp1.9.293/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lm -O3 -fp-model precise -L/usr/local/netcdf-4.2_hdf5_parallel/lib -lnetcdff -lnetcdf -lstdc++ -L/ccc/work/cont003/dsm/p86ghatt/XIOS/Validation/modipsl/modeles/ORCHIDEE/../../lib -L/ccc/work/cont003/dsm/p86ghatt/XIOS/Validation/modipsl/modeles/ORCHIDEE/../XIOS/lib -lxios -lioipsl -lnetcdf 
    96 /usr/local/netcdf-4.2_hdf5_parallel/lib/libnetcdf.so: undefined reference to `H5Pset_dxpl_mpio' 
    97 /usr/local/netcdf-4.2_hdf5_parallel/lib/libnetcdf.so: undefined reference to `H5Pset_fapl_mpio' 
    98 /usr/local/netcdf-4.2_hdf5_parallel/lib/libnetcdf.so: undefined reference to `H5Pset_fapl_mpiposix' 
    99 fcm_internal load failed (256) 
    100 gmake[1]: *** [dim2_driver.exe] Error 1 
    101 }}} 
    102  
    103 Solution, load modules as in XIOS :  
    104 {{{ 
    105 module unload netcdf 
    106 module unload hdf5 
    107 module load netcdf/4.2_hdf5_parallel 
    108 module load hdf5/1.8.9_parallel 
    109 }}} 
    110  
    111  
    112  
    11382= Implementation = 
    11483In the definition phase using IOIPSL, in the call to histdef, an operator is declared on the field. Using XIOS, some of these operators will be set in the xml file (which contains the definition phase) and some will be applied to the variables in the call to xios_orchidee_send_field.[[BR]]