- Timestamp:
- Apr 18, 2019 11:46:37 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palmrun
r3860 r3917 27 27 # ----------------- 28 28 # $Id$ 29 # in case of batch jobs on remote machines, copying files from SOURCES_FOR_RUN folder has 30 # been rearranged to avoid that input files with original names (e.g. ..._p3d) are copied 31 # into the temporary working catalog 32 # 33 # 3860 2019-04-04 06:23:27Z raasch 29 34 # check added, that it is not allowed to set option -b if the configuration file has been setup 30 35 # for running batch jobs on remote hosts, … … 1979 1984 if [[ $running_in_batch_mode = false ]] 1980 1985 then 1981 # CREATE THE DIRECTORY AND COPY FILES FROM SOURCES_FOR_RUN_... TO THAT 1982 # FOLDER 1986 # CREATE THE DIRECTORY 1983 1987 mkdir -p $tempdir 1984 1988 chmod go+rx $tempdir 1985 1989 cd $tempdir 1986 cp ${fast_io_catalog}/${sources_for_run_catalog}/{*,.[!.]*} $tempdir1987 1990 printf "\n *** changed to temporary directory: $tempdir" 1988 1991 … … 2171 2174 printf "\n$dashes\n *** all INPUT-files provided \n" 2172 2175 fi 2176 2177 # NOW COPY FILES (*.f90, *.o, config files, etc.) FROM SOURCES_FOR_RUN_... TO THE TEMPORARY 2178 # WORKING DIRECTORY 2179 cp ${fast_io_catalog}/${sources_for_run_catalog}/{*,.[!.]*} $tempdir 2173 2180 2174 2181 … … 2995 3002 echo "cd $tempdir" >> $jobfile 2996 3003 echo "export tempdir=$tempdir" >> $jobfile 2997 echo "cp ${fast_io_catalog}/${sources_for_run_catalog}/ {*,.[!.]*} .">> $jobfile2998 echo "export PATH=.: \$PATH">> $jobfile3004 echo "cp ${fast_io_catalog}/${sources_for_run_catalog}/.[!.]* ." >> $jobfile 3005 echo "export PATH=.:${fast_io_catalog}/${sources_for_run_catalog}:\$PATH" >> $jobfile 2999 3006 echo "export execute_palmrun=true" >> $jobfile 3000 3007
Note: See TracChangeset
for help on using the changeset viewer.