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 joined two scans and reconstructed them as a whole object, I encountered an issue with the storage ID's KeyError. It stopped when it should start the 1st iteration.
I use the same setup for simulation, which can work. I checked the initial starts, and it looks fine. Could you help me take a look?
O1,O2 = P.obj.storages.values()
print(O1,O2)
P1,P2 = P.probe.storages.values()
D1,D2 = P.diff.storages.values()
for v in O2.views:
v.storage = O1
v.storageID = O1.ID
v.coord[-1] += v.psize[-1]*500
Traceback (most recent call last):
File "/asap3/petra3/gpfs/p06/2023/data/11017456/processed/macros/ptypy/TL/rec_TL_singlecombine_GPU_up2_testLargeObj.py", line 969, in <module>
P.run()
File "/home/litang/ptypy_v8/ptypy/build/lib/ptypy/core/ptycho.py", line 784, in run
self.run(engine=engine)
File "/home/litang/ptypy_v8/ptypy/build/lib/ptypy/core/ptycho.py", line 713, in run
engine.iterate()
File "/home/litang/ptypy_v8/ptypy/build/lib/ptypy/engines/base.py", line 233, in iterate
self.error = self.engine_iterate(niter_contiguous)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/litang/ptypy_v8/ptypy/build/lib/ptypy/accelerate/cuda_pycuda/engines/projectional_pycuda_stream.py", line 168, in engine_iterate
cfact = self.ob_cfact[oID]
~~~~~~~~~~~~~^^^^^
KeyError: 'Sscan01G00'
Traceback (most recent call last):
File "/asap3/petra3/gpfs/p06/2023/data/11017456/processed/macros/ptypy/TL/rec_TL_singlecombine_GPU_up2_testLargeObj.py", line 969, in <module>
P.run()
File "/home/litang/ptypy_v8/ptypy/build/lib/ptypy/core/ptycho.py", line 784, in run
self.run(engine=engine)
File "/home/litang/ptypy_v8/ptypy/build/lib/ptypy/core/ptycho.py", line 713, in run
engine.iterate()
File "/home/litang/ptypy_v8/ptypy/build/lib/ptypy/engines/base.py", line 233, in iterate
self.error = self.engine_iterate(niter_contiguous)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/litang/ptypy_v8/ptypy/build/lib/ptypy/accelerate/cuda_pycuda/engines/projectional_pycuda_stream.py", line 168, in engine_iterate
cfact = self.ob_cfact[oID]
~~~~~~~~~~~~~^^^^^
KeyError: 'Sscan01G00'
Traceback (most recent call last):
File "/asap3/petra3/gpfs/p06/2023/data/11017456/processed/macros/ptypy/TL/rec_TL_singlecombine_GPU_up2_testLargeObj.py", line 969, in <module>
P.run()
File "/home/litang/ptypy_v8/ptypy/build/lib/ptypy/core/ptycho.py", line 784, in run
self.run(engine=engine)
File "/home/litang/ptypy_v8/ptypy/build/lib/ptypy/core/ptycho.py", line 713, in run
engine.iterate()
File "/home/litang/ptypy_v8/ptypy/build/lib/ptypy/engines/base.py", line 233, in iterate
self.error = self.engine_iterate(niter_contiguous)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/litang/ptypy_v8/ptypy/build/lib/ptypy/accelerate/cuda_pycuda/engines/projectional_pycuda_stream.py", line 168, in engine_iterate
cfact = self.ob_cfact[oID]
~~~~~~~~~~~~~^^^^^
KeyError: 'Sscan01G00'
Traceback (most recent call last):
File "/asap3/petra3/gpfs/p06/2023/data/11017456/processed/macros/ptypy/TL/rec_TL_singlecombine_GPU_up2_testLargeObj.py", line 969, in <module>
P.run()
File "/home/litang/ptypy_v8/ptypy/build/lib/ptypy/core/ptycho.py", line 784, in run
self.run(engine=engine)
File "/home/litang/ptypy_v8/ptypy/build/lib/ptypy/core/ptycho.py", line 713, in run
engine.iterate()
File "/home/litang/ptypy_v8/ptypy/build/lib/ptypy/engines/base.py", line 233, in iterate
self.error = self.engine_iterate(niter_contiguous)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/litang/ptypy_v8/ptypy/build/lib/ptypy/accelerate/cuda_pycuda/engines/projectional_pycuda_stream.py", line 168, in engine_iterate
cfact = self.ob_cfact[oID]
~~~~~~~~~~~~~^^^^^
KeyError: 'Sscan01G00'
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:
Process name: [[50300,1],2]
Exit code: 1
The text was updated successfully, but these errors were encountered:
@ltang320 sorry for the long delay. I think you will have to delete the storage for O2 once you have reassigned all of its views to use the O1 storage, something like
When I joined two scans and reconstructed them as a whole object, I encountered an issue with the storage ID's KeyError. It stopped when it should start the 1st iteration.
I use the same setup for simulation, which can work. I checked the initial starts, and it looks fine. Could you help me take a look?
Thanks for your help! @daurer
The text was updated successfully, but these errors were encountered: