- Timestamp:
- 03/17/23 18:49:28 (14 months ago)
- Location:
- branches/GRISLIv3/lauching_area
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GRISLIv3/lauching_area/Master-files/grisli.run.openmp_ant40
r229 r374 23 23 EXEDIR="EXEREP" 24 24 25 25 rm Ant-40 26 26 echo "Grisli is being compiled..." 27 27 cd $MODEL -
branches/GRISLIv3/lauching_area/Master-files/grisli.run_ant40
r229 r374 4 4 #PBS -N RUNNAME 5 5 # Specify batch queue 6 #PBS -q medium 6 #PBS -q longp 7 #PBS -v BATCH_NUM_PROC_TOT=4 8 #PBS -l nodes=1:ppn=4 7 9 # Specify execution shell 8 10 ##PBS -S /bin/bash … … 12 14 #PBS -m e -M christophe.dumas@lsce.ipsl.fr 13 15 16 export MKL_NUM_THREADS=4 17 export OMP_NUM_THREADS=4 18 export KMP_STACKSIZE=16000000 #2048000000 # KMP_STACKSIZE remplace OMP_STACKSIZE avec ifort 19 14 20 module load netcdf/4 15 16 21 17 22 MODEL="SOURCESREP" 18 23 EXEDIR="EXEREP" 19 24 20 25 rm Ant-40 21 26 echo "Grisli is being compiled..." 22 27 cd $MODEL -
branches/GRISLIv3/lauching_area/go_ant40_cycle.sh
r373 r374 15 15 16 16 parallel="no" # "yes or no?" 17 proc_number="4" # number of processor used 18 ppn_number=$proc_number # number of cpus (ppn) 19 exename="Ant-40" 20 21 queue="long" # specify queue used : short, medium, long, xlong... 22 23 # Files used 24 grisli_run_file="Master-files/grisli.run.lsce" # grisli.run 25 param_tsai_file="../Param/anteis1_param_list_Cyc-Tsai.dat" # param file Tsai 26 param_schoof_file="../Param/anteis1_param_list_Cyc-Scho.dat" # param file Schoof 27 TEMPS_NETCDF_file="Master-files/anteis1_TEMPS-NETCDF-cycle.dat" # TEMPS-NETCDF.dat 28 module_choix_file="Master-files/module_choix-antar40-0.4-cycles.f90" # module choix 29 17 30 18 31 #Revision number : 19 rev=`svn info | grep " Révision : " | awk '{print $2}'`32 rev=`svn info | grep "vision : " | awk '{print $2}'` 20 33 echo "Code revision svn "$rev 21 34 … … 113 126 echo $MODEL 114 127 115 #cp "../Master-files/Makefile" $MODEL"/Makefile" 116 #cp "../Master-files/anteis1_param_list.dat" $RUNDIR"/bin/anteis1_param_list.dat" 117 cp "Master-files/anteis1_TEMPS-NETCDF-cycle.dat" $MODEL"/Fichiers-parametres/TEMPS-NETCDF.dat" 118 cp "Master-files/module_choix-antar40-0.4-cycles.f90" $MODEL"/Ant40_files/module_choix-antar40-0.4.f90" 128 129 cp $TEMPS_NETCDF_file $MODEL"/Fichiers-parametres/TEMPS-NETCDF.dat" 130 cp $module_choix_file $MODEL"/Ant40_files/module_choix-antar40-0.4.f90" 119 131 if [ $gr_select = "1" ] ; then 120 cp "../Param/anteis1_param_list_Cyc-Tsai.dat"$RUNDIR"/bin/anteis1_param_list.dat"132 cp $param_tsai_file $RUNDIR"/bin/anteis1_param_list.dat" 121 133 elif [ $gr_select = "2" ] ; then 122 cp "../Param/anteis1_param_list_Cyc-Scho.dat" $RUNDIR"/bin/anteis1_param_list.dat" 123 fi 124 125 if [ $parallel = "yes" ]; then 126 cp "Master-files/grisli.run.openmp_ant40" $RUNDIR"/bin/grisli.run" 127 else 128 cp "Master-files/grisli.run_ant40" $RUNDIR"/bin/grisli.run" 129 fi 134 cp $param_schoof_file $RUNDIR"/bin/anteis1_param_list.dat" 135 fi 136 137 cp $grisli_run_file $RUNDIR"/bin/grisli.run" 130 138 131 139 cd $RUNDIR"/INPUT" … … 147 155 sed -i "s|EXEREP|$RUNDIR\/bin|" $RUNDIR"/bin/grisli.run" 148 156 sed -i "s/RUNNAME/$namerun/" $RUNDIR"/bin/grisli.run" 157 sed -i "s/EXE_NAME/$exename/g" $RUNDIR"/bin/grisli.run" 158 159 if [ $parallel = "yes" ]; then 160 sed -i "s/QUEUE/${queue}p/" $RUNDIR"/bin/grisli.run" 161 sed -i "s/PROC_NUMBER/$proc_number/" $RUNDIR"/bin/grisli.run" 162 sed -i "s/PPN_NUMBER/$ppn_number/" $RUNDIR"/bin/grisli.run" 163 else 164 sed -i "s/QUEUE/$queue/" $RUNDIR"/bin/grisli.run" 165 sed -i "s/PROC_NUMBER/1/" $RUNDIR"/bin/grisli.run" 166 sed -i "s/PPN_NUMBER/1/" $RUNDIR"/bin/grisli.run" 167 sed -i "/export\ MKL_NUM_THREADS/d" $RUNDIR"/bin/grisli.run" 168 sed -i "/export\ OMP_NUM_THREADS/d" $RUNDIR"/bin/grisli.run" 169 sed -i "/export\ KMP_STACKSIZE/d" $RUNDIR"/bin/grisli.run" 170 fi 149 171 150 172 # Makefile:
Note: See TracChangeset
for help on using the changeset viewer.