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

Changes for running and testing the roman_rubin catalog #239

Merged
merged 3 commits into from
Nov 28, 2023
Merged

Conversation

evevkovacs
Copy link
Contributor

Here are the changes to get the Delta_Sigma and NumberDensityVersusRedshift tests to run with the latest versions of numpy, sklearn etc. These are minor code changes to the actual tests.
There is also an addition required to the run_master script to set the number of OMP_NUM_THREADS. The issue is that the NumberDensityVersusRedshift test fails with an OPEN_BLAS error that complains about too many threads being used. (This is for a call to the kNN module in sklearn. ) The error did not occur when running on cori. I have experimented with trying to set the number of OPEN_BLAS_THREADS and OMP_NUM_THREADS by calling the python function to set these environmentals in the init function of NumberDensityVersusRedshift.py. None of these worked. The only attempt that worked was to set the environmental from the master script. I am of course open to better solutions.
Finally, there is a new configuration file for running the readiness test on the roman_rubin catalog.

@evevkovacs
Copy link
Contributor Author

@yymao Please review and comment. Thanks

@evevkovacs
Copy link
Contributor Author

Oops forgot to add: the successful NumberDensityVersusRedshift Test and the successful Delta_Sigma Test

Copy link
Member

@yymao yymao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @evevkovacs. I have two minor suggestions but otherwise it looks good to me.

descqa/NumberDensityVersusRedshift.py Outdated Show resolved Hide resolved
descqa/DeltaSigmaTest.py Outdated Show resolved Hide resolved
evevkovacs and others added 2 commits November 28, 2023 11:52
Co-authored-by: Yao-Yuan Mao <yymao.astro@gmail.com>
Co-authored-by: Yao-Yuan Mao <yymao.astro@gmail.com>
@evevkovacs
Copy link
Contributor Author

@yymao Thanks, I accepted both of your suggestions.

@yymao
Copy link
Member

yymao commented Nov 28, 2023

Thanks @evevkovacs -- I'm going to merge this, but before we tag v2.8.0, do you mind do another run of DeltaSigmaTest? I want to make sure the code suggestion i made indeed works.

@yymao yymao merged commit 01c1b9a into master Nov 28, 2023
4 checks passed
@yymao yymao deleted the roman_rubin branch November 28, 2023 18:58
@yymao yymao mentioned this pull request Nov 28, 2023
@evevkovacs
Copy link
Contributor Author

Yes will do.

@evevkovacs
Copy link
Contributor Author

Running now on an interactive node...no failures yet.

@evevkovacs
Copy link
Contributor Author

OK, it ran... see here

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

Successfully merging this pull request may close these issues.

None yet

2 participants