Changeset 71


Ignore:
Timestamp:
Mar 19, 2007 12:40:20 AM (18 years ago)
Author:
raasch
Message:

bugfixes in mrun

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mrun

    r69 r71  
    1 #!/bin/pdksh
    2 
    3 ##!/home/DSRC/NC/tatuyama/pub/ksh   NEEDED ON NEC AT RIAM !!!!!!!!!!
    4 
     1#!/bin/ksh
    52# mrun - Plot-Shellskript
    63# $Id: mrun 61 2007-03-12 05:42:06Z raasch $
     
    292289             rm -rf  $interpreted_config_file
    293290          fi
     291          if [[ -n .mrun_environment ]]  then
     292             rm -rf  .mrun_environment
     293          fi
    294294          if [[ $tmpcreate = true ]]
    295295          then
     
    796796       interpret_config.x
    797797    fi
     798    rm .mrun_environment
     799
    798800
    799801       # AUSFUEHRUNG DER GENERIERTEN SHELL-KOMMANDOS IN DIESER SHELL
     
    801803    export PATH=$PATH:.
    802804    . $interpreted_config_file
    803 #    rm  $interpreted_config_file
     805    rm  $interpreted_config_file
     806
    804807
    805808       # OPTIONSWERTE UEBERSTEUERN KONFIGURATIONSDATEI
    806     [[ "mrun_memory"   != "" ]]  &&  memory=$mrun_memory
    807     [[ "mrun_cpumax"   != "" ]]  &&  cpumax=$mrun_cpumax
    808     [[ "mrun_numprocs" != "" ]]  &&  numprocs=$mrun_numprocs
     809    [[ $mrun_memory     != 0 ]]  &&  memory=$mrun_memory
     810    [[ $mrun_cpumax     != 0 ]]  &&  cpumax=$mrun_cpumax
     811    [[ "$mrun_numprocs" != "" ]]  &&  numprocs=$mrun_numprocs
    809812
    810813 fi
Note: See TracChangeset for help on using the changeset viewer.