Changeset 4849


Ignore:
Timestamp:
Jan 21, 2021 4:22:54 PM (8 months ago)
Author:
raasch
Message:

check for usernames added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palmrun

    r4843 r4849  
    2222# Current revisions:
    2323# ------------------
    24 # 
    25 # 
     24#
     25#
    2626# Former revisions:
    2727# -----------------
    2828# $Id$
     29# check for usernames added
     30#
     31# 4843 2021-01-15 15:22:11Z raasch
    2932# handling of single restart files (created with MPI-I/O) added
    3033#
     
    678681        fi
    679682
     683           # CHECK IF A REMOTE USER NAME HAS BEEN SET
     684        if [[ "$remote_username" = "" ]]
     685        then
     686           printf "\n\n  +++ no remote_username has been set in the configuration file"
     687           printf "\n"
     688           locat=config_file; exit
     689        fi
    680690     fi
    681691     running_on_remote=false
    682692 fi
    683693
     694
     695           # CHECK IF A REMOTE USER NAME HAS BEEN SET
     696 if [[ $create_batch_job = true  &&  "$local_username" = "" ]]
     697 then
     698    printf "\n\n  +++ no local_username has been set in the configuration file"
     699    printf "\n"
     700    locat=config_file; exit
     701 fi
    684702
    685703    # SET THE DEFAULT FILE CONNECTION FILE (WHICH IS IN THE REPOSITORY)
Note: See TracChangeset for help on using the changeset viewer.