Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/87 add status script #145

Closed
wants to merge 17 commits into from

Conversation

leskiw77
Copy link

@leskiw77 leskiw77 commented Sep 3, 2018

This closes #87

@codecov
Copy link

codecov bot commented Sep 5, 2018

Codecov Report

Merging #145 into master will decrease coverage by 2.81%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #145      +/-   ##
==========================================
- Coverage   63.82%   61.01%   -2.82%     
==========================================
  Files          12       13       +1     
  Lines         868      967      +99     
  Branches        0      150     +150     
==========================================
+ Hits          554      590      +36     
- Misses        314      315       +1     
- Partials        0       62      +62
Impacted Files Coverage Δ
mcpartools/generator.py 65.34% <100%> (-8.16%) ⬇️
mcpartools/scheduler/base.py 90.47% <100%> (+1.58%) ⬆️
mcpartools/scheduler/slurm.py 100% <100%> (ø) ⬆️
mcpartools/scheduler/torque.py 100% <100%> (ø) ⬆️
mcpartools/mcengine/shieldhit.py 55.27% <0%> (-8.7%) ⬇️
mcpartools/generatemc.py 74.35% <0%> (-7.7%) ⬇️
mcpartools/_version.py 35.74% <0%> (-7.59%) ⬇️
mcpartools/mcengine/common.py 76.47% <0%> (-5.89%) ⬇️
mcpartools/mcengine/mcengine.py 55.55% <0%> (-4.45%) ⬇️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6230b61...fa6f8da. Read the comment docs.

@grzanka
Copy link
Collaborator

grzanka commented Nov 9, 2018

Log files at written in running directory, I'd rather expect them to be written in the workspace:

# plgkongruencj at login01.pro.cyfronet.pl in /net/scratch/people/plgkongruencj/kudyy/mcpartools/1 on git:feature/87-add-status-script ✖︎ [19:30:38]
→ ls aaa/run_20181109_192830 
collect.sh  generatemc.log  input  log  output  status.sh  submit.log  submit.sh  workspace

# plgkongruencj at login01.pro.cyfronet.pl in /net/scratch/people/plgkongruencj/kudyy/mcpartools/1 on git:feature/87-add-status-script ✖︎ [19:30:41]
→ ./aaa/run_20181109_192830/status.sh 
Status successfully saved to file: status_20181109_193049.log

# plgkongruencj at login01.pro.cyfronet.pl in /net/scratch/people/plgkongruencj/kudyy/mcpartools/1 on git:feature/87-add-status-script ✖︎ [19:30:49]
→ ls aaa/run_20181109_192830         
collect.sh  generatemc.log  input  log  output  status.sh  submit.log  submit.sh  workspace

# plgkongruencj at login01.pro.cyfronet.pl in /net/scratch/people/plgkongruencj/kudyy/mcpartools/1 on git:feature/87-add-status-script ✖︎ [19:30:51]
→ ls                        
aaa  status_20181109_193049.log

@grzanka
Copy link
Collaborator

grzanka commented Nov 9, 2018

I'd also expect the status script to print on the screen basic information, like:

############### EXECUTION TIME IN SECONDS #################
     ID                 TIME      STATUS                   
      1                   50           0
      2                   47           0
      3                   45           0
      4                   46           0
      5                   58           0

In the log file more details should be dumped.
I'd expect users to call status script multiple times, just to inspect what it prints on screen.

It is not necessary to write it to separate file each time (single status.log is enough)

@@ -11,13 +11,14 @@ ERR=`mktemp`
# On exit or if the script is interrupted (i.e. by receiving SIGINT signal) delete temporary files
trap "rm -f $OUT $ERR" EXIT

qsub {options_args:s} -t 1-{jobs_no:d} -o {log_dir:s} -e {log_dir:s} -terse {script_dir:s}/{calculate_script_name:s} > $OUT 2> $ERR
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why -terse was removed ?


