Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nthread error #638

Closed
Jae-yong-Shin opened this issue Feb 13, 2024 · 4 comments
Closed

nthread error #638

Jae-yong-Shin opened this issue Feb 13, 2024 · 4 comments
Labels
question Troubleshooting requests

Comments

@Jae-yong-Shin
Copy link

Hello,

While verifying the test code operation, an error appeared as shown in the figure below. I checked the previous issue #576, but it did not work.
image

Interestingly, despite the error, the results could be seen as below.
image

When the 'ncore=1' option is provided, 'normalize' and 'minus log' do not generate an error code, but unfortunately, 'find_center' does not accept the ncore option, thus inevitably generating an error code. What could be causing these error codes? Could you provide a solution to this issue?
image

Please let me know if you need any information to solve the problem. I will respond immediately.

@Jae-yong-Shin Jae-yong-Shin added the question Troubleshooting requests label Feb 13, 2024
@carterbox
Copy link
Member

When you opened this issue, there was a template provided for you. You have not included any information about what platform, tomopy, or python version you are using.

In addtion, to the platform, tomopy version, and python version. Please provide the version of numexpr that you are using and the output of multiprocessing.cpu_count() from the standard library.

@Jae-yong-Shin
Copy link
Author

I just checked the template you mentioned. I didn't notice it before, sorry about that. The information you requested is as follows. Thank you.

Platform Information:

OS: Ubuntu 22.04
Python Version: 3.10.13
TomoPy Version: 1.14.1

Numexpr Version: 2.8.7

image

@carterbox
Copy link
Member

The number of cores on your system is 112. As the error says, NUMEXPR_MAX_THREADS is set to 64, so you should set NUMEXPR_MAX_THREADS to some number higher than 112.

@Jae-yong-Shin
Copy link
Author

Thank you!
export NUMEXPR_MAX_THREADS=112
The issue is solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Troubleshooting requests
Projects
None yet
Development

No branches or pull requests

2 participants