Changeset 4697
- Timestamp:
- 09/12/19 15:33:49 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/LMDZORINCA_v6.2/compile_lmdzorinca.sh
r4625 r4697 20 20 resol_atm_3d=96x95x39 21 21 optchimie=NMHC_AER_S 22 #recompilation de inca seul ou de tous les modeles 23 clean_inca="" 24 full_flag="" 22 25 23 26 # fcm_arch … … 26 29 parallel=mpi_omp 27 30 export fcm_arch parallel xios 28 full_flag="" 31 29 32 # Default netcdf_lib is used for XIOS but can be change by argument 30 33 netcdf_lib="" 31 34 32 35 # Output text file for compilation of each component 33 outfile=$submitdir/out_compile_lmdzor 36 outfile=$submitdir/out_compile_lmdzorinca 34 37 rm -f $outfile; echo > $outfile 35 echo; echo "Text output from compilation will be stored in file out_compile_lmdzor "; echo38 echo; echo "Text output from compilation will be stored in file out_compile_lmdzorinca"; echo 36 39 37 40 #### Read arguments … … 51 54 52 55 Example 1: Default compilation of LMDZ-ORCHIDEE with XIOS and IOIPSL 53 ./compile_lmdzor .sh56 ./compile_lmdzorinca.sh 54 57 55 58 Example 2: Compile in debug mode 56 ./compile_lmdzor .sh -debug59 ./compile_lmdzorinca.sh -debug 57 60 58 61 Example 3: Default compilation with full recompilation of all components 59 ./compile_lmdzor .sh -full62 ./compile_lmdzorinca.sh -full 60 63 61 64 Example 4: Compilation of LMDZ in regular lat-lon for other dimensions (default: 144x142x79) 62 65 The dimension can be changed to any other 3d dimension. 63 ./compile_lmdzor .sh -regular_latlon 96x95x7966 ./compile_lmdzorinca.sh -regular_latlon 96x95x79 64 67 65 68 fin … … 93 96 "-full") 94 97 full_flag="-full"; shift ;; 98 99 "-clean_inca") 100 clean_inca="-clean"; shift ;; 95 101 96 102 "-netcdf_lib_seq") … … 198 204 199 205 200 ## 2.4 Compile LMDZ for regular latlon configuration206 ## 2.4 Compile LMDZ and INCA for regular latlon configuration 201 207 if [ $regular_latlon = yes ] ; then 202 208 … … 204 210 #compile INCA regulat lat_lon chimie librairy 205 211 echo; echo "NOW COMPILE INCA ${optchimie} on resolution = ${resol_atm_3d}" 206 echo ./makeinca_fcm -chimie ${optchimie} -$optmode -xios -parallel mpi_omp -resol ${resol_atm_3d} -j 8 -arch ${fcm_arch} >> $outfile207 ./makeinca_fcm -chimie ${optchimie} -$optmode -xios -parallel mpi_omp -resol ${resol_atm_3d} -j 8 -arch ${fcm_arch} -arch_path $arch_path >> $outfile 2>&1212 echo ./makeinca_fcm -chimie ${optchimie} -$optmode -xios -parallel mpi_omp -resol ${resol_atm_3d} -j 8 -arch ${fcm_arch} -arch_path $arch_path $full_flag $clean_inca >> $outfile 213 ./makeinca_fcm -chimie ${optchimie} -$optmode -xios -parallel mpi_omp -resol ${resol_atm_3d} -j 8 -arch ${fcm_arch} -arch_path $arch_path $full_flag $clean_inca >> $outfile 2>&1 208 214 209 215 # Test if compiling finished
Note: See TracChangeset
for help on using the changeset viewer.