if [[ ${{SUCCESSES}} -ne 0 ]]
then
echo "# AVERAGE TIME [s]= `printf "%20d" $(($TOTAL_TIME / $SUCCESSES))`" >> ${{LOG_FILE}}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Time of longest job would be nice to have

Copy link
Collaborator

@grzanka grzanka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

few minor improvements

@@ -242,3 +248,15 @@ def save_logs(self):
file_logger.info('Date and time: ' + time.strftime("%Y-%m-%d %H:%M:%S"))
file_logger.info('username@hostname: ' + getpass.getuser() + '@' + socket.gethostname())
file_logger.info('Current working directory: ' + os.getcwd())

def generate_merge_logs_script(self):
wspdir_name = 'workspace'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Take a look some lines above:

def generate_workspace(self):
   wspdir_name = 'workspace'

this would be a second use of this hardcoded string. Third one will be below in generate_status_script.

I'd recommend to extract it to a class variable in order not to break DRY rule.

@@ -16,6 +16,7 @@ def __init__(self):
@classmethod
def get_scheduler(cls, scheduler_options, log_location):
file_logger = logging.getLogger('file_logger')

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please avoid commiting extra empty lines

@grzanka
Copy link
Collaborator

grzanka commented Nov 9, 2018

Final thoughts/tasks:

  • print condensed message on the screen
  • in the printed information include information whether job is pending/running/completed, when it has started, and how long did it took (if completed)
  • single log file instead of multiple ones
  • saving log file into workspace directory

@grzanka
Copy link
Collaborator

grzanka commented Nov 21, 2018

Try running the submit script, but please deliberately forget to type source $PLG_GROUPS_SHARED/plggccbmc/software/setup.sh

In this case all jobs will fail, as shieldhit binary won't be found. I'd expect to see it nicely in status script, but instead I see:

# plgkongruencj at login01.pro.cyfronet.pl in /net/scratch/people/plgkongruencj/kudyy/mcpartools/1 on git:feature/87-add-status-script ✖︎ [9:47:57]
→ ./aaa/run_20181121_094738/status.sh 
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 4: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 5: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 6: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 7: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 8: workspace/status_20181121_094800.log: No such file or directory
    ID                START                  END     STATUS   TIME
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 97: workspace/status_20181121_094800.log: No such file or directory
     1  2018-11-21T09:47:48                    -                  
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 97: workspace/status_20181121_094800.log: No such file or directory
     2  2018-11-21T09:47:48                    -                  
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 97: workspace/status_20181121_094800.log: No such file or directory
     3  2018-11-21T09:47:48                    -                  
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 97: workspace/status_20181121_094800.log: No such file or directory
     4  2018-11-21T09:47:48                    -                  
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 97: workspace/status_20181121_094800.log: No such file or directory
     5  2018-11-21T09:47:48                    -                  
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 100: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 106: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 107: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 108: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 109: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 110: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 114: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 114: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 114: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 114: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 114: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 116: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 144: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 144: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 144: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 144: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 144: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 182: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 160: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 161: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 162: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 163: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 164: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 165: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 166: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 173: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 174: workspace/status_20181121_094800.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/merge_logs.sh: line 177: workspace/status_20181121_094800.log: No such file or directory
Unable to create status file

While in the log files there is a clear message:

# plgkongruencj at login01.pro.cyfronet.pl in /net/scratch/people/plgkongruencj/kudyy/mcpartools/1 on git:feature/87-add-status-script ✖︎ [9:50:35]
→ cat aaa/run_20181121_094738/log/error_14283186_1.log
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_094738/workspace/job_0001/run.sh: line 44: shieldhit: command not found

@grzanka
Copy link
Collaborator

grzanka commented Nov 21, 2018

Executing status script while jobs are running in normal mode also ends up with weird message:

