Ignore:
Timestamp:
Jan 28, 2010 10:08:33 AM (12 years ago)
Author:
raasch
Message:

further update of simple install method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palm_simple_run

    r424 r426  
    2323 mpi_procs_per_node=1
    2424 openmp_threads=1
    25  palm_dir=~/palm/current_version
     25 # palm_dir=~/palm/current_version/
    2626
    2727 typeset -i  ii
     
    4545
    4646    # Find out the global svn revision number
    47  global_revision=`svnversion ${palm_dir}/trunk  2>/dev/null`
     47 global_revision=`svnversion ${palm_dir}trunk  2>/dev/null`
    4848 global_revision="Rev: $global_revision"
    4949
     
    6666    # Check if palm has been installed and copy executable into the run
    6767    # directory
    68  if [[ ! -f ${palm_dir}/MAKE_DEPOSITORY_simple/palm ]]
     68 if [[ ! -f ${palm_dir}MAKE_DEPOSITORY_simple/palm ]]
    6969 then
    7070    echo "+++ ERROR: palm executable does not exist."
     
    7272    exit
    7373 else
    74     cp  ${palm_dir}/MAKE_DEPOSITORY_simple/palm  $RUNDIR/palm
     74    cp  ${palm_dir}MAKE_DEPOSITORY_simple/palm  $RUNDIR/palm
    7575 fi
    7676
    7777
    7878    # Check, if parameter file exists and copy into the run directory
    79  if [[ ! -f ${palm_dir}/JOBS/${case}/INPUT/${case}_p3d ]]
     79 if [[ ! -f ${palm_dir}JOBS/${case}/INPUT/${case}_p3d ]]
    8080 then
    8181    echo "+++ ERROR: parameter file"
    82     echo "           \"${palm_dir}/JOBS/${case}/INPUT/${case}_p3d\""
     82    echo "           \"${palm_dir}JOBS/${case}/INPUT/${case}_p3d\""
    8383    echo "           does not exist."
    8484    exit
    8585 else
    86     cp  ${palm_dir}/JOBS/${case}/INPUT/${case}_p3d  $RUNDIR/PARIN
     86    cp  ${palm_dir}JOBS/${case}/INPUT/${case}_p3d  $RUNDIR/PARIN
    8787 fi
    8888
Note: See TracChangeset for help on using the changeset viewer.