#259 suggested that I had to comment out certain lines for cc89, but I also struggled with getting the -ta and -Mcudalib flags running, which was removed in recent nvhpc versions (I tried 25.1).
They way I got around it is this:
- modify these lines: I replaced
-ta=... flag with -acc -gpu.
- comment out these lines and change line 4 from
-Mcudalib to -cudalib.
Not at all familiar with cmake, so hope these changes make sense (and may actually help someone)
#259 suggested that I had to comment out certain lines for
cc89, but I also struggled with getting the-taand-Mcudalibflags running, which was removed in recent nvhpc versions (I tried 25.1).They way I got around it is this:
-ta=...flag with-acc -gpu.-Mcudalibto-cudalib.Not at all familiar with
cmake, so hope these changes make sense (and may actually help someone)