-
Notifications
You must be signed in to change notification settings - Fork 25
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
NVIDIA Compiler Integration #52
Comments
- Added versions from 20.7 to 22.11. - All Nvidia versions are now accessible.
Hi, I'm setting up a workflow depending on setup-fortran and I'm having an issue with nvfortran that seems to be related with the installation https://github.com/jalvesz/fast_math/actions/runs/7521896804/job/20473274032 Run fortran-lang/setup-fortran@v1
Run action_path=$(echo '//home/runner/work/_actions/fortran-lang/setup-fortran/v1' | sed -e 's/\\/\//g' -e 's/://')
+ compiler=nvidia-hpc
++ uname -s
++ tr '[:upper:]' '[:lower:]'
+ platform=linux
+ case $compiler in
+ exit 1
Error: Process completed with exit code 1. Has anyone seen this kind of issues? |
Hi, |
We should make a new release soon, it would be good to get #51 in for that though. |
Nice!! this worked! thanks |
Hi, <ERROR> Compilation failed for object " src_fast_erf.f90.o "
<ERROR> stopping due to failed compilation
STOP 1
gfortran: error: gfortran does not support -E without -cpp
Error: Process completed with exit code 1. Since I'm using - run: |
fpm test --compiler ${{ env.FC }} --flag "${{ join(matrix.toolchain.flags, ' ') }}" |
As you mentioned, when using |
I added it in a parallel branch to test because I was polluting the commits in the main branch, here is my latest version Just wanted to signal this particularity with |
I think it's a good idea to set environment variables for fpm within setup-fortran. |
Possibly relevant:
I'm not clear why the PR was closed or if such an option is still planned, maybe there was backchannel discussion @awvwgk can fill in. But setting fpm variables seems reasonable in any case. |
Nvidia support was added in #53 and will soon be released with v1.4 |
Hello
I have added the NVIDIA compiler to setup and updated actions and workflows. Before sending a PR, I would like to inform you here. Please take a look at: https://github.com/gha3mi/setup-fortran
Best regards
Ali
The text was updated successfully, but these errors were encountered: