Bug #1565
openrunXmippCL2D.py error on 2 processor
0%
Description
Traceback (most recent call last):
File "/usr/bin/runXmippCL2D.py", line 628, in <module>
cl2d.start()
File "/usr/bin/runXmippCL2D.py", line 593, in start
self.parseOutput()
File "/usr/bin/runXmippCL2D.py", line 203, in parseOutput
fh=open("xmipp.std","r")
IOError: [Errno 2] No such file or directory: 'xmipp.std'
Note: I ran this in redux branch but the error would be the same in trunk.
See that there is a line like this in the code:
if nproc > 2 and mpirun is not None:
Need to handl it better.
Updated by Dmitry Lyumkis almost 13 years ago
can we just change it to:
if nproc > 1 and mpirun is not None:
or were you specifically thinking of a better way to handle multi-processor jobs?
Dmitry
Updated by Anchi Cheng almost 13 years ago
It looks like if the statements in the if control is not done, there will cause error as I saw. If this xmipp function must run with multiple processors, it should give an error at checkConflict stage and exit so that it does break up the stack for nothing. Don't you think that would be more reasonable?
Updated by Dmitry Lyumkis almost 13 years ago
- Status changed from Assigned to In Code Review
- Assignee changed from Dmitry Lyumkis to Anchi Cheng
I added a check for mpi implementation & number of processors in check_conflicts(), which should fix the problem.
Updated by Anchi Cheng over 12 years ago
- Status changed from In Code Review to In Test