You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get_job_info() uses qstat to obtain the job information. This is wrapped in a tenancity retry block that retries the qstat command for 10s. However it's been failing as the 'PBS_EXEC' environment variable does not exist during the jobs, so no PBS job info is being logged out.
Changing the above line to cmd = f"qstat {qflag}" seems to work OK.
There's also an issue with PBS scheduler specific functions getting imported in the main experiment class - which may not work once running with other schedulers:
There's a
job.yaml
that gets written out duringpayu run
job once the model has been run that outputs information about the payu job, e.g.Currently it is being generated from within the
Experiment.run()
method:payu/payu/experiment.py
Lines 675 to 701 in 20a8e76
get_job_info()
usesqstat
to obtain the job information. This is wrapped in a tenancity retry block that retries the qstat command for 10s. However it's been failing as the 'PBS_EXEC' environment variable does not exist during the jobs, so no PBS job info is being logged out.payu/payu/schedulers/pbs.py
Lines 206 to 207 in 20a8e76
Changing the above line to
cmd = f"qstat {qflag}"
seems to work OK.There's also an issue with PBS scheduler specific functions getting imported in the main experiment class - which may not work once running with other schedulers:
payu/payu/experiment.py
Line 34 in 20a8e76
The text was updated successfully, but these errors were encountered: