PBSCluster.control_one_job() issue

Asked by Julien Maurer

  Hello,

In the function PBSCluster.control_one_job(), the (new) variable jobstatus is not initialized when qstat doesn't return any information related to the tested jobID, i.e. when the job is complete. This raises an exception on lines 1037-1041 which are referring to this variable. You might want to add something like jobstatus="" before l.1025, which would (I think) lead to the expected behaviour.
This issue occurs in latest branch 2.1.0 due to the recent variable renaming.

Cheers,
Julien

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
Last query:
Last reply:
Revision history for this message
Best Olivier Mattelaer (olivier-mattelaer) said :
#1

Thanks,

I’ve pushed this for the 2.1.1 release.

Cheers,

Olivier

On Feb 23, 2014, at 2:06 PM, Julien Maurer <email address hidden> wrote:

> New question #244437 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/244437
>
> Hello,
>
> In the function PBSCluster.control_one_job(), the (new) variable jobstatus is not initialized when qstat doesn't return any information related to the tested jobID, i.e. when the job is complete. This raises an exception on lines 1037-1041 which are referring to this variable. You might want to add something like jobstatus="" before l.1025, which would (I think) lead to the expected behaviour.
> This issue occurs in latest branch 2.1.0 due to the recent variable renaming.
>
> Cheers,
> Julien
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Julien Maurer (jln-maurer) said :
#2

Thanks Olivier Mattelaer, that solved my question.