# plgkongruencj at login01.pro.cyfronet.pl in /net/scratch/people/plgkongruencj/kudyy/mcpartools/1 on git:feature/87-add-status-script ✖︎ [9:52:08]
→ ./aaa/run_20181121_095142/status.sh 
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 4: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 5: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 6: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 7: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 8: workspace/status_20181121_095213.log: No such file or directory
    ID                START                  END     STATUS   TIME
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 97: workspace/status_20181121_095213.log: No such file or directory
     1  2018-11-21T09:51:54                    -          R     12
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 97: workspace/status_20181121_095213.log: No such file or directory
     2  2018-11-21T09:51:54                    -          R     12
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 97: workspace/status_20181121_095213.log: No such file or directory
     3  2018-11-21T09:51:54                    -          R     12
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 97: workspace/status_20181121_095213.log: No such file or directory
     4  2018-11-21T09:51:54                    -          R     12
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 97: workspace/status_20181121_095213.log: No such file or directory
     5  2018-11-21T09:51:54                    -          R     12
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 100: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 106: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 107: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 108: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 109: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 110: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 114: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 114: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 114: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 114: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 114: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 116: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 144: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 144: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 144: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 144: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 144: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 160: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 161: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 162: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 163: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 164: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 165: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 166: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 173: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 174: workspace/status_20181121_095213.log: No such file or directory
/net/scratch/people/plgkongruencj/kudyy/mcpartools/1/aaa/run_20181121_095142/workspace/merge_logs.sh: line 177: workspace/status_20181121_095213.log: No such file or directory
Unable to create status file

@grzanka
Copy link
Collaborator

grzanka commented Nov 22, 2018

I've did another stupid thing: started submit script from worker node. Of course the submission failed (it can be only done from login node).

But the status script showed me some strange message:

# plgkongruencj at p2286 in /net/scratch/people/plgkongruencj/kudyy/mcpartools on git:feature/87-add-status-script ✖︎ [12:37:05]
→ ./aaa/run_20181122_123643/submit.sh 
Saving logs to /net/scratch/people/plgkongruencj/kudyy/mcpartools/aaa/run_20181122_123643/submit.log

# plgkongruencj at p2286 in /net/scratch/people/plgkongruencj/kudyy/mcpartools on git:feature/87-add-status-script ✖︎ [12:37:17]
→ ./aaa/run_20181122_123643/status.sh
    ID                START                  END     STATUS   TIME
cat: /net/scratch/people/plgkongruencj/kudyy/mcpartools/aaa/run_20181122_123643/workspace/job_0001/info.log: No such file or directory
Cannot get start time from /net/scratch/people/plgkongruencj/kudyy/mcpartools/aaa/run_20181122_123643/workspace/job_0001/info.log file
cat: /net/scratch/people/plgkongruencj/kudyy/mcpartools/aaa/run_20181122_123643/workspace/job_0002/info.log: No such file or directory
Cannot get start time from /net/scratch/people/plgkongruencj/kudyy/mcpartools/aaa/run_20181122_123643/workspace/job_0002/info.log file
cat: /net/scratch/people/plgkongruencj/kudyy/mcpartools/aaa/run_20181122_123643/workspace/job_0003/info.log: No such file or directory
Cannot get start time from /net/scratch/people/plgkongruencj/kudyy/mcpartools/aaa/run_20181122_123643/workspace/job_0003/info.log file
cat: /net/scratch/people/plgkongruencj/kudyy/mcpartools/aaa/run_20181122_123643/workspace/job_0004/info.log: No such file or directory
Cannot get start time from /net/scratch/people/plgkongruencj/kudyy/mcpartools/aaa/run_20181122_123643/workspace/job_0004/info.log file
cat: /net/scratch/people/plgkongruencj/kudyy/mcpartools/aaa/run_20181122_123643/workspace/job_0005/info.log: No such file or directory
Cannot get start time from /net/scratch/people/plgkongruencj/kudyy/mcpartools/aaa/run_20181122_123643/workspace/job_0005/info.log file
Status successfully saved to file: workspace/status_20181122_123719.log

I'd rather expect a single line telling me that the submission failed and no jobs are in running or pending state.

@leskiw77 leskiw77 closed this Nov 23, 2018
@leskiw77
Copy link
Author

#175

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add status script
2 participants