-
Notifications
You must be signed in to change notification settings - Fork 133
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
CI Update #1502
Conversation
…f bash this fails with a syntax error
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 |
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.
this should be cupy-cuda<VERSION>
. For example, cupy-cuda122
for CUDA 11.2. This avoids recompiling everything and taking a while.
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.
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.
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.
Sure. Sometimes cupy historically had issues to compile, but if it works it works.
No description provided.