Changeset 2834
- Timestamp:
- Feb 23, 2018 2:04:07 PM (7 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/.palm.config.crayh
r2693 r2834 6 6 %base_directory $HOME/palm/current_version 7 7 %source_path $HOME/palm/current_version/trunk/SOURCE 8 %user_source_path $base_directory/JOBS/$ fname/USER_CODE8 %user_source_path $base_directory/JOBS/$jobname/USER_CODE 9 9 %fast_io_catalog /gfs2/work/niksiraa 10 10 %local_jobcatalog /home/raasch/job_queue -
palm/trunk/SCRIPTS/.palm.config.default
r2693 r2834 6 6 %base_data ~/palm/current_version/JOBS 7 7 %source_path $HOME/palm/current_version/trunk/SOURCE 8 %user_source_path $base_directory/JOBS/$ fname/USER_CODE8 %user_source_path $base_directory/JOBS/$jobname/USER_CODE 9 9 # 10 10 %local_ip <replace by your computers IP address> -
palm/trunk/SCRIPTS/.palm.config.default.in
r2693 r2834 13 13 %base_data @CMAKE_INSTALL_PREFIX@/JOBS 14 14 %source_path @CMAKE_INSTALL_PREFIX@/trunk/SOURCE 15 %user_source_path @CMAKE_INSTALL_PREFIX@/JOBS/$ fname/USER_CODE15 %user_source_path @CMAKE_INSTALL_PREFIX@/JOBS/$jobname/USER_CODE 16 16 %fast_io_catalog @CMAKE_INSTALL_PREFIX@/tmp 17 17 %local_jobcatalog @CMAKE_INSTALL_PREFIX@/job_queue -
palm/trunk/SCRIPTS/.palm.config.idefix
r2693 r2834 10 10 %fast_io_catalog /work/<replace_by_your_IDEFIX_username> 11 11 %local_jobcatalog $HOME/job_queue 12 %output_path /work/<replace_by_your_IDEFIX_username>/JOBS/$ fname12 %output_path /work/<replace_by_your_IDEFIX_username>/JOBS/$jobname 13 13 %remote_jobcatalog $HOME/job_queue 14 14 %source_path $HOME/palm/current_version/trunk/SOURCE 15 %user_source_path $base_directory/JOBS/$ fname/USER_CODE15 %user_source_path $base_directory/JOBS/$jobname/USER_CODE 16 16 # 17 17 %local_ip 130.75.105.239 -
palm/trunk/SCRIPTS/.palm.config.imuk
r2693 r2834 7 7 %fast_io_catalog /localdata/raasch 8 8 %source_path $HOME/palm/current_version/trunk/SOURCE 9 %user_source_path $base_directory/JOBS/$ fname/USER_CODE9 %user_source_path $base_directory/JOBS/$jobname/USER_CODE 10 10 # 11 11 %local_ip 130.75.105.103 -
palm/trunk/SCRIPTS/.palm.iofiles
r2788 r2834 1 1 # 2 #------------------------------------------------------------------------------------------- 2 #--------------------------------------------------------------------------------------------- 3 3 # List of input-files 4 #------------------------------------------------------------------------------------------- 5 PARIN in:tr d3# $base_data/$ fname/INPUT _p3d*6 PARIN in:tr d3r $base_data/$ fname/INPUT _p3dr*7 PARIN in:tr pcr $base_data/$ fname/INPUT _pcr*8 TOPOGRAPHY_DATA inopt:tr d3#:d3r $base_data/$ fname/INPUT _topo*9 PIDS_STATIC inopt:tr d3#:d3r $base_data/$ fname/INPUT _static*10 PIDS_DYNAMIC inopt:tr d3#:d3r $base_data/$ fname/INPUT _dynamic*11 rrtmg_lw.nc inopt:tr d3#:d3r $base_data/$ fname/INPUT _rlw12 rrtmg_sw.nc inopt:tr d3#:d3r $base_data/$ fname/INPUT _rsw13 WTM_DATA inopt:tr d3#:d3r $base_data/$ fname/INPUT _wtm14 BININ in:lnpe d3r:rec $fast_io_catalog/$ fname/RESTART _d3d*15 PARTICLE_RESTART_DATA_IN in:lnpe prtr $fast_io_catalog/$ fname/RESTART _rprt16 DATA_1D_PR_NETCDF inopt prr $base_data/$ fname/OUTPUT _pr* nc17 DATA_1D_SP_NETCDF inopt spr $base_data/$ fname/OUTPUT _sp* nc18 DATA_1D_TS_NETCDF inopt tsr $base_data/$ fname/OUTPUT _ts* nc19 DATA_1D_PTS_NETCDF inopt ptsr $base_data/$ fname/OUTPUT _pts* nc20 DATA_2D_XY_NETCDF inopt xyr $base_data/$ fname/OUTPUT _xy* nc21 DATA_2D_XY_AV_NETCDF inopt xyr $base_data/$ fname/OUTPUT _av_xy* nc22 DATA_2D_XZ_NETCDF inopt xzr $base_data/$ fname/OUTPUT _xz* nc23 DATA_2D_XZ_AV_NETCDF inopt xzr $base_data/$ fname/OUTPUT _av_xz* nc24 DATA_2D_YZ_NETCDF inopt yzr $base_data/$ fname/OUTPUT _yz* nc25 DATA_2D_YZ_AV_NETCDF inopt yzr $base_data/$ fname/OUTPUT _av_yz* nc26 DATA_3D_NETCDF inopt 3dr $base_data/$ fname/OUTPUT _3d* nc27 DATA_3D_AV_NETCDF inopt 3dr $base_data/$ fname/OUTPUT _av_3d* nc28 DATA_MASK_NETCDF inopt mar $base_data/$ fname/OUTPUT _masked nc29 DATA_MASK_AV_NETCDF inopt mar $base_data/$ fname/OUTPUT _av_masked nc30 DATA_PRT_NETCDF inopt:pe prtr $base_data/$ fname/OUTPUT _prt*4 #--------------------------------------------------------------------------------------------- 5 PARIN in:tr d3# $base_data/$jobname/INPUT _p3d* 6 PARIN in:tr d3r $base_data/$jobname/INPUT _p3dr* 7 PARIN in:tr pcr $base_data/$jobname/INPUT _pcr* 8 TOPOGRAPHY_DATA inopt:tr d3#:d3r $base_data/$jobname/INPUT _topo* 9 PIDS_STATIC inopt:tr d3#:d3r $base_data/$jobname/INPUT _static* 10 PIDS_DYNAMIC inopt:tr d3#:d3r $base_data/$jobname/INPUT _dynamic* 11 rrtmg_lw.nc inopt:tr d3#:d3r $base_data/$jobname/INPUT _rlw 12 rrtmg_sw.nc inopt:tr d3#:d3r $base_data/$jobname/INPUT _rsw 13 WTM_DATA inopt:tr d3#:d3r $base_data/$jobname/INPUT _wtm 14 BININ in:lnpe d3r:rec $fast_io_catalog/$jobname/RESTART _d3d* 15 PARTICLE_RESTART_DATA_IN in:lnpe prtr $fast_io_catalog/$jobname/RESTART _rprt 16 DATA_1D_PR_NETCDF inopt prr $base_data/$jobname/OUTPUT _pr* nc 17 DATA_1D_SP_NETCDF inopt spr $base_data/$jobname/OUTPUT _sp* nc 18 DATA_1D_TS_NETCDF inopt tsr $base_data/$jobname/OUTPUT _ts* nc 19 DATA_1D_PTS_NETCDF inopt ptsr $base_data/$jobname/OUTPUT _pts* nc 20 DATA_2D_XY_NETCDF inopt xyr $base_data/$jobname/OUTPUT _xy* nc 21 DATA_2D_XY_AV_NETCDF inopt xyr $base_data/$jobname/OUTPUT _av_xy* nc 22 DATA_2D_XZ_NETCDF inopt xzr $base_data/$jobname/OUTPUT _xz* nc 23 DATA_2D_XZ_AV_NETCDF inopt xzr $base_data/$jobname/OUTPUT _av_xz* nc 24 DATA_2D_YZ_NETCDF inopt yzr $base_data/$jobname/OUTPUT _yz* nc 25 DATA_2D_YZ_AV_NETCDF inopt yzr $base_data/$jobname/OUTPUT _av_yz* nc 26 DATA_3D_NETCDF inopt 3dr $base_data/$jobname/OUTPUT _3d* nc 27 DATA_3D_AV_NETCDF inopt 3dr $base_data/$jobname/OUTPUT _av_3d* nc 28 DATA_MASK_NETCDF inopt mar $base_data/$jobname/OUTPUT _masked nc 29 DATA_MASK_AV_NETCDF inopt mar $base_data/$jobname/OUTPUT _av_masked nc 30 DATA_PRT_NETCDF inopt:pe prtr $base_data/$jobname/OUTPUT _prt* 31 31 # 32 #------------------------------------------------------------------------------------------- 32 #--------------------------------------------------------------------------------------------- 33 33 # List of output-files 34 #------------------------------------------------------------------------------------------- 35 BINOUT* out:lnpe restart $fast_io_catalog/$ fname/RESTART _d3d36 PARTICLE_RESTART_DATA_OUT* out:lnpe prt#:prtr $fast_io_catalog/$ fname/RESTART _rprt34 #--------------------------------------------------------------------------------------------- 35 BINOUT* out:lnpe restart $fast_io_catalog/$jobname/RESTART _d3d 36 PARTICLE_RESTART_DATA_OUT* out:lnpe prt#:prtr $fast_io_catalog/$jobname/RESTART _rprt 37 37 # 38 RUN_CONTROL* out:tr d3#:pcr $base_data/$ fname/MONITORING _rc39 RUN_CONTROL* out:tra d3r $base_data/$ fname/MONITORING _rc40 HEADER* out:tr d3#:pcr $base_data/$ fname/MONITORING _header41 HEADER* out:tra d3r $base_data/$ fname/MONITORING _header42 CPU_MEASURES* out:tr d3#:pcr $base_data/$ fname/MONITORING _cpu43 CPU_MEASURES* out:tra d3r $base_data/$ fname/MONITORING _cpu44 PARTICLE_INFO* out:tr pt# $base_data/$ fname/MONITORING _prt_info45 PARTICLE_INFO* out:tra ptr $base_data/$ fname/MONITORING _prt_info46 LIST_PROFIL* out:tr d3# $base_data/$ fname/MONITORING _list_pr38 RUN_CONTROL* out:tr d3#:pcr $base_data/$jobname/MONITORING _rc 39 RUN_CONTROL* out:tra d3r $base_data/$jobname/MONITORING _rc 40 HEADER* out:tr d3#:pcr $base_data/$jobname/MONITORING _header 41 HEADER* out:tra d3r $base_data/$jobname/MONITORING _header 42 CPU_MEASURES* out:tr d3#:pcr $base_data/$jobname/MONITORING _cpu 43 CPU_MEASURES* out:tra d3r $base_data/$jobname/MONITORING _cpu 44 PARTICLE_INFO* out:tr pt# $base_data/$jobname/MONITORING _prt_info 45 PARTICLE_INFO* out:tra ptr $base_data/$jobname/MONITORING _prt_info 46 LIST_PROFIL* out:tr d3# $base_data/$jobname/MONITORING _list_pr 47 47 # 48 DATA_1D_PR_NETCDF* out:tr * $base_data/$ fname/OUTPUT _pr nc49 DATA_1D_SP_NETCDF out:tr * $base_data/$ fname/OUTPUT _sp nc50 DATA_1D_TS_NETCDF out:tr * $base_data/$ fname/OUTPUT _ts nc51 DATA_1D_PTS_NETCDF out:tr * $base_data/$ fname/OUTPUT _pts nc52 DATA_2D_XY_NETCDF* out:tr * $base_data/$ fname/OUTPUT _xy nc53 DATA_2D_XY_AV_NETCDF* out:tr * $base_data/$ fname/OUTPUT _av_xy nc54 DATA_2D_XZ_NETCDF* out:tr * $base_data/$ fname/OUTPUT _xz nc55 DATA_2D_XZ_AV_NETCDF* out:tr * $base_data/$ fname/OUTPUT _av_xz nc56 DATA_2D_YZ_NETCDF* out:tr * $base_data/$ fname/OUTPUT _yz nc57 DATA_2D_YZ_AV_NETCDF* out:tr * $base_data/$ fname/OUTPUT _av_yz nc58 DATA_3D_NETCDF* out:tr * $base_data/$ fname/OUTPUT _3d nc59 DATA_3D_AV_NETCDF* out:tr * $base_data/$ fname/OUTPUT _av_3d nc60 DATA_MASK_NETCDF* out:tr * $base_data/$ fname/OUTPUT _masked nc61 DATA_MASK_AV_NETCDF* out:tr * $base_data/$ fname/OUTPUT _av_masked nc48 DATA_1D_PR_NETCDF* out:tr * $base_data/$jobname/OUTPUT _pr nc 49 DATA_1D_SP_NETCDF out:tr * $base_data/$jobname/OUTPUT _sp nc 50 DATA_1D_TS_NETCDF out:tr * $base_data/$jobname/OUTPUT _ts nc 51 DATA_1D_PTS_NETCDF out:tr * $base_data/$jobname/OUTPUT _pts nc 52 DATA_2D_XY_NETCDF* out:tr * $base_data/$jobname/OUTPUT _xy nc 53 DATA_2D_XY_AV_NETCDF* out:tr * $base_data/$jobname/OUTPUT _av_xy nc 54 DATA_2D_XZ_NETCDF* out:tr * $base_data/$jobname/OUTPUT _xz nc 55 DATA_2D_XZ_AV_NETCDF* out:tr * $base_data/$jobname/OUTPUT _av_xz nc 56 DATA_2D_YZ_NETCDF* out:tr * $base_data/$jobname/OUTPUT _yz nc 57 DATA_2D_YZ_AV_NETCDF* out:tr * $base_data/$jobname/OUTPUT _av_yz nc 58 DATA_3D_NETCDF* out:tr * $base_data/$jobname/OUTPUT _3d nc 59 DATA_3D_AV_NETCDF* out:tr * $base_data/$jobname/OUTPUT _av_3d nc 60 DATA_MASK_NETCDF* out:tr * $base_data/$jobname/OUTPUT _masked nc 61 DATA_MASK_AV_NETCDF* out:tr * $base_data/$jobname/OUTPUT _av_masked nc 62 62 # 63 DATA_PRT_NETCDF* out:pe * $base_data/$ fname/OUTPUT _prt64 DATA_PRT_NETCDF* out:trpe * $base_data/$ fname/OUTPUT _prt65 PARTICLE_DATA* out:lnpe * $base_data/$ fname/OUTPUT _prt_dat63 DATA_PRT_NETCDF* out:pe * $base_data/$jobname/OUTPUT _prt 64 DATA_PRT_NETCDF* out:trpe * $base_data/$jobname/OUTPUT _prt 65 PARTICLE_DATA* out:lnpe * $base_data/$jobname/OUTPUT _prt_dat 66 66 # 67 WTM_OUTPUT_DATA* out:tr * $base_data/$ fname/MONITORING _wtm67 WTM_OUTPUT_DATA* out:tr * $base_data/$jobname/MONITORING _wtm -
palm/trunk/SCRIPTS/palmbuild
r2732 r2834 27 27 # ----------------- 28 28 # $Id: palmbuild 2718 2018-01-02 08:49:38Z maronga $ 29 # "fname" renamed to "jobname" 30 # 31 # 2718 2018-01-02 08:49:38Z maronga 29 32 # Corrected "Former revisions" section 30 33 # … … 113 116 do 114 117 case $option in 115 (d) fname=$OPTARG;;118 (d) jobname=$OPTARG;; 116 119 (h) host_configuration=$OPTARG;; 117 120 (m) makefile=$OPTARG;; … … 126 129 127 130 131 # FOR COMPATIBILITY REASONS SET OLD ENVIRONMENT VARIABLE 132 export fname=$jobname 133 134 128 135 # BUILD THE CONFIGURATION-FILE NAME AND THE SOURCES_FOR_RUN-FOLDER NAME 129 136 config_file=.palm.config.$host_configuration 130 sources_for_run_catalog=SOURCES_FOR_RUN_${host_configuration}_$ fname137 sources_for_run_catalog=SOURCES_FOR_RUN_${host_configuration}_$jobname 131 138 132 139 … … 482 489 483 490 # NEXT IS THE BRANCH FOR CREATING THE MAKE_DEPOSITORY_... 484 if [[ "$ fname" = "" ]]491 if [[ "$jobname" = "" ]] 485 492 then 486 493 … … 608 615 # INCLUDING E.G. USER-INTERFACE ROUTINES. ALSO ADD OTHER UTILITY EXECUTABLES. EVERYTHING IS 609 616 # COLLECTED IN DIRECTORY SOURCES_FOR_RUN_... 610 elif [[ "$ fname" != "" ]]617 elif [[ "$jobname" != "" ]] 611 618 then 612 619 … … 616 623 if [[ $(grep -c "sources for run found" ${host_configuration}_last_make_protocol) != 0 && $use_existing_sources_folder = true ]] 617 624 then 618 printf "\a\n *** compiled sources for run \"$ fname\" found on remote host in folder"625 printf "\a\n *** compiled sources for run \"$jobname\" found on remote host in folder" 619 626 printf "\n ${fast_io_catalog}/${sources_for_run_catalog}" 620 627 printf "\n will be used!" … … 697 704 # NEXT IS THE BRANCH FOR CREATING THE MAKE_DEPOSITORY_... ON THE 698 705 # LOCAL HOST 699 if [[ "$ fname" = "" ]]706 if [[ "$jobname" = "" ]] 700 707 then 701 708 … … 806 813 if [[ -d ${fast_io_catalog}/${sources_for_run_catalog} && $use_existing_sources_folder = true ]] 807 814 then 808 printf "\a\n *** compiled sources for run \"$ fname\" found on local host in folder"815 printf "\a\n *** compiled sources for run \"$jobname\" found on local host in folder" 809 816 printf "\n ${fast_io_catalog}/${sources_for_run_catalog}" 810 817 printf "\n will be used!" -
palm/trunk/SCRIPTS/palmrun
r2799 r2834 27 27 # ----------------- 28 28 # $Id: palmrun 2718 2018-01-02 08:49:38Z maronga $ 29 # "fname" renamed to "jobname" 30 # 31 # 2718 2018-01-02 08:49:38Z maronga 29 32 # parameters are allowed in output commands (OC:) 30 33 # … … 152 155 execution_error=false 153 156 fileconnection_file=trunk/SCRIPTS/.palm.iofiles 154 fname=test157 jobname=test 155 158 global_revision="" 156 159 host_configuration="default" … … 238 241 (B) delete_temporary_catalog=false; prc="$prc -B";; 239 242 (C) restart_run=true; prc="$prc -C";; 240 (d) fname=$OPTARG; prc="$prc -d$OPTARG";;243 (d) jobname=$OPTARG; prc="$prc -d$OPTARG";; 241 244 (F) create_jobfile_only=true;; 242 245 (G) global_revision=$OPTARG; prc="$prc -G'$OPTARG'";; … … 330 333 331 334 335 # FOR COMPATIBILITY REASONS SET OLD ENVIRONMENT VARIABLE 336 export fname=$jobname 337 338 332 339 # BUILD THE CONFIGURATION-FILE NAME AND THE SOURCES_FOR_RUN-FOLDER NAME 333 340 config_file=.palm.config.$host_configuration 334 sources_for_run_catalog=SOURCES_FOR_RUN_${host_configuration}_$ fname341 sources_for_run_catalog=SOURCES_FOR_RUN_${host_configuration}_$jobname 335 342 336 343 … … 1068 1075 eval filename=${pathin_pre[$i]}/${endin_pre[$i]} 1069 1076 else 1070 eval filename=${pathin_pre[$i]}/${ fname}${endin_pre[$i]}1077 eval filename=${pathin_pre[$i]}/${jobname}${endin_pre[$i]} 1071 1078 fi 1072 1079 … … 1100 1107 else 1101 1108 1102 # FIRST CHECK FOR MULTIPLE NAMES WITH THE SAME BASENAME ($ fname) AND1109 # FIRST CHECK FOR MULTIPLE NAMES WITH THE SAME BASENAME ($jobname) AND 1103 1110 # CREATE A LIST FOR THE DETECTED BASENAME ENDINGS 1104 1111 if [[ "${multin[$i]}" = true ]] … … 1129 1136 fi 1130 1137 1131 # remove the fname from the beginning1132 length_ fname=${#fname}1133 ending=${basefilename:${length_ fname}}1138 # remove the jobname from the beginning 1139 length_jobname=${#jobname} 1140 ending=${basefilename:${length_jobname}} 1134 1141 1135 1142 # remove the ending given in the .iofiles from the beginning … … 1193 1200 eval filename=${pathin[$nr_of_input_files]}/${endin[$nr_of_input_files]} 1194 1201 else 1195 eval filename=${pathin[$nr_of_input_files]}/${ fname}${endin[$nr_of_input_files]}1202 eval filename=${pathin[$nr_of_input_files]}/${jobname}${endin[$nr_of_input_files]} 1196 1203 fi 1197 1204 … … 1273 1280 frelin[$nr_of_input_files]=${endin[$nr_of_input_files]}.$cyclestring 1274 1281 else 1275 frelin[$nr_of_input_files]=${ fname}${endin[$nr_of_input_files]}.$cyclestring1282 frelin[$nr_of_input_files]=${jobname}${endin[$nr_of_input_files]}.$cyclestring 1276 1283 fi 1277 1284 else … … 1280 1287 frelin[$nr_of_input_files]=${endin[$nr_of_input_files]} 1281 1288 else 1282 frelin[$nr_of_input_files]=${ fname}${endin[$nr_of_input_files]}1289 frelin[$nr_of_input_files]=${jobname}${endin[$nr_of_input_files]} 1283 1290 fi 1284 1291 fi … … 1314 1321 fi 1315 1322 (( maxcycle = 0 )) 1316 eval filename=${pathout_pre[$i]}/${ fname}${endout_pre[$i]}1323 eval filename=${pathout_pre[$i]}/${jobname}${endout_pre[$i]} 1317 1324 eval catalogname=${pathout_pre[$i]} 1318 1325 if ! ls $filename* 1>/dev/null 2>&1 … … 1361 1368 then 1362 1369 run_id=$RANDOM 1363 job_id=${ fname}.$run_id1370 job_id=${jobname}.$run_id 1364 1371 1365 1372 tempdir=$fast_io_catalog/$job_id … … 1605 1612 fi 1606 1613 printf "| | \n" 1607 column1="base name of files:"; column2=$ fname1614 column1="base name of files:"; column2=$jobname 1608 1615 printf "| %-25s%-45s | \n" "$column1" "$column2" 1609 1616 column1="activation string list:"; column2=$(echo $activation_string_list) … … 1788 1795 1789 1796 # NOW CREATE THE SOURCES_FOR_RUN FOLDER 1790 palmbuild -v $use_existing_sources_folder -h $host_configuration -d $ fname1797 palmbuild -v $use_existing_sources_folder -h $host_configuration -d $jobname 1791 1798 1792 1799 if [[ $? != 0 ]] … … 2053 2060 # (FILE ENVPAR WILL BE READ BY PALM) 2054 2061 cat > ENVPAR << EOF 2055 &envpar run_identifier = '$ fname', host = '$host_configuration',2062 &envpar run_identifier = '$jobname', host = '$host_configuration', 2056 2063 write_binary = .${write_binary}., tasks_per_node = $tasks_per_node, 2057 2064 maximum_parallel_io_streams = $maximum_parallel_io_streams, … … 2303 2310 then 2304 2311 2305 eval filename=${pathout[$i]}/${ fname}${endout[$i]}2312 eval filename=${pathout[$i]}/${jobname}${endout[$i]} 2306 2313 2307 2314 # DETERMINE THE CYCLE NUMBER … … 2445 2452 transfer_failed=false 2446 2453 printf "\n >>> OUTPUT: ${localout[$i]}$catalog_string $append_string by SCP to" 2447 printf "\n ${pathout[$i]}/${host_configuration}_${ fname}${endout[$i]}$catalog_string\n"2454 printf "\n ${pathout[$i]}/${host_configuration}_${jobname}${endout[$i]}$catalog_string\n" 2448 2455 2449 2456 # TRANSFER VIA SCP 2450 2457 if [[ "$remote_loginnode" != "" ]] 2451 2458 then 2452 echo "cd $tempdir; ${fast_io_catalog}/${sources_for_run_catalog}/batch_scp $PORTOPT $catalog_option $append_option -b -m $usecycle_option -u $local_username $return_address ${localout[$i]} \"${pathout[$i]}\" ${host_configuration}_${ fname}${endout[$i]} ${extout[$i]}" | ssh -q $remote_username@$remote_loginnode2459 echo "cd $tempdir; ${fast_io_catalog}/${sources_for_run_catalog}/batch_scp $PORTOPT $catalog_option $append_option -b -m $usecycle_option -u $local_username $return_address ${localout[$i]} \"${pathout[$i]}\" ${host_configuration}_${jobname}${endout[$i]} ${extout[$i]}" | ssh -q $remote_username@$remote_loginnode 2453 2460 else 2454 batch_scp $PORTOPT $catalog_option $append_option -b -m $usecycle_option -u $local_username $return_address ${localout[$i]} "${pathout[$i]}" ${host_configuration}_${ fname}${endout[$i]} ${extout[$i]}2461 batch_scp $PORTOPT $catalog_option $append_option -b -m $usecycle_option -u $local_username $return_address ${localout[$i]} "${pathout[$i]}" ${host_configuration}_${jobname}${endout[$i]} ${extout[$i]} 2455 2462 fi 2456 2463 [[ $? != 0 ]] && transfer_failed=true … … 2461 2468 then 2462 2469 printf " +++ transfer failed. Trying to save a copy on this host under:\n" 2463 printf " ${pathout[$i]}/${host_configuration}_${ fname}${endout[$i]}_$run_id\n"2470 printf " ${pathout[$i]}/${host_configuration}_${jobname}${endout[$i]}_$run_id\n" 2464 2471 2465 2472 # FIRST CHECK, IF DIRECTORY EXISTS, AND CREATE IT, IF NECESSARY … … 2471 2478 mkdir -p $local_catalog 2472 2479 fi 2473 eval cp ${localout[$i]} ${pathout[$i]}/${host_configuration}_${ fname}${endout[$i]}_$run_id2480 eval cp ${localout[$i]} ${pathout[$i]}/${host_configuration}_${jobname}${endout[$i]}_$run_id 2474 2481 transfer_problems=true 2475 2482 fi … … 2679 2686 2680 2687 # BUILD THE PALMRUN-COMMAND TO BE CALLED IN THE BATCH-JOB 2681 palmrun_com="$palmrun_script_name -d $ fname -h $host_configuration -m $memory -t $cpumax -q $queue -r $run_id -U $local_username"2688 palmrun_com="$palmrun_script_name -d $jobname -h $host_configuration -m $memory -t $cpumax -q $queue -r $run_id -U $local_username" 2682 2689 [[ "$activation_string_list" != "" ]] && palmrun_com=${palmrun_com}" -a \"$activation_string_list\"" 2683 2690 [[ "$global_revision" != "" ]] && palmrun_com=${palmrun_com}" -G \"$global_revision\"" … … 2761 2768 2762 2769 echo "set -x" >> $jobfile 2763 echo "${fast_io_catalog}/${sources_for_run_catalog}/batch_scp $PORTOPT -d -w 10 -u $local_username $local_ip $job_protocol_file_remote \"$local_jobcatalog\" ${host_configuration}_${ fname}" >> $jobfile2770 echo "${fast_io_catalog}/${sources_for_run_catalog}/batch_scp $PORTOPT -d -w 10 -u $local_username $local_ip $job_protocol_file_remote \"$local_jobcatalog\" ${host_configuration}_${jobname}" >> $jobfile 2764 2771 echo "%%END%%" >> $jobfile 2765 2772 echo "echo \" *** submitting job for transfering the job protocol file to $local_ip\" " >> $jobfile
Note: See TracChangeset
for help on using the changeset viewer.