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

Initialise JOBID to be equal to $1 #1

Closed
wants to merge 1 commit into from

Conversation

damienfrancois
Copy link

This script did not work for me as $JOBID does not seem to be defined at all ; it complained that The job is not running, it has state=JobState=PENDING JobState=PENDING JobState=PENDING ... with the list of states for all jobs in the system.

This script did not work for me as `$JOBID` does not seem to be defined at all ; it complained that `The job is not running, it has state=JobState=PENDING JobState=PENDING JobState=PENDING ...` with the list of states for all jobs in the system.
@OleHolmNielsen
Copy link
Owner

Hi Damien, thanks a lot! It seems I forgot to update the script in Git, after I fixed the bug on our production cluster. I updated the psjob script in Git now, can you kindly test it?
Sorry that I'm not very experienced in Git collaboration yet...
Best regards,
Ole

@damienfrancois
Copy link
Author

It works for me, thanks, but did you intentionally duplicate the test on lines 19-23 at lines 48-52?

@OleHolmNielsen
Copy link
Owner

Sorry, I was being too sloppy :-( Is the new version better?

@damienfrancois
Copy link
Author

Yes, and thanks for sharing your tools!

@OleHolmNielsen
Copy link
Owner

You're welcome. I use the pestat tool myself all the time, and psjob to check what a job is doing on the compute nodes. I'm glad if others find these tools useful!

@damienfrancois damienfrancois deleted the patch-1 branch May 24, 2018 14:14
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.

None yet

2 participants