Changeset 1491 for palm


Ignore:
Timestamp:
Nov 12, 2014 8:12:57 AM (10 years ago)
Author:
heinze
Message:

correct setting of batch_job allowed for ibm-machines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mrun

    r1469 r1491  
    2222# Current revisions:
    2323# ------------------
    24 #
     24# correct setting of batch_job allowed for ibm-machines
    2525#
    2626# Former revisions:
     
    17761776
    17771777    # DETERMINE THE JOB MODE
    1778  if [[ "$ENVIRONMENT" = BATCH ]]
    1779  then
    1780     batch_job=.TRUE.
    1781     jobmo=BATCH
     1778 if [[ $(echo $localhost | cut -c1-3) = ibm ]]
     1779 then
     1780    if [[ "$LOADLBATCH" = yes ]]
     1781    then
     1782       batch_job=.TRUE.
     1783       jobmo=BATCH
     1784    else
     1785       batch_job=.FALSE.
     1786       jobmo=INTERACTIVE
     1787    fi
    17821788 else
    1783     batch_job=.FALSE.
    1784     jobmo=INTERACTIVE
    1785  fi
    1786 
     1789    if [[ "$ENVIRONMENT" = BATCH ]]
     1790    then
     1791       batch_job=.TRUE.
     1792       jobmo=BATCH
     1793    else
     1794       batch_job=.FALSE.
     1795       jobmo=INTERACTIVE
     1796    fi
     1797 fi
    17871798
    17881799    # NO INTERACTIVE RUNS ALLOWED ON LCTIT
Note: See TracChangeset for help on using the changeset viewer.