Changeset 343 for palm/trunk/SCRIPTS/mrun
- Timestamp:
- Jun 24, 2009 12:59:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun
r331 r343 181 181 # 16/04/09 - Siggi - new option -y for precursor (uncoupled) ocean runs 182 182 # to be followed by a coupled atmosphere-ocean run 183 # 21/04/09 - Siggi - adjustments for new IBM at DKRZ, which is now ibmh 183 # 21/04/09 - Siggi - adjustments for new IBM at DKRZ, which is now ibmh 184 # 24/06/09 - BjornM - adjustments for coupled/precursor runs on ibmy 184 185 185 186 … … 2956 2957 if [[ -n $numprocs ]] 2957 2958 then 2958 2959 2959 # RUNNING THE PROGRAM ON PARALLEL MACHINES 2960 2960 if [[ $(echo $host | cut -c1-3) = ibm ]] … … 2976 2976 [[ $node_usage = not_shared ]] && export MP_SINGLE_THREAD=yes 2977 2977 fi 2978 2979 2978 if [[ "$LOADLBATCH" = yes ]] 2980 2979 then … … 2984 2983 /opt/optibm/HPM_2_4_1/bin/hpmcount a.out $ROPTS 2985 2984 else 2986 poe ./a.out $ROPTS 2985 if [[ $run_coupled_model = false ]] 2986 then 2987 if [[ "$ocean_file_appendix" = true ]] 2988 then 2989 echo "precursor_ocean" > runfile_atmos 2990 else 2991 echo "precursor_atmos" > runfile_atmos 2992 fi 2993 else 2994 (( iia = $numprocs_atmos / $threads_per_task )) 2995 (( iio = $numprocs_ocean / $threads_per_task )) 2996 printf "\n coupled run ($iia atmosphere, $iio ocean)" 2997 printf "\n using $coupled_mode coupling" 2998 printf "\n\n" 2999 echo "coupled_run $iia $iio" > runfile_atmos 3000 fi 3001 poe ./a.out $ROPTS < runfile_atmos 2987 3002 fi 2988 3003 else … … 3004 3019 fi 3005 3020 export MP_HOSTFILE=hostfile 3006 3007 3021 if [[ $run_coupled_model = false ]] 3008 3022 then … … 3021 3035 echo "coupled_run $iia $iio" > runfile_atmos 3022 3036 fi 3023 3024 3037 ./a.out -procs $tasks_per_node $ROPTS < runfile_atmos 3025 3038
Note: See TracChangeset
for help on using the changeset viewer.