Changeset 416 for palm/trunk/SCRIPTS


Ignore:
Timestamp:
Dec 18, 2009 8:42:25 AM (14 years ago)
Author:
weinreis
Message:

mrun and subjob modified for archiving

Location:
palm/trunk/SCRIPTS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mrun

    r412 r416  
    192192     # 29/09/09 - Siggi  - default value for archiving is false, option "-A"
    193193     #                     switches on archiving, archiving on SGI-ICE enabled
    194      # 16/10/09 - Carolin - adjustments for archiving on SGI-ICE of binary files;
    195      #                      adjustment for special1q
    196 
     194     # 16/10/09 - Carolin- adjustments for archiving on SGI-ICE of binary files;
     195     #                     adjustment for special1q
     196     # 18/12/09 - Carolin- modification of archiving (permq)
     197     #
    197198 
    198199    # VARIABLENVEREINBARUNGEN + DEFAULTWERTE
     
    37493750#                         echo "*** files = \"$files\" "
    37503751#                         echo "*** all_files = \"$all_files\" "
    3751                          echo "tar  cvf \$PERM/${frelout[$i]}/${frelout[$i]}.node_$inode.tar $files"   >> archive_${frelout[$i]}
     3752                        echo "tar  cvf \$PERM/${frelout[$i]}/${frelout[$i]}.node_$inode.tar $files"   >> archive_${frelout[$i]}
     3753                        ### echo "tar  cvf ${frelout[$i]}.node_$inode.tar $files"   >> archive_${frelout[$i]}
     3754                        ### echo "cp ${frelout[$i]}.node_$inode.tar \$PERM/${frelout[$i]}/"   >> archive_${frelout[$i]}
     3755                         ###echo "rm ${frelout[$i]}.node_$inode.tar"   >> archive_${frelout[$i]}
    37523756#                         echo "dsmc incremental  \$PERM/${frelout[$i]}/${frelout[$i]}.node_$inode.tar" >> archive_${frelout[$i]}
    37533757#                         echo "dsmmigrate \$PERM/${frelout[$i]}/${frelout[$i]}.node_$inode.tar"        >> archive_${frelout[$i]}
     
    37943798                   then
    37953799#                      subjob  -d  -v  -q cdata  -X 0  -m 1000  -t 43200  -c $job_catalog  archive_${frelout[$i]}
    3796                       subjob   -v  -q dataq  -X 1 -T 1  -m 1000  -t 10800  -c $job_catalog  archive_${frelout[$i]}
     3800                      subjob   -v  -q permq  -X 1 -T 1  -m 1000  -t 172800  -c $job_catalog  archive_${frelout[$i]}
    37973801                   elif [[ $localhost = nech ]]
    37983802                   then
  • palm/trunk/SCRIPTS/subjob

    r407 r416  
    107107     # 03/09/09 - Siggi - PBS sgi feature directive only used if explicitly
    108108     #                    set in the config file by the user
    109      # 16/10/09 - Carolin adjustments for archiving on SGI-ICE of binary files;
    110      #                      adding special1q
     109     # 16/10/09 - Carolin-adjustments for archiving on SGI-ICE of binary files;
     110     #                    adding special1q
    111111     # 01/12/09 - BjornM- re-adjustments for lcxt4, added sno (130.75.105.113)
     112     # 16/10/09 - Carolin-adding permq
     113     #
    112114
    113115    # VARIABLENVEREINBARUNGEN + DEFAULTWERTE
     
    386388                 esac;;
    387389        (lcsgib|lcsgih)   case  $ndq  in
    388                      (testq|serialq|smallq|mediumq|bigq|workq|dataq|special1q)       error=false;;
     390                     (testq|serialq|smallq|mediumq|bigq|workq|dataq|permq|special1q)       error=false;;
    389391                     (*)                                     error=true;;
    390392                 esac;;
     
    769771    fi
    770772   
    771     if [[ $queue = dataq ]]
     773    if [[ $queue = dataq || $queue = permq ]]
    772774    then
    773775       feature_directive="#PBS -l feature=data"
    774776    fi
    775777
    776     if [[ $queue = testq  ||  $queue = workq  ||  $queue = dataq  ||  $queue = serialq  ||  $queue = special1q ]]
     778    if [[ $queue = testq  ||  $queue = workq  ||  $queue = dataq  ||  $queue = permq ||  $queue = serialq  ||  $queue = special1q ]]
    777779    then
    778780       queue_directive="#PBS -q $queue"
Note: See TracChangeset for help on using the changeset viewer.