Changeset 3505 for palm/trunk/SCRIPTS
- Timestamp:
- Nov 8, 2018 9:14:30 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palmrun
r3455 r3505 27 27 # ----------------- 28 28 # $Id$ 29 # job folders are created in case that they do not exist 30 # 31 # 3455 2018-10-30 14:12:31Z raasch 29 32 # options -h and -d renamed -c and -r, respectively 30 33 # … … 2967 2970 then 2968 2971 2972 # CREATE LOCAL JOB FOLDER 2973 eval local_jobcatalog=$local_jobcatalog 2974 if [[ ! -d $local_jobcatalog ]] 2975 then 2976 echo " " 2977 echo " *** local jobcatalog \"$local_jobcatalog\" does not exist and will be created now" 2978 mkdir $local_jobcatalog 2979 fi 2980 2969 2981 if [[ $create_remote_batch_job = true ]] 2970 2982 then … … 2972 2984 echo " " 2973 2985 echo " *** transfer of job to remote host via scp" 2986 2987 # CREATE REMOTE JOB FOLDER, IF IT DOES NOT EXIST 2988 echo "[[ ! -d $remote_jobcatalog ]] && mkdir $remote_jobcatalog" | ssh -q $ssh_key $SSH_PORTOPT ${remote_username}@${remote_ip} 2>&1 2989 2990 # COPY THE JOB FILE 2974 2991 if [[ $do_trace = true ]] 2975 2992 then … … 2978 2995 scp $ssh_key $PORTOPT $jobfile ${remote_username}@${remote_ip}:${remote_jobcatalog}/${configuration_identifier}_${run_id} > /dev/null 2979 2996 2997 # SUBMIT THE JOB 2980 2998 printf " *** submit the job (output of submit command, e.g. the job-id, may follow)" 2981 2999 if [[ $do_trace = true ]]
Note: See TracChangeset
for help on using the changeset viewer.