Changeset 221 for palm/trunk/SCRIPTS/mrun
- Timestamp:
- Jan 12, 2009 3:32:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun
r220 r221 164 164 # default source-code filenames are allowed 165 165 # 14/11/08 - Siggi - cond1 and cond2 are part of the depository name 166 # 08/01/09 - Siggi - mpi module on sgi machines to be used can be set 167 # with environment variable mpilib 166 168 167 169 … … 2015 2017 fi 2016 2018 2019 2020 # SET DEFAULT VALUE FOR MPI MODULE TO BE USED ON SGI-ALTIX 2021 if [[ $host = lcsgib || $host = lcsgih ]] 2022 then 2023 [[ "$mpilib" = "" ]] && export mpilib=mpt 2024 fi 2025 2026 2027 2017 2028 ########################################################################### 2018 2029 # HEADER-AUSGABE … … 2369 2380 elif [[ $localhost = lcsgib ]] 2370 2381 then 2371 printf " compiler is called via ssh on \"bicegate\" \n"2372 ssh 130.73.232.102 -l $usern ". /usr/share/modules/init/bash; module load mpt; cd $TEMPDIR; make -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" "2382 printf " compiler is called via ssh on \"bicegate\" using module \"$mpilib\" \n" 2383 ssh 130.73.232.102 -l $usern ". /usr/share/modules/init/bash; module load $mpilib; cd $TEMPDIR; make -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" " 2373 2384 [[ ! -f a.out ]] && compile_error=true 2374 2385 continue # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN 2375 2386 elif [[ $localhost = lcsgih ]] 2376 2387 then 2377 printf " compiler is called via ssh on \"hicegate2\" \n" 2378 ssh 130.75.4.103 -l $usern ". /usr/share/modules/init/bash; module load mpt; cd $TEMPDIR; make -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" 2>&1 " 2379 # ssh 130.75.4.102 -l $usern ". /usr/share/modules/init/bash; module load mvapich2; cd $TEMPDIR; make -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" 2>&1 " 2380 # print ". /usr/share/modules/init/bash; module load mpt; cd $TEMPDIR; make -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" " | ssh ${usern}@130.75.4.102 2>&1 2388 printf " compiler is called via ssh on \"hicegate2\" using module \"$mpilib\" \n" 2389 ssh 130.75.4.103 -l $usern ". /usr/share/modules/init/bash; module load $mpilib; cd $TEMPDIR; make -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" 2>&1 " 2381 2390 [[ ! -f a.out ]] && compile_error=true 2382 2391 continue # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN … … 2830 2839 fi 2831 2840 printf "\n\n" 2832 # ulimit -s 300000 # A too large stack size causes problems2833 # export MV2_NUM_PORTS=22834 # export MV2_CPU_MAPPING=0:1:2:32835 # mpiexec ./a.out $ROPTS2836 # export MPI_LAUNCH_TIMEOUT=3602837 2841 echo "no_coupling" > runfile_atmos 2838 mpiexec_mpt -np $ii ./a.out $ROPTS 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 2839 2853 else 2840 2854 printf "\n +++ no debug available on \"$localhost\" " … … 2998 3012 if [[ $host = lcsgih || $host = lcsgib ]] 2999 3013 then 3000 # ulimit -s 300000 # A too large stack size causes problems 3001 # export MV2_NUM_PORTS=2 3002 # export MV2_CPU_MAPPING=0:1:2:3 3003 # mpiexec ./a.out $ROPTS 3004 # export MPI_LAUNCH_TIMEOUT=360 3005 mpiexec_mpt -np $ii ./a.out $ROPTS 3014 if [[ $( echo $mpilib | cut -c1-3 ) = mpt ]] 3015 then 3016 # export MPI_LAUNCH_TIMEOUT=360 3017 mpiexec_mpt -np $ii ./a.out $ROPTS 3018 elif [[ $( echo $mpilib | cut -c1-3 ) = mva ]] 3019 then 3020 # ulimit -s 300000 # A too large stack size causes problems 3021 # export MV2_NUM_PORTS=2 3022 # export MV2_CPU_MAPPING=0:1:2:3 3023 mpiexec ./a.out $ROPTS 3024 fi 3006 3025 elif [[ $host = lcxt4 ]] 3007 3026 then … … 3027 3046 then 3028 3047 3029 mpiexec_mpt -np $iia ./palm $ROPTS < runfile_atmos & 3030 mpiexec_mpt -np $iio ./palm $ROPTS < runfile_ocean & 3048 if [[ $( echo $mpilib | cut -c1-3 ) = mpt ]] 3049 then 3050 # export MPI_LAUNCH_TIMEOUT=360 3051 mpiexec_mpt -np $iia ./a.out $ROPTS < runfile_atmos & 3052 mpiexec_mpt -np $iio ./a.out $ROPTS < runfile_ocean & 3053 elif [[ $( echo $mpilib | cut -c1-3 ) = mva ]] 3054 then 3055 # ulimit -s 300000 # A too large stack size causes problems 3056 # export MV2_NUM_PORTS=2 3057 # export MV2_CPU_MAPPING=0:1:2:3 3058 mpiexec -n $iia ./a.out $ROPTS < runfile_atmos & 3059 mpiexec -n $iio ./a.out $ROPTS < runfile_ocean & 3060 fi 3031 3061 3032 3062 elif [[ $host = lcxt4 ]] … … 3051 3081 then 3052 3082 3053 mpiexec_mpt -np $ii a.out $ROPTS < runfile_atmos 3083 if [[ $( echo $mpilib | cut -c1-3 ) = mpt ]] 3084 then 3085 # export MPI_LAUNCH_TIMEOUT=360 3086 mpiexec_mpt -np $ii ./a.out $ROPTS < runfile_atmos 3087 elif [[ $( echo $mpilib | cut -c1-3 ) = mva ]] 3088 then 3089 # ulimit -s 300000 # A too large stack size causes problems 3090 # export MV2_NUM_PORTS=2 3091 # export MV2_CPU_MAPPING=0:1:2:3 3092 mpiexec ./a.out $ROPTS < runfile_atmos 3093 fi 3054 3094 3055 3095 elif [[ $host = lcxt4 ]]
Note: See TracChangeset
for help on using the changeset viewer.