Changes between Version 3 and Version 4 of Documentation/UserGuide/InstallLibrary
- Timestamp:
- 2015-03-18T14:16:56+01:00 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/UserGuide/InstallLibrary
v3 v4 5 5 {{{ 6 6 module list 7 }} 7 }}} 8 8 9 Unload the module you no longer want to use, i.e., netcdf/4.2_hdf5_parallel. Note that there could be dependencies between modules. If so unload whatever needs to be unloaded.9 Unload the module you no longer want to use, i.e., netcdf/4.2_hdf5_parallel. Note that there could be dependencies between modules. If so, unload whatever needs to be unloaded. 10 10 {{{ 11 11 unload module netcdf/4.2_hdf5_parallel (NetCDF) 12 }}} 13 14 and load the new module 15 {{{ 16 load module netcdf/4.3.3.1_hdf5_parallel 12 17 }}} 13 18 … … 17 22 }}} 18 23 19 load module netcdf/4.3.3.1_hdf5_parallel 24 Check for the library paths in the module 25 {{{ 20 26 module show netcdf/4.3.3.1_hdf5_parallel 27 }}} 21 28 29 for this example you will get the follow output 30 {{{ 31 ... 22 32 setenv NETCDF_ROOT /usr/local/netcdf-4.3.3.1_hdf5_parallel 23 33 setenv NETCDF_EXEDIR /usr/local/netcdf-4.3.3.1_hdf5_parallel/bin 24 34 setenv NETCDF_INCDIR /usr/local/netcdf-4.3.3.1_hdf5_parallel/include 25 35 setenv NETCDF_LIBDIR /usr/local/netcdf-4.3.3.1_hdf5_parallel/lib 36 ... 37 }}} 26 38 39 Make sure that these paths are used in 40 {{{ 27 41 ../../modeles/IOIPSL/src/Makefile 28 42 ../../modeles/ORCHIDEE/arch.path 29 43 ../../modeles/XIOS/arch/arch-X64_CURIE.path 44 }}} 45 46 When you change from library 4.2 to 4.3.3.1 you will have to change NETCDF_INC_DIR to NETCDF_INCDIR and NETCDF_LIB_DIR to NETCDF_LIBDIR. After doing so do a make clean and compile (it worked for me with fcm). If you want that these changes are permanent, remember to also change the paths in the AA_make file, that way the new path will be used when doing an ins_make. 47 48 Now the model is compiled with the new libraries but the libIGCM is not aware of that, so you will have to make some changes to libIGCM as well. 49 {{{ 50 emacs ../../../libIGCM/libIGCM_sys/libIGCM_sys_curie.ksh & 51 }}} 52 53 54 55 56 30 57 31 58 NETCDF_INC_DIR is deprecated and has been replaced by NETCDF_INCDIR