Changeset 3455 for palm/trunk/SCRIPTS
- Timestamp:
- Oct 30, 2018 2:12:31 PM (6 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/.palm.config.crayh
r3346 r3455 8 8 %user_source_path $base_directory/JOBS/$run_identifier/USER_CODE 9 9 %fast_io_catalog /gfs2/work/niksiraa 10 %local_jobcatalog /home/raasch/job_ queue11 %remote_jobcatalog /home/h/niksiraa/job_ queue10 %local_jobcatalog /home/raasch/job_logfiles 11 %remote_jobcatalog /home/h/niksiraa/job_logfiles 12 12 # 13 13 %local_ip 130.75.105.103 -
palm/trunk/SCRIPTS/.palm.config.default
r3236 r3455 22 22 23 23 # folder for job protocols 24 #%local_jobcatalog $HOME/job_ queue24 #%local_jobcatalog $HOME/job_logfiles 25 25 26 26 # folder for job protocols to be used on the remote host -
palm/trunk/SCRIPTS/.palm.config.default.in
r3236 r3455 15 15 %user_source_path @CMAKE_INSTALL_PREFIX@/JOBS/$run_identifier/USER_CODE 16 16 %fast_io_catalog @CMAKE_INSTALL_PREFIX@/tmp 17 %local_jobcatalog @CMAKE_INSTALL_PREFIX@/job_ queue17 %local_jobcatalog @CMAKE_INSTALL_PREFIX@/job_logfiles 18 18 #%remote_jobcatalog <path/to/directory> 19 19 # -
palm/trunk/SCRIPTS/.palm.config.default_trace
r3236 r3455 22 22 23 23 # folder for job protocols 24 #%local_jobcatalog $HOME/job_ queue24 #%local_jobcatalog $HOME/job_logfiles 25 25 26 26 # folder for job protocols to be used on the remote host -
palm/trunk/SCRIPTS/.palm.config.idefix
r3346 r3455 9 9 %base_directory $HOME/palm/current_version 10 10 %fast_io_catalog /work/<replace_by_your_IDEFIX_username> 11 %local_jobcatalog $HOME/job_ queue11 %local_jobcatalog $HOME/job_logfiles 12 12 %output_path /work/<replace_by_your_IDEFIX_username>/JOBS/$run_identifier 13 %remote_jobcatalog $HOME/job_ queue13 %remote_jobcatalog $HOME/job_logfiles 14 14 %source_path $HOME/palm/current_version/trunk/SOURCE 15 15 %user_source_path $base_directory/JOBS/$run_identifier/USER_CODE -
palm/trunk/SCRIPTS/palmbuild
r3312 r3455 27 27 # ----------------- 28 28 # $Id$ 29 # options -h and -d renamed -c and -r, respectively 30 # 31 # 3312 2018-10-06 14:15:46Z knoop 29 32 # "host identifier" in header output renamed "config. identifier", 30 33 # host_configuration renamed configuration_identifier, … … 127 130 128 131 # READ SHELLSCRIPT-OPTIONS 129 while getopts : d:h:uvV option132 while getopts :c:r:uvV option 130 133 do 131 134 case $option in 132 ( d) run_identifier=$OPTARG;;133 ( h) configuration_identifier=$OPTARG;;135 (c) configuration_identifier=$OPTARG;; 136 (r) run_identifier=$OPTARG;; 134 137 (v) silent=true;; 135 138 (V) use_existing_sources_folder=true;; … … 138 141 esac 139 142 done 140 141 142 # FOR COMPATIBILITY REASONS SET OLD ENVIRONMENT VARIABLES143 export fname=$run_identifier144 export jobname=$run_identifier145 143 146 144 … … 871 869 printf "\n +++ directory for local make depository:" 872 870 printf "\n $make_depository" 873 printf "\n not found. Please run \"palmbuild - h$configuration_identifier\" "871 printf "\n not found. Please run \"palmbuild -c $configuration_identifier\" " 874 872 locat=make_depository; exit 875 873 fi -
palm/trunk/SCRIPTS/palmrun
r3402 r3455 27 27 # ----------------- 28 28 # $Id$ 29 # options -h and -d renamed -c and -r, respectively 30 # 31 # 3402 2018-10-23 11:49:24Z knoop 29 32 # job_id is set for compatibility reasons with older versions of config files 30 33 # … … 288 291 # READ SHELLSCRIPT-OPTIONS AND REBUILD THE PALMRUN-COMMAND STRING (prc), 289 292 # WHICH WILL BE USED TO START RESTART-JOBS 290 while getopts :a:A:bB Cd:FG:h:i:jkm:M:O:q:R:s:t:T:u:U:vVw:W:xX:yY:zZ option293 while getopts :a:A:bBc:CFG:i:jkm:M:O:q:r:R:s:t:T:u:U:vVw:W:xX:yY:zZ option 291 294 do 292 295 case $option in … … 295 298 (b) create_batch_job=true; prc="$prc -b";; 296 299 (B) delete_temporary_catalog=false; prc="$prc -B";; 300 (c) configuration_identifier=$OPTARG; prc="$prc -c$OPTARG";; 297 301 (C) restart_run=true; prc="$prc -C";; 298 (d) run_identifier=$OPTARG; prc="$prc -d$OPTARG";;299 302 (F) create_jobfile_only=true;; 300 303 (G) global_revision=$OPTARG; prc="$prc -G'$OPTARG'";; 301 (h) configuration_identifier=$OPTARG; prc="$prc -h$OPTARG";;302 304 (i) run_id_number=$OPTARG;; 303 305 (j) running_in_batch_mode=true;; … … 307 309 (O) use_openmp=true; threads_per_task=$OPTARG; prc="$prc -O$OPTARG";; 308 310 (q) queue=$OPTARG; prc="$prc -q$OPTARG";; 311 (r) run_identifier=$OPTARG; prc="$prc -r$OPTARG";; 309 312 (R) return_address=$OPTARG;; 310 313 (s) source_list=$OPTARG;; … … 344 347 printf "\n -b batch-job on local machine ---" 345 348 printf "\n -B do not delete temporary directory at end ---" 346 printf "\n - d run identifier test"349 printf "\n -c configuration identifier \"default\" " 347 350 printf "\n -F create batch job file only ---" 348 printf "\n -h host configuration \"default\" "349 351 printf "\n -k keep data from previous run" 350 352 printf "\n -m memory demand in MB (batch-jobs) 0 MB" … … 352 354 printf "\n -O threads per openMP task ---" 353 355 printf "\n -q queue \"$queue\" " 356 printf "\n -r run identifier test" 354 357 printf "\n -s filenames of routines to be compiled \"\" " 355 358 printf "\n must end with .f, .f90, .F, or .c !" … … 387 390 printf "\n*** $version " 388 391 printf "\n will be executed. Please wait ..." 389 390 391 # FOR COMPATIBILITY REASONS SET OLD ENVIRONMENT VARIABLES392 export fname=$run_identifier393 export jobname=$run_identifier394 392 395 393 … … 1869 1867 if [[ $do_trace = true ]] 1870 1868 then 1871 palmbuild - h$configuration_identifier1869 palmbuild -c $configuration_identifier 1872 1870 else 1873 palmbuild -v - h$configuration_identifier1871 palmbuild -v -c $configuration_identifier 1874 1872 fi 1875 1873 … … 1888 1886 1889 1887 # NOW CREATE THE SOURCES_FOR_RUN FOLDER 1890 palmbuild -v $use_existing_sources_folder - h $configuration_identifier -d$run_identifier1888 palmbuild -v $use_existing_sources_folder -c $configuration_identifier -r $run_identifier 1891 1889 1892 1890 if [[ ${PIPESTATUS[0]} != 0 ]] … … 2778 2776 printf "\n$dashes\n +++ creating restart run failed \n" 2779 2777 locat=create_restart 2778 rm palmrun_restart.log 2780 2779 exit 2781 rm palmrun_restart.log2782 2780 else 2783 2781 printf "\n$dashes\n *** restart run initiated \n" … … 2815 2813 2816 2814 # BUILD THE PALMRUN-COMMAND TO BE CALLED IN THE BATCH-JOB 2817 palmrun_com="$palmrun_script_name - d $run_identifier -h$configuration_identifier -m $memory -t $cpumax -q $queue -i $run_id_number -U $local_username"2815 palmrun_com="$palmrun_script_name -r $run_identifier -c $configuration_identifier -m $memory -t $cpumax -q $queue -i $run_id_number -U $local_username" 2818 2816 [[ "$activation_string_list" != "" ]] && palmrun_com=${palmrun_com}" -a \"$activation_string_list\"" 2819 2817 [[ "$global_revision" != "" ]] && palmrun_com=${palmrun_com}" -G \"$global_revision\""
Note: See TracChangeset
for help on using the changeset viewer.