Changeset 1630
- Timestamp:
- Nov 27, 2016, 11:05:37 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/SIMU/meso_install.sh
r1613 r1630 112 112 echo "*** compile GCM: check progress in "$log 113 113 rm -rf $log ; touch $log 114 cd $refrepo/code/LMDZ.COMMON 115 ./makelmdz_fcm -cpp MESOINI -j 8 -s 2 -d $dimgcm -arch $machine$fortcom -parallel mpi -p mars gcm > $log 2> $log 116 ./makelmdz_fcm -j 8 -s 2 -d $dimgcm -arch $machine$fortcom -p mars newstart >> $log 2>> $log 117 cd $refrepo/gcm 118 \rm gcm.e 119 ln -sf $refrepo/code/LMDZ.COMMON/bin/gcm_$dimgcm"_phymars_para.e" gcm.e 120 cd $refrepo/gcm/newstart 121 \rm newstart.e 122 ln -sf $refrepo/code/LMDZ.COMMON/bin/newstart_$dimgcm"_phymars_seq.e" newstart.e 114 # make a re-usable command 115 echo "#! /bin/bash" > $refrepo/compile_gcm.sh 116 echo "cd $refrepo/code/LMDZ.COMMON" >> $refrepo/compile_gcm.sh 117 echo "./makelmdz_fcm -cpp MESOINI -j 8 -s 2 -d $dimgcm -arch $machine$fortcom -parallel mpi -p mars gcm" >> $refrepo/compile_gcm.sh 118 echo "./makelmdz_fcm -j 8 -s 2 -d $dimgcm -arch $machine$fortcom -p mars newstart" >> $refrepo/compile_gcm.sh 119 echo "cd $refrepo/gcm ; \rm gcm.e ; ln -sf $refrepo/code/LMDZ.COMMON/bin/gcm_${dimgcm}_phymars_para.e gcm.e" >> $refrepo/compile_gcm.sh 120 echo "cd $refrepo/gcm/newstart ; \rm newstart.e ; ln -sf $refrepo/code/LMDZ.COMMON/bin/newstart_${dimgcm}_phymars_seq.e newstart.e" >> $refrepo/compile_gcm.sh 121 chmod 755 $refrepo/compile_gcm.sh 122 exit 123 # now execute command 124 $refrepo/compile_gcm.sh > $log 2> $log 123 125 124 126 ## ------------------------
Note: See TracChangeset
for help on using the changeset viewer.