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
My guess (?) is that self._remote_func_filename is not defined since the RuntimeError was raised.
How can we reproduce the issue?
importcovalentasctimporttimeexecutor=ct.executor.SlurmExecutor(<redacted>)
@ct.lattice@ct.electron(executor=executor)defadd(val1,val2):
time.sleep(10000) # make sure the walltime is less than thisreturnval1+val2dispatch_id=ct.dispatch(add)(1,2)
result=ct.get_result(dispatch_id,wait=True)
print(result)
What should happen?
The covalent task should abort gracefully.
Any suggestions?
I think this error happens anytime the job dies unexpectedly (e.g. hits the walltime or otherwise). It doesn't seem to "terminate gracefully."
Addendum
It seems that adding the parsable: "" option fixes the lack of a returned status but otherwise the same issue arises.
The text was updated successfully, but these errors were encountered:
Andrew-S-Rosen
changed the title
self._remote_func_filename is not defined when a SLURM job doesn't completeself._remote_func_filename is not defined when a SLURM job hits the walltime
Jun 2, 2023
Environment
develop
here so that I could log in. The code in question should not be impacted by this branch.What is happening?
I tried submitting a SLURM job and got the following traceback.
My guess (?) is that
self._remote_func_filename
is not defined since theRuntimeError
was raised.How can we reproduce the issue?
What should happen?
The covalent task should abort gracefully.
Any suggestions?
I think this error happens anytime the job dies unexpectedly (e.g. hits the walltime or otherwise). It doesn't seem to "terminate gracefully."
Addendum
It seems that adding the
parsable: ""
option fixes the lack of a returned status but otherwise the same issue arises.The text was updated successfully, but these errors were encountered: