Changeset 746 for palm/trunk/SCRIPTS/mrun
- Timestamp:
- Aug 18, 2011 9:14:48 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun
r741 r746 226 226 # 17/08/11 - Siggi - extensions for impi library 227 227 # 18/08/11 - Siggi - bugfix for local append of output files with suffix (.nc) 228 # 18/08/11 - Marcus - support for Linux OS with German locale 229 # - properly report hosts on general Linux clusters 228 230 229 231 … … 1303 1305 # PRUEFEN AUF VORHANDENSEIN 1304 1306 if [[ $(ls $filename* 2>&1 | grep -c "not found") = 1 || \ 1307 $(ls $filename* 2>&1 | grep -c "nicht gefunden") = 1 || \ 1305 1308 $(ls $filename* 2>&1 | grep -c "No such file") = 1 || \ 1306 1309 $(ls $filename* 2>&1 | grep -c "does not exist") = 1 ]] … … 1415 1418 eval catalogname=${pathout[$i]} 1416 1419 if [[ $(ls $filename* 2>&1 | grep -c "not found") = 1 || \ 1420 $(ls $filename* 2>&1 | grep -c "nicht gefunden") = 1 || \ 1417 1421 $(ls $filename* 2>&1 | grep -c "No such file") = 1 || \ 1418 1422 $(ls $filename* 2>&1 | grep -c "does not exist") = 1 ]] … … 3289 3293 then 3290 3294 cp $hostfile hostfile 3295 (( ii = $numprocs / $threads_per_task )) 3291 3296 else 3292 3297 (( ii = 1 ))
Note: See TracChangeset
for help on using the changeset viewer.