Changeset 223 for palm/trunk/SCRIPTS
- Timestamp:
- Jan 13, 2009 4:31:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun
r221 r223 166 166 # 08/01/09 - Siggi - mpi module on sgi machines to be used can be set 167 167 # with environment variable mpilib 168 # 13/01/09 - Siggi - totalview on hice/bice can be used in debug mode 169 # using environment variable totalview 168 170 169 171 … … 2830 2832 locat=debug 2831 2833 exit 2834 else 2835 echo "no_coupling" > runfile_atmos 2832 2836 fi 2833 2837 (( ii = $numprocs / $threads_per_task )) … … 2839 2843 fi 2840 2844 printf "\n\n" 2841 echo "no_coupling" > runfile_atmos 2842 if [[ $( echo $mpilib | cut -c1-3 ) = mpt ]] 2843 then 2844 # export MPI_LAUNCH_TIMEOUT=360 2845 mpiexec_mpt -np $ii ./a.out $ROPTS 2846 elif [[ $( echo $mpilib | cut -c1-3 ) = mva ]] 2847 then 2848 # ulimit -s 300000 # A too large stack size causes problems 2849 # export MV2_NUM_PORTS=2 2850 # export MV2_CPU_MAPPING=0:1:2:3 2851 mpiexec ./a.out $ROPTS 2852 fi 2845 if [[ $( echo $mpilib | cut -c1-3 ) = mpt ]] 2846 then 2847 # export MPI_LAUNCH_TIMEOUT=360 2848 if [[ "$totalview" = true ]] 2849 then 2850 printf "\n running totalview debugger" 2851 mpiexec_mpt -tv -n $ii ./a.out $ROPTS < runfile_atmos 2852 else 2853 mpiexec_mpt -np $ii ./a.out $ROPTS < runfile_atmos 2854 fi 2855 elif [[ $( echo $mpilib | cut -c1-3 ) = mva ]] 2856 then 2857 # ulimit -s 300000 # A too large stack size causes problems 2858 # export MV2_NUM_PORTS=2 2859 # export MV2_CPU_MAPPING=0:1:2:3 2860 mpiexec ./a.out $ROPTS < runfile_atmos 2861 fi 2853 2862 else 2854 2863 printf "\n +++ no debug available on \"$localhost\" " … … 3009 3018 if [[ $run_coupled_model = false ]] 3010 3019 then 3020 echo "no_coupling" > runfile_atmos 3011 3021 printf "\n\n" 3012 3022 if [[ $host = lcsgih || $host = lcsgib ]] … … 3015 3025 then 3016 3026 # export MPI_LAUNCH_TIMEOUT=360 3017 mpiexec_mpt -np $ii ./a.out $ROPTS 3027 mpiexec_mpt -np $ii ./a.out $ROPTS < runfile_atmos 3018 3028 elif [[ $( echo $mpilib | cut -c1-3 ) = mva ]] 3019 3029 then … … 3021 3031 # export MV2_NUM_PORTS=2 3022 3032 # export MV2_CPU_MAPPING=0:1:2:3 3023 mpiexec ./a.out $ROPTS 3033 mpiexec ./a.out $ROPTS < runfile_atmos 3024 3034 fi 3025 3035 elif [[ $host = lcxt4 ]] 3026 3036 then 3027 aprun -n $ii -N $tasks_per_node a.out $ROPTS 3037 aprun -n $ii -N $tasks_per_node a.out $ROPTS < runfile_atmos 3028 3038 else 3029 echo "no_coupling" > runfile_atmos 3030 mpiexec -machinefile hostfile -n $ii a.out < runfile_atmos $ROPTS 3039 mpiexec -machinefile hostfile -n $ii a.out < runfile_atmos $ROPTS 3031 3040 fi 3032 3041 else
Note: See TracChangeset
for help on using the changeset viewer.