- Timestamp:
- Jan 28, 2010 10:08:33 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palm_simple_run
r424 r426 23 23 mpi_procs_per_node=1 24 24 openmp_threads=1 25 palm_dir=~/palm/current_version25 # palm_dir=~/palm/current_version/ 26 26 27 27 typeset -i ii … … 45 45 46 46 # 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` 48 48 global_revision="Rev: $global_revision" 49 49 … … 66 66 # Check if palm has been installed and copy executable into the run 67 67 # directory 68 if [[ ! -f ${palm_dir} /MAKE_DEPOSITORY_simple/palm ]]68 if [[ ! -f ${palm_dir}MAKE_DEPOSITORY_simple/palm ]] 69 69 then 70 70 echo "+++ ERROR: palm executable does not exist." … … 72 72 exit 73 73 else 74 cp ${palm_dir} /MAKE_DEPOSITORY_simple/palm $RUNDIR/palm74 cp ${palm_dir}MAKE_DEPOSITORY_simple/palm $RUNDIR/palm 75 75 fi 76 76 77 77 78 78 # 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 ]] 80 80 then 81 81 echo "+++ ERROR: parameter file" 82 echo " \"${palm_dir} /JOBS/${case}/INPUT/${case}_p3d\""82 echo " \"${palm_dir}JOBS/${case}/INPUT/${case}_p3d\"" 83 83 echo " does not exist." 84 84 exit 85 85 else 86 cp ${palm_dir} /JOBS/${case}/INPUT/${case}_p3d $RUNDIR/PARIN86 cp ${palm_dir}JOBS/${case}/INPUT/${case}_p3d $RUNDIR/PARIN 87 87 fi 88 88
Note: See TracChangeset
for help on using the changeset viewer.