- Timestamp:
- 03/21/23 18:50:57 (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GRISLIv3/lauching_area/go_GRISLI_PMIP.sh
r367 r382 11 11 #geoplace="laure16" 12 12 13 tmodelend="0." #"0."13 tmodelend="0." 14 14 tmodelbegin="-26000." 15 #tmodelbegin="-50000."16 15 tmodellength="26000." 17 #tmodellength="50000."18 16 runatmvar="0.25" 19 17 runpdd="2" 20 18 21 19 parallel="no" # "yes or no?" 20 proc_number="4" # number of processor used 21 ppn_number=$proc_number # number of cpus (ppn) 22 exename="Ant-40" 23 24 queue="long" # specify queue used : short, medium, long, xlong... 25 26 # Files used 27 grisli_run_file="Master-files/grisli.run.lsce" # grisli.run 28 param_file="degla_PMIP_${geoplace}_param_list.dat" # param file 29 TEMPS_NETCDF_file="Master-files/TEMPS-NETCDF-degla.dat" # TEMPS-NETCDF.dat 30 #module_choix_file="Master-files/module_choix-antar40-0.4-cycles.f90" # module choix 31 22 32 23 33 case ${geoplace} in … … 30 40 31 41 #Revision number : 32 rev=`svn info | grep " Révision : " | awk '{print $2}'`42 rev=`svn info | grep "vision : " | awk '{print $2}'` 33 43 echo "Code revision svn "$rev 34 44 … … 109 119 echo $MODEL 110 120 111 cp "Master-files/TEMPS-NETCDF-degla.dat"$MODEL"/Fichiers-parametres/TEMPS-NETCDF.dat"112 cp "degla_PMIP_${geoplace}_param_list.dat"$RUNDIR"/bin/${geoplace}_param_list.dat"121 cp $TEMPS_NETCDF_file $MODEL"/Fichiers-parametres/TEMPS-NETCDF.dat" 122 cp $param_file $RUNDIR"/bin/${geoplace}_param_list.dat" 113 123 114 if [ $parallel = "yes" ]; then 115 cp "Master-files/grisli.run.openmp" $RUNDIR"/bin/grisli.run" 116 else 117 cp "Master-files/grisli.run" $RUNDIR"/bin/grisli.run" 118 fi 124 cp $grisli_run_file $RUNDIR"/bin/grisli.run" 119 125 120 126 cd $RUNDIR"/INPUT" … … 139 145 sed -i "s/RUNNAME/$namerun/" $RUNDIR"/bin/grisli.run" 140 146 sed -i "s/EXE_NAME/$exename/g" $RUNDIR"/bin/grisli.run" 147 148 if [ $parallel = "yes" ]; then 149 sed -i "s/QUEUE/${queue}p/" $RUNDIR"/bin/grisli.run" 150 sed -i "s/PROC_NUMBER/$proc_number/" $RUNDIR"/bin/grisli.run" 151 sed -i "s/PPN_NUMBER/$ppn_number/" $RUNDIR"/bin/grisli.run" 152 else 153 sed -i "s/QUEUE/$queue/" $RUNDIR"/bin/grisli.run" 154 sed -i "s/PROC_NUMBER/1/" $RUNDIR"/bin/grisli.run" 155 sed -i "s/PPN_NUMBER/1/" $RUNDIR"/bin/grisli.run" 156 sed -i "/export\ MKL_NUM_THREADS/d" $RUNDIR"/bin/grisli.run" 157 sed -i "/export\ OMP_NUM_THREADS/d" $RUNDIR"/bin/grisli.run" 158 sed -i "/export\ KMP_STACKSIZE/d" $RUNDIR"/bin/grisli.run" 159 fi 141 160 142 161 # Makefile:
Note: See TracChangeset
for help on using the changeset viewer.