- Timestamp:
- Apr 4, 2019 6:23:27 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palmrun
r3725 r3860 27 27 # ----------------- 28 28 # $Id$ 29 # check added, that it is not allowed to set option -b if the configuration file has been setup 30 # for running batch jobs on remote hosts, 31 # local time added to terminal output before and after saving output files 32 # 33 # 3725 2019-02-07 10:11:02Z raasch 29 34 # error messages for failed restarts extended 30 35 # … … 612 617 if [[ "$fast_io_catalog" = "" ]] 613 618 then 614 printf "\n +++ no fast_io_catalog found in $config_file"619 printf "\n\n +++ no fast_io_catalog found in $config_file" 615 620 printf "\n Please add line \"fast_io_catalog ...\" to that file." 616 621 locat=config_file; exit … … 618 623 if [[ "$compiler_name" = "" ]] 619 624 then 620 printf "\n +++ no compiler name found in $config_file"625 printf "\n\n +++ no compiler name found in $config_file" 621 626 printf "\n Please add line \"compiler_name ...\" to that file." 622 627 locat=config_file; exit … … 624 629 if [[ "$compiler_name_ser" = "" ]] 625 630 then 626 printf "\n +++ no compiler name for non-paralle compilation found in $config_file"631 printf "\n\n +++ no compiler name for non-paralle compilation found in $config_file" 627 632 printf "\n Please add line \"compiler_name_ser ...\" to that file." 628 633 locat=config_file; exit … … 630 635 if [[ "$compiler_options" = "" ]] 631 636 then 632 printf "\n +++ no compiler options found in $config_file"637 printf "\n\n +++ no compiler options found in $config_file" 633 638 printf "\n Please add line \"compiler_options ...\" to that file." 634 639 locat=config_file; exit … … 636 641 if [[ "$execute_command" = "" ]] 637 642 then 638 printf "\n +++ no execute command found in $config_file"643 printf "\n\n +++ no execute command found in $config_file" 639 644 printf "\n Please add line \"execute_command ...\" to that file." 640 645 locat=config_file; exit … … 645 650 if [[ $hostfile != auto && ! -f $hostfile ]] 646 651 then 647 printf "\n +++ no hostfile \"$hostfile\" found"652 printf "\n\n +++ no hostfile \"$hostfile\" found" 648 653 printf "\n Please check line \"hostfile ...\" in $config_file" 649 654 locat=config_file; exit … … 672 677 if [[ "$remote_jobcatalog" = "" ]] 673 678 then 674 printf "\n +++ no remote jobcatalog found in $config_file"679 printf "\n\n +++ no remote jobcatalog found in $config_file" 675 680 printf "\n Please add line \"remote_jobcatalog ...\" to that file." 676 681 locat=config_file; exit 677 682 fi 678 683 684 # CHECK THAT OPTION -b (SUBMITTING BATCH JOB ON LOCAL HOST) HASN'T BEEN SET 685 if [[ $create_batch_job = true ]] 686 then 687 printf "\n\n +++ option -b must not be set because configuration file has been setup" 688 printf "\n for running jobs on a remote host" 689 locat=config_file; exit 690 fi 679 691 680 692 fi … … 2427 2439 if (( i == 1 )) 2428 2440 then 2429 printf "\n\n *** saving OUTPUT-files:" 2441 timestring=`date +%H:%M:%S` 2442 printf "\n\n *** saving OUTPUT-files: local time: $timestring" 2430 2443 2431 2444 # GET RUN NUMBER ASSIGNED BY PALM … … 2735 2748 if (( i != 0 )) 2736 2749 then 2750 timestring=`date +%H:%M:%S` 2737 2751 if [[ $transfer_problems = true ]] 2738 2752 then 2739 printf "\n$dashes\n *** OUTPUT-files saved "2753 printf "\n$dashes\n *** OUTPUT-files saved local time: $timestring" 2740 2754 printf "\n +++ WARNING: some data transfers failed! \n" 2741 2755 else 2742 printf "\n$dashes\n *** all OUTPUT-files saved \n"2756 printf "\n$dashes\n *** all OUTPUT-files saved local time: $timestring \n" 2743 2757 fi 2744 2758 fi
Note: See TracChangeset
for help on using the changeset viewer.