-
Notifications
You must be signed in to change notification settings - Fork 5
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: Switch intel build to ifx #183
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #183 +/- ##
=======================================
Coverage 92.83% 92.83%
=======================================
Files 47 47
Lines 6785 6785
Branches 762 762
=======================================
Hits 6299 6299
Misses 474 474
Partials 12 12
Flags with carried forward coverage won't be shown. Click here to find out more. |
2299df0
to
c7748c5
Compare
@@ -88,7 +89,6 @@ jobs: | |||
path: ~/pfunit/build/installed | |||
# To force a pFUnit rebuild (bust the cache), make a change to install_pfunit.sh | |||
key: ${{ runner.os }}-ubuntu20.04-pfunit-gfortran${{ env.GCC_V }}-${{ hashFiles('dev_scripts/install_pfunit.sh') }} | |||
save-always: true |
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 option is deprecated (and is likely not working as intented anyway)
runs-on: ubuntu-22.04 | ||
needs: basic_build | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
gcc_v: [9, 11, 12] |
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.
Let's have one less build. The optimized builds never caught any issues. At some point I'll switch to just having a one of these.
@@ -0,0 +1 @@ | |||
12 |
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.
There are some numerical differences in the ifx
build in the restart files for this test, so we decrease required numerical accuracy to 1e-12
. The NUM_THRE
file is read in the tests/numdiff.py
script.
@@ -27,7 +27,7 @@ namespace { | |||
|
|||
// two body parameters | |||
const double reoh = 0.958649; | |||
const double thetae = 104.3475; | |||
// const double thetae = 104.3475; |
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.
Got a compiler warning that this param is not used.
sudo apt-get install ${{ env.APT_PACKAGES }} | ||
source /opt/intel/oneapi/setvars.sh | ||
printenv >> $GITHUB_ENV | ||
- uses: fortran-lang/setup-fortran@v1 |
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.
For now I haven't switched the gfortran builds to this GH action since it does not support gfortran v7.
@JanosJiri Are some Prague clusters still on gcc-7?
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.
Prague cluster status:
Krypton: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
Neon: gcc version 4.7.2 (Debian 4.7.2-5)
Argon: gcc version 4.4.5 (Debian 4.4.5-8)
Argon is almost dead, Neon is still used but Polách...
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.
Looks good!
sudo apt-get install ${{ env.APT_PACKAGES }} | ||
source /opt/intel/oneapi/setvars.sh | ||
printenv >> $GITHUB_ENV | ||
- uses: fortran-lang/setup-fortran@v1 |
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.
Prague cluster status:
Krypton: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
Neon: gcc version 4.7.2 (Debian 4.7.2-5)
Argon: gcc version 4.4.5 (Debian 4.4.5-8)
Argon is almost dead, Neon is still used but Polách...
Partially addresses #176
Instead of testing with the old intel compiled (
ifort
) let's test with the new LLVM-basedifx
.