Closed tims3900 closed 5 months ago
Hi,
I was not able to reproduce your errors running xcist on a Ubuntu system with BASH. I would suggest you to: 1) provide more details such as system you are running on (software/hardware), the xcist version, other output info, etc 2) try to locate the line/input parameter in xcist that causes you an error so that we can try to debug without reproducing your errors 3) rerun the simulations on a different system and see if you still have this error.
Best, Jiayong
I am currently running on an Intel-based Mac with Python 3.9.19, utilizing the main branch of the xcist repository. I am able to successfully run all other examples except for Sim_Sample_XCAT.py. Here are the steps I took to reproduce this error:
(ctsim) ~/Desktop/ct_sim/main/gecatsim/examples$ python3 Sim_Sample_XCAT.py
Airscan
Offset scan
Phantom scan
phantom scan view loop...
0%| | 0/2 [00:00<?, ?it/s]
Starting to parse nCAT phantom.
Done parsing nCAT phantom.
zsh: bus error python3 Sim_Sample_XCAT.py
(ctsim) ~/Desktop/ct_sim/main/gecatsim/examples$ /opt/miniconda3/envs/ctsim/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
This issue has been fixed in the latest version of xcist, which is presumably due to the difference between clang and gcc when running multi-threaded programs.. Please let us know if you see further issues.
Hello, I am going through the gecatsim/examples directory and am encountering an error while trying to run Sim_Sample_XCAT.py. Upon execution, I receive the following error message:
zsh: bus error python3 Sim_Sample_XCAT.py /opt/miniconda3/envs/ct_sim/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '