Changeset 108 for palm/trunk/SCRIPTS/mrun
- Timestamp:
- Aug 24, 2007 3:10:38 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun
r102 r108 124 124 # output of executables to aout_output removed, 125 125 # messages are immediately written to stdout instead 126 127 126 # 03/08/07 - Marcus - add XOPT="-X $numprocs" for lcfimm 127 # 09/08/07 - Marcus - workaround on lcfimm to propagate environment 128 # variables out to the nodes in coupled mode -disabled- 129 # 13/08/07 - Marcus - start local restart jobs per ssh on lcfimm 128 130 129 131 … … 1796 1798 lopts="$lopts $netcdf_lib $dvrp_lib" 1797 1799 ROPTS="$ropts" 1798 if [[ ( $(echo $host | cut -c1-3) = nec || $(echo $host | cut -c1-3) = ibm || $host = lctit ) && -n $numprocs ]]1800 if [[ ( $(echo $host | cut -c1-3) = nec || $(echo $host | cut -c1-3) = ibm || $host = lctit || $host = lcfimm ) && -n $numprocs ]] 1799 1801 then 1800 1802 XOPT="-X $numprocs" … … 2741 2743 then 2742 2744 printf "\n\n" 2743 mpiexec -machinefile hostfile -n $ii a.out $ROPTS 2745 # if [[ $host = lcfimm ]] 2746 # then 2747 # /usr/bin/mpiexec -comm pmi -n $ii a.out $ROPTS 2748 # else 2749 mpiexec -machinefile hostfile -n $ii a.out $ROPTS 2750 # fi 2744 2751 else 2745 2752 (( iii = ii / 2 )) 2746 2753 printf "\n coupled run ($iii atmosphere, $iii ocean)" 2747 2754 printf "\n\n" 2748 mpiexec -machinefile hostfile -n $iii -env coupling_mode atmosphere_to_ocean a.out $ROPTS & 2749 mpiexec -machinefile hostfile -n $iii -env coupling_mode ocean_to_atmosphere a.out $ROPTS & 2755 # if [[ $host = lcfimm ]] 2756 # then 2757 # /usr/bin/mpiexec -comm pmi -n $iii run_atmosphere a.out $ROPTS & 2758 # /usr/bin/mpiexec -comm pmi -n $iii run_ocean a.out $ROPTS & 2759 # else 2760 mpiexec -machinefile hostfile -n $iii -env coupling_mode atmosphere_to_ocean a.out $ROPTS & 2761 mpiexec -machinefile hostfile -n $iii -env coupling_mode ocean_to_atmosphere a.out $ROPTS & 2762 # fi 2750 2763 wait 2751 2764 fi … … 3475 3488 3476 3489 # BEI RECHNUNGEN AUF LOKALER MASCHINE KANN MRUN DIREKT AUFGE- 3477 # RUFEN WERDEN 3490 # RUFEN WERDEN, AUSSER AUF lcfimm 3478 3491 cd $LOCAL_PWD 3479 eval $mc # ' MUESSEN AUSGEWERTET WERDEN 3492 if [[ $localhost = lcfimm ]] 3493 then 3494 ssh $return_addres -l $return_username "PATH=\$PATH:$LOCAL_MRUN_PATH;export PALM_BIN=$LOCAL_MRUN_PATH;cd $LOCAL_PWD; $mc " 3495 else 3496 eval $mc # ' MUESSEN AUSGEWERTET WERDEN 3497 fi 3480 3498 cd - > /dev/null 3481 3499 fi
Note: See TracChangeset
for help on using the changeset viewer.