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

CI Update #1502

Merged
merged 34 commits into from
Jan 18, 2024
Merged

CI Update #1502

merged 34 commits into from
Jan 18, 2024

Conversation

tim0s
Copy link
Contributor

@tim0s tim0s commented Jan 11, 2024

No description provided.

tim0s added 23 commits October 17, 2023 14:22
The test_all.sh script currently runs cpp tests using g++.
This is not good for the following reasons:
* During normal DaCe compilation we use cmake (and thus whatever compiler cmake picks up).
* We don't check if g++ is available.

This change uses whatever the user set as CXX env var. Cmake also uses CXX when it is set.
Thus if a user sets CXX, he will use the same compiler for tests and during dace compilation.
If CXX is not set we fall back to g++ as the hard-coded compiler.

The test script also prints the current progress before each test now.
python -m pip install --upgrade pip
pip install flake8 pytest-xdist coverage
pip install mpi4py
pip install cupy
Copy link
Collaborator

Choose a reason for hiding this comment

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

this should be cupy-cuda<VERSION>. For example, cupy-cuda122 for CUDA 11.2. This avoids recompiling everything and taking a while.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Wouldn't it be better to keep the dependencies updating over time? For most runs it will detect that it is already installed in the most up to date version.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Sure. Sometimes cupy historically had issues to compile, but if it works it works.

@tbennun tbennun changed the title Timoscitest CI Update Jan 18, 2024
@tbennun tbennun merged commit b54a3c6 into master Jan 18, 2024
@tbennun tbennun deleted the timoscitest branch January 18, 2024 20:02
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