Changeset 3931 for dynamico_lmdz/aquaplanet
- Timestamp:
- May 10, 2016, 12:27:14 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dynamico_lmdz/aquaplanet/ICOSA_LMDZ/make_icosa_lmdz
r3913 r3931 4 4 export ROOT=$PWD 5 5 6 echo ./make_icosa $* > rebuild7 chmod a+x rebuild 6 echo $0 $* > rebuild_all 7 chmod a+x rebuild_all 8 8 9 9 compil_mode_defined="FALSE" … … 19 19 parallel="none" 20 20 physics="none" 21 build_deps="TRUE" 21 22 CPP_KEY="CPP_NONE" 22 23 ICOSA_LIB="" … … 30 31 [-h] : help 31 32 [-prod / -dev / -debug] : compilation en mode production (default) / developpement / debug . 33 [-nodeps] : do not build dependencies (XIOS, IOIPSL, LMDZ5, ICOSAGCM) 32 34 -arch nom_arch : nom de l\'architecture cible 33 35 fin … … 57 59 "-full") 58 60 full_defined="TRUE" ; shift ;; 61 62 "-nodeps") 63 build_deps="FALSE" ; shift ;; 59 64 60 65 "-with_xios") … … 142 147 ICOSA_LIB="$ICOSA_LIB $IOIPSL_LIBDIR $IOIPSL_LIB $NETCDF_LIBDIR $NETCDF_LIB $HDF5_LIBDIR $HDF5_LIB" 143 148 144 145 149 rm bin/* 146 147 cd ../IOIPSL148 ./makeioipsl_fcm -$compil_mode -parallel -arch $arch -j $job $full_flag149 cd -150 151 cd ../XIOS152 ./make_xios --$compil_mode --arch $arch --job $job153 cd -154 150 155 151 if [[ "$full_defined" == "TRUE" ]] 156 152 then 157 153 full_flag="-full" 154 full_flag2="--full" 158 155 else 159 156 full_flag="" 157 full_flag2="" 160 158 fi 161 162 if [[ "$with_orchidee_defined" == "TRUE" ]]163 then164 cd ../ORCHIDEE165 ./makeorchidee_fcm -$compil_mode -parallel $parallel -xios2 -arch $arch -j $job $full_flag166 cd -167 fi168 169 cd ../LMDZ5170 lmdz_veget="false"171 if [[ "$with_orchidee_defined" == "TRUE" ]]172 then173 lmdz_veget="orchidee2.0"174 fi175 ./makelmdz_fcm toto -$compil_mode -mem -parallel $parallel -nodyn -io xios -v $lmdz_veget -arch $arch -j $job $full_flag176 cd -177 178 cd ../ICOSAGCM179 ./make_icosa -$compil_mode -parallel $parallel -external_ioipsl -with_xios -arch $arch -job $job $full_flag180 cd -181 159 182 160 rm -f config.fcm … … 187 165 echo "%LIB $ICOSA_LIB">> config.fcm 188 166 189 if [[ "$ full_defined" == "TRUE" ]]167 if [[ "$build_deps" == "TRUE" ]] 190 168 then 191 ./build --job $job --full 192 else 193 ./build --job $job 169 170 cd ../IOIPSL 171 ./makeioipsl_fcm -$compil_mode -parallel -arch $arch -j $job $full_flag || exit 1 172 cd - 173 174 cd ../XIOS 175 ./make_xios --$compil_mode --arch $arch --job $job $full_flag2 || exit 1 176 cd - 177 178 if [[ "$with_orchidee_defined" == "TRUE" ]] 179 then 180 cd ../ORCHIDEE 181 ./makeorchidee_fcm -$compil_mode -parallel $parallel -xios2 -arch $arch -j $job $full_flag || exit 1 182 cd - 183 fi 184 185 cd ../LMDZ5 186 lmdz_veget="false" 187 if [[ "$with_orchidee_defined" == "TRUE" ]] 188 then 189 lmdz_veget="orchidee2.0" 190 fi 191 ./makelmdz_fcm gcm -$compil_mode -mem -parallel $parallel -nodyn -io xios -v $lmdz_veget -arch $arch -j $job $full_flag || exit 1 192 cd - 193 194 cd ../ICOSAGCM 195 ./make_icosa -$compil_mode -parallel $parallel -external_ioipsl -with_xios -arch $arch -job $job $full_flag || exit 1 196 cd - 194 197 fi 198 199 ./build --job $job $full_flag2
Note: See TracChangeset
for help on using the changeset viewer.