Dear Sjors,
I'm in the process of configuring a "Standard submission script" for the
MBU's SLURM installation, and I've tripped over a behaviour of Relion
that confused me for a while:
When generating the submission script for a particular run, Relion
replaces *all* the instances of the defined variables (XXXqueueXXX,
XXXmpinodesXXX etc.) in the template, with the exception of
XXXcommandXXX. For this variable, only the *first* instance is
replaced. Is this intentional?
(It seems to be a consequence of the logic in lines 316-320 in
gui_jobwindow.cpp - all the previous replacements are done with
replaceStringAll() but XXXcommandXXX is done with one call to
appendLineString() and then a number of calls to replaceStringOnce(). I
can't immediately see how to make it more general!)
Best regards,
Andrew
--
Dr. Andrew Raine, Head of IT, MRC Mitochondrial Biology Unit,
Wellcome Trust/MRC Building, Hills Road, Cambridge, CB2 0XY, UK
phone: +44 (0)1223 252830 fax: +44 (0)1223 252835
web: www.mrc-mbu.cam.ac.uk email: [log in to unmask]
|