-
Notifications
You must be signed in to change notification settings - Fork 30
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
Conversation
@yymao Please review and comment. Thanks |
Oops forgot to add: the successful NumberDensityVersusRedshift Test and the successful Delta_Sigma Test |
There was a problem hiding this 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.
Co-authored-by: Yao-Yuan Mao <yymao.astro@gmail.com>
Co-authored-by: Yao-Yuan Mao <yymao.astro@gmail.com>
@yymao Thanks, I accepted both of your suggestions. |
Thanks @evevkovacs -- I'm going to merge this, but before we tag v2.8.0, do you mind do another run of |
Yes will do. |
Running now on an interactive node...no failures yet. |
OK, it ran... see here |
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.