Closed hlasimpk closed 7 years ago
What about adding permit_nonzero=True
? Error messages are only raised in cases of non-zero return codes, which a failed call returns.
Avoiding the print message to the screen would mean a change in mbkit
, which would give us otherwise unwanted problems.
This is run with:
# Execute the scripts
j = mbkit.dispatch.Job(submit_qtype)
j.submit(run_scripts, directory=self.output_dir, nproc=nproc, name='simbad_mr', submit_queue=submit_queue)
if self.early_term:
j.wait(monitor=monitor, check_success=mr_succeeded_log)
else:
j.wait(monitor=monitor)
isn't permit_nonzero=True
in cexec
?
You can provide the permit_nonzero=True
to the submit()
call.
j.submit(run_scripts, directory=self.output_dir, nproc=nproc, name='simbad_mr',
submit_queue=submit_queue, permit_nonzero=True)
The keyword will get carried forward.
General Information
Not game breaking but ugly, when running SIMBAD on 100 cores MR the early termination feature is essentially ignored. Because MR is run on every structure some will completely fail and not produce a
molrep.pdb
, this creates an ugly error message from refmac and fft due to not being able to find an input file.The error message should be confined to the debug log.
Example
A minimal example to reproduce the error:
Traceback
The Python traceback