Changeset 197 for palm/trunk/SCRIPTS
- Timestamp:
- Sep 16, 2008 3:29:03 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun
r196 r197 2249 2249 [[ $? != 0 ]] && compile_error=true 2250 2250 rm -rf $TEMPDIR_COMPILE 2251 elif [[ $localhost = lcsgib ]] 2252 then 2253 printf " compiler is called via ssh on \"bicegate\" \n" 2254 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\" " 2255 [[ ! -f a.out ]] && compile_error=true 2256 continue # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN 2257 elif [[ $localhost = lcsgih ]] 2258 then 2259 printf " compiler is called via ssh on \"hicegate\" \n" 2260 ssh 130.75.4.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\" 2>&1 " 2261 # 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 " 2262 # 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 2263 [[ ! -f a.out ]] && compile_error=true 2264 continue # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN 2251 2265 else 2252 2266 [[ $localhost = lctit ]] && export LM_LICENSE_FILE=27050@tggls … … 2260 2274 2261 2275 # WORKAROUND: REMOVE IF CONSTRUCT LATER, BUT KEEP THE EXIT! 2262 if [[ $localhost != lcsgib && $localhost != lcsgih ]]2263 then2276 # if [[ $localhost != lcsgib && $localhost != lcsgih ]] 2277 # then 2264 2278 exit 2265 else2266 locat=normal2267 fi2279 # else 2280 # locat=normal 2281 # fi 2268 2282 else 2269 2283 printf "$striche\n *** compilation finished \n" … … 2839 2853 if [[ $host = lcsgih || $host = lcsgib ]] 2840 2854 then 2841 ulimit -s 30000 # A too large stack size causes problems2855 # ulimit -s 300000 # A too large stack size causes problems 2842 2856 # export MV2_NUM_PORTS=2 2843 2857 # export MV2_CPU_MAPPING=0:1:2:3 2844 # mpiexec ./ palm$ROPTS2845 mpiexec_mpt -np $ii ./ palm$ROPTS2858 # mpiexec ./a.out $ROPTS 2859 mpiexec_mpt -np $ii ./a.out $ROPTS 2846 2860 elif [[ $host = lcxt4 ]] 2847 2861 then … … 2859 2873 printf "\n\n" 2860 2874 2861 if [[ $host = lcxt4 ]] 2875 if [[ $host = lcsgih || $host = lcsgib ]] 2876 then 2877 2878 mpiexec -n $iii a.out $ROPTS < runfile_atmos & 2879 mpiexec -n $iii a.out $ROPTS < runfile_ocean & 2880 # head -n $iii $PBS_NODEFILE > nodefile_atmos 2881 # echo "--- nodefile_atmos:" 2882 # cat nodefile_atmos 2883 # tail -n $iii $PBS_NODEFILE > nodefile_ocean 2884 # echo "--- nodefile_ocean:" 2885 # cat nodefile_ocean 2886 # export PBS_NODEFILE=${PWD}/nodefile_atmos 2887 # mpiexec_mpt -np $iii ./a.out $ROPTS < runfile_atmos & 2888 # export PBS_NODEFILE=${PWD}/nodefile_ocean 2889 # mpiexec_mpt -np $iii ./a.out $ROPTS < runfile_ocean & 2890 2891 2892 elif [[ $host = lcxt4 ]] 2862 2893 then 2863 2894 aprun -n $iii -N $tasks_per_node a.out < runfile_atmos $ROPTS &
Note: See TracChangeset
for help on using the changeset viewer.