Changeset 4303 for palm/trunk/SCRIPTS/palmrun
- Timestamp:
- Nov 25, 2019 8:55:18 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palmrun
r3982 r4303 27 27 # ----------------- 28 28 # $Id$ 29 # Abort if temporary working catalog cannot be created 30 # 31 # 3982 2019-05-16 11:07:31Z raasch 29 32 # bugfix: -b is not added in automatically generated batch jobs for remote hosts 30 33 # … … 1989 1992 # CREATE THE DIRECTORY 1990 1993 mkdir -p $tempdir 1994 if [[ $? != 0 ]] 1995 then 1996 printf "\n +++ temporary working directory cannot be created." 1997 printf "\n Check setting of variable fast_io_catalog in your config file." 1998 locat=execution 1999 exit 2000 fi 1991 2001 chmod go+rx $tempdir 1992 2002 cd $tempdir … … 2995 3005 then 2996 3006 echo "mkdir $tempdir" >> $jobfile 3007 echo "if [[ \$? != 0 ]]" >> $jobfile 3008 echo "then" >> $jobfile 3009 echo " echo \"+++ temporary working directory cannot be created.\" " >> $jobfile 3010 echo " echo \" Check setting of variable fast_io_catalog in your config file.\" " >> $jobfile 3011 echo " exit" >> $jobfile 3012 echo "fi" >> $jobfile 2997 3013 echo "chmod go+rx $tempdir" >> $jobfile 2998 3014 else … … 3001 3017 # BATCH DIRECTIVE -wd AND MUST ALREADY EXIST WHEN THE JOB IS SUBMITTED) 3002 3018 mkdir $tempdir 3019 if [[ $? != 0 ]] 3020 then 3021 printf "\n +++ temporary working directory cannot be created." 3022 printf "\n Check setting of variable fast_io_catalog in your config file." 3023 locat=execution 3024 exit 3025 fi 3003 3026 chmod go+rx $tempdir 3004 3027 fi
Note: See TracChangeset
for help on using the changeset viewer.