Project

General

Profile

Actions

Bug #1722

open

set nproc to 1 in runCL2DAlign.php ends up trying to use all processors in the node?

Added by Anchi Cheng over 12 years ago.

Status:
Assigned
Priority:
Normal
Category:
-
Target version:
-
Start date:
04/15/2012
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 2.1.0
Show in known bugs:
No
Workaround:

Description

If I choose nproc=1, nproc is not passed into the python script because php script removes it. When there is no option specified, the default self.params['nproc'] becomes None, and therefore it will attempt to set to all processers available. This will create a conflict if submit job is used because nodes and ppn would have been set to 1.

runMaxlikeAlignment.php probably does the same.

Maybe these python files should have a different nproc default? Or if the user pick nproc as 1 in the web interface, it should not allow it since this can not be run on single processor, right?

There is an example on how to set a different default in the options without copying nproc option everywhere again in r16468 for imagicMultiReferenceAlignment.py

No data to display

Actions

Also available in: Atom PDF