-
Notifications
You must be signed in to change notification settings - Fork 119
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
Add kokkos and its simtbx/LS49 tests to Azure build #728
Conversation
Actually the Kokkos build would only be expected to work with std c++ >= 11 and probably not with Python 2.7. Is it possible to readjust for that? |
The XFEL CI tests are only in Python 3 and have C++11 enabled. But the flag is for
I just updated the commit and adjusted the formatting. |
On macOS, it looks like the same error that @mewall had. The gpu extension is not built since On linux, the |
Wait, kokkos is not enabled for macOS. cctbx_project/simtbx/SConscript Lines 37 to 39 in 7125da0
|
@JBlaschke, would #675 help with getting rid of |
The echo is coming from here: cctbx_project/simtbx/kokkos/SConscript Lines 139 to 141 in 7125da0
I looked into the Makefile.kokkos and there's lots of calls to echo, wrapped in |
Contents of
|
@@ -100,6 +111,9 @@ steps: | |||
chmod +x $(Pipeline.Workspace)/modules/xfel_regression/merging_test_data/merge_thermo.csh | |||
export OMP_NUM_THREADS=4 | |||
libtbx.run_tests_parallel module=uc_metrics module=simtbx module=xfel_regression module=LS49 nproc=4 | |||
echo "DEBUG" | |||
cat mp4k/rank_0*.err | |||
echo "DEBUG2" |
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.
These debugging lines will cause this step to always pass since the last command will always run correctly.
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.
We were going to set OMP_NUM_THREADS
to 2 to get rid of the OpenMP warning and I'm testing a change that enables kokkos on macOS.
Now there are 4 remaining test failures
The change for using |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
/azp run "XFEL CI" |
No pipelines are associated with this pull request. |
/azp run XFEL CI |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run XFEL CI |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run XFEL CI |
Azure Pipelines successfully started running 1 pipeline(s). |
Co-authored-by: Felix Wittwer <[email protected]> Co-authored-by: Billy K. Poon <[email protected]> Co-authored-by: Nicholas Sauter <[email protected]>
Seems a bug in Makefile.kokkos print-cxx-flags on Azure
Co-authored-by: Felix Wittwer [email protected]
Co-authored-by: Billy K. Poon [email protected]
Co-authored-by: Nicholas Sauter [email protected]