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
When I'm trying DRMAA python binding to submit a job, it's failed and here are the summary of error:
Creating job template
Traceback (most recent call last):
File "runme.py", line 23, in
main()
File "runme.py", line 16, in main
jobid = s.runJob(jt)
File "/ibex/sw/csi/slurm-drmaa/1.2.0-dev/el7.9_gnu6.4.0/miniconda2/lib/python2.7/site-packages/drmaa/session.py", line 314, in runJob
c(drmaa_run_job, jid, sizeof(jid), jobTemplate)
File "/ibex/sw/csi/slurm-drmaa/1.2.0-dev/el7.9_gnu6.4.0/miniconda2/lib/python2.7/site-packages/drmaa/helpers.py", line 302, in c
return f(*(args + (error_buffer, sizeof(error_buffer))))
File "/ibex/sw/csi/slurm-drmaa/1.2.0-dev/el7.9_gnu6.4.0/miniconda2/lib/python2.7/site-packages/drmaa/errors.py", line 151, in error_check
raise _ERRORScode - 1
drmaa.errors.ConflictingAttributeValuesException: code 15: drmaa_join_files is set and output file is not given
Here is the Python code:
cat runme.py
#!/usr/bin/env python
import drmaa
import os
def main():
"""
Submit a job.
Note, need file called sleeper.sh in current directory.
"""
with drmaa.Session() as s:
print('Creating job template')
jt = s.createJobTemplate()
jt.remoteCommand = os.path.join(os.getcwd(), 'sleeper.sh')
jt.args = ['42', 'Simon says:']
jt.joinFiles=True
jobid = s.runJob(jt)
print('Your job has been submitted with ID %s' % jobid)
print('Cleaning up')
s.deleteJobTemplate(jt)
if name=='main':
main()
Please advise me the solution. Are we missing something?
Your suggestion is much appreciated!
Thanks and Regards,
Naga
The text was updated successfully, but these errors were encountered:
IBEXCluster
changed the title
Segmentation fault in job submission
drmaa.errors.Conflicting in job submission
May 22, 2023
Dear team,
We have the following system environment:
We compiled the latest version of slurm-drmaa as follows:
We defined the following environment variables:
When I'm trying DRMAA python binding to submit a job, it's failed and here are the summary of error:
Here is the Python code:
Please advise me the solution. Are we missing something?
Your suggestion is much appreciated!
Thanks and Regards,
Naga
The text was updated successfully, but these errors were encountered: