Changeset 246 for palm/trunk/SCRIPTS/mrun
- Timestamp:
- Feb 27, 2009 11:42:39 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun
r223 r246 168 168 # 13/01/09 - Siggi - totalview on hice/bice can be used in debug mode 169 169 # using environment variable totalview 170 # 25/02/09 - Siggi - cputime-option (-t) is allowed to be omitted for 171 # interactive runs 170 172 171 173 … … 253 255 echo "+++ WARNING: return_addres changed to $return_addres !!!!!" 254 256 fi 255 # if [[ $return_addres = 210.117.65.1 ]]256 # if [[ $(nslookup `hostname` 2>&1 | grep -c 210.117.65.1) = 1 ]]257 # then258 # [[ $localhost_realname = gfdl3.yonsei.ac.kr ]] && return_addres=165.132.26.56259 # fi260 257 return_password="" 261 258 return_username=$LOGNAME … … 1973 1970 if (( $cputime == 0 )) 1974 1971 then 1975 printf "\n +++ cpu-time is undefined" 1976 printf "\n >>> Please type CPU-time in seconds as INTEGER:" 1977 printf "\n >>> " 1978 read cputime 1>/dev/null 2>&1 1972 if [[ $do_batch = true ]] 1973 then 1974 printf "\n +++ cpu-time is undefined" 1975 printf "\n >>> Please type CPU-time in seconds as INTEGER:" 1976 printf "\n >>> " 1977 read cputime 1>/dev/null 2>&1 1978 else 1979 cputime=10000000 # NO CPU LIMIT FOR INTERACTIVE RUNS 1980 fi 1979 1981 else 1980 1982 done=true … … 3011 3013 (( ii = $numprocs / $threads_per_task )) 3012 3014 export OMP_NUM_THREADS=$threads_per_task 3013 echo "OMP_NUM_THREADS=$OMP_NUM_THREADS"3015 # echo "OMP_NUM_THREADS=$OMP_NUM_THREADS" 3014 3016 if [[ $threads_per_task != 1 ]] 3015 3017 then
Note: See TracChangeset
for help on using the changeset viewer.