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

re-introduce updated CSCS CI #2402

Merged
merged 23 commits into from
Sep 13, 2024
Merged

Conversation

boeschf
Copy link
Contributor

@boeschf boeschf commented Sep 11, 2024

unit tests and examples now run again on CSCS premises:

  • eiger: 2x AMD EPYC 7742 (multicore)
  • todi: 4x GH200 modules (gpu: arbor is compiled with cuda 12.4 and runs on the H100)

The distributed tests are not enabled as of now (due to current problems with the gitlab runners). Once this is fixed, I will add another PR to enable them.

The tests run automatically for every PR to master, but only for whitelisted users. Manual trigger: make a comment with the content cscs-ci run default.

Other changes:

  • use rpaths for pyarb: helps the linker to find pugixml
  • mark some more external CMake variables as advanced (from units)

@boeschf
Copy link
Contributor Author

boeschf commented Sep 11, 2024

cscs-ci run default

@thorstenhater
Copy link
Contributor

Don't worry too much about Spack, something is wrong with their infrastructure...

 ==> Installing gettext-0.22.5-n34hduanct2b5qie3ri23koih2kgo7ty [25/31]
==> No binary for gettext-0.22.5-n34hduanct2b5qie3ri23koih2kgo7ty found: installing from source
==> Warning: The contents of /tmp/runner/spack-stage/spack-stage-gettext-0.22.5-n34hduanct2b5qie3ri23koih2kgo7ty/gettext-0.22.5.tar.xz look like HTML.  Either the URL you are trying to use does not exist or you have an internet gateway issue.  You can remove the bad archive using 'spack clean <package>', then try again using the correct URL.

@boeschf
Copy link
Contributor Author

boeschf commented Sep 11, 2024

cscs-ci run

1 similar comment
@boeschf
Copy link
Contributor Author

boeschf commented Sep 11, 2024

cscs-ci run

@boeschf
Copy link
Contributor Author

boeschf commented Sep 11, 2024

cscs-ci run default

1 similar comment
@boeschf
Copy link
Contributor Author

boeschf commented Sep 11, 2024

cscs-ci run default

@boeschf boeschf marked this pull request as ready for review September 12, 2024 17:06
CMakeLists.txt Outdated
@@ -323,6 +323,7 @@ if (ARB_WITH_PYTHON)
endif()

CPMAddPackage(NAME pugixml
FORCE TRUE
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is that needed? Could pugi be provided by the OS/base layer?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I reintroduced the system package, if available. Changed the install method for pyarb to use rpaths, however, for it to find pugixml.so when linked with a spack installed version, for example.

CMakeLists.txt Show resolved Hide resolved
Copy link
Contributor

@thorstenhater thorstenhater left a comment

Choose a reason for hiding this comment

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

Thanks 🎉

@@ -49,10 +49,20 @@ set_target_properties(pyarb PROPERTIES OUTPUT_NAME _arbor)
# arbor.cpython-36m-x86_64-linux-gnu.so
set_target_properties(pyarb PROPERTIES PREFIX "${PYTHON_MODULE_PREFIX}" SUFFIX "${PYTHON_MODULE_EXTENSION}")

# Set RPATH for the installation phase
if(APPLE)
Copy link
Contributor

Choose a reason for hiding this comment

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

I am fine with that solution, although I was originally thinking about using
it in header-only mode still. Nothing that can't be change later, though, if
needed.

@thorstenhater thorstenhater merged commit e6b78db into arbor-sim:master Sep 13, 2024
23 checks passed
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.

2 participants