-
Notifications
You must be signed in to change notification settings - Fork 45
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
4.10.0 fails to build with NVHPC compiler #476
Comments
@cponder I believe this is just a new form of an error that we have encountered before. The most recent version of pFUnit has updated the version of containers (gFTL) that are used. We've seen problems with |
Some success. I've got a workaround in gFTL that appears to let the entire GFE stack compile with nvfortran. Still playing with the runtime tests in case I can identify other easy fixes for that. But in any event it will take a few days to roll this into a release due to the fact that it touches a few different repos within GFE. |
That's fine. For now, I'm rolling back to 4.9.0. I'll move up to 4.10.1 as soon as you have it ready. |
@cponder OK - things are somewhat worse than I had hoped yesterday. Some of the self-tests fail to comply and these indicate that the compiler is frequently failing to manage the namespace of type-bound procedures correctly. I will try to isolate a minimal reproducer to send you separately, but will not try to workaround all of these at this time. |
Well - even a reproducer is going to be too much trouble unless you can just take an updated GFE and build it yourself. It appears (as just one example) that some procedure Having said that, I don't quite see why the "iterator" tests compile but the "riterator" (reverse iterator) tests show this issue. The code is very similar between them. Best guess is that since an RIterator contains an Iterator object itself it is just that much more confusion about which "of()" is involved. If I delete those lines, then I start getting with other procedures that have somewhat common names like "add()". |
I am seeing this same error with NVHPC 24.7 in my testing today:
This is with GFE 1.16.0 → pFUnit v4.10.0, gFTL v1.14.0 so I guess this is still an issue? |
Yeah, still an issue with the NVHPC 24.9 compiler as well. |
Oh. Huh. I am currently building Baselibs with 24.9 and I guess I haven't hit this yet. Well, I guess I will in ~30 minutes! |
Confirmed same error. |
I ran into this error in the build:
#66 167.1 [ 4%] Building Fortran object src/funit/core/CMakeFiles/funit-core.dir/TestSuite.F90.o
#66 167.4 NVFORTRAN-S-0155-Empty generic procedure - at$tbpg (/usr/local/src/pFUnit-4.10.0/src/funit/core/TestSuite.F90: 90)
#66 167.4 0 inform, 0 warnings, 1 severes, 0 fatal for counttestcases
#66 167.7 make[2]: *** [src/funit/core/CMakeFiles/funit-core.dir/build.make:634: src/funit/core/CMakeFiles/funit-core.dir/TestSuite.F90.o] Error 2
#66 167.7 make[1]: *** [CMakeFiles/Makefile2:524: src/funit/core/CMakeFiles/funit-core.dir/all] Error 2
#66 167.7 make: *** [Makefile:166: all] Error 2
It doesn't happen with 4.9.0.
Obvious possibilities are that (1) this is a violation of the Fortran standard, or (2) a bug in the compiler, can you confirm?
Also, is this just a failure to build the unit-tests, with the library being built OK?
If so, is there a workaround?
The text was updated successfully, but these errors were encountered: