Hi
the new NVIDIA HPC SDK 25.9 produce on Sample compile this errors
why ?
It looks like you are using the wrong compiler, I see f77 and f2c in your log.
You may have the FC variable pointing to f77.
Unset the variable ( and the Makefile will correctly use nvfortran) or set it to FC=nvfortran.
The makefile uses a construct:
FC ?= nvfortran
If you don’t define FC, the default one in Make is f77.
So, you can either:
export FC=nvfortran
make
or do:
make FC=nvfortran
The “?=” make rule will set the value if not set in the user’s environment or on the make command line. So the likely issue here is that the user has FC set to “f77” in their environment.
Though Mass’ solution is correct, i.e. set FC=nvfortran.
The one issue I see are with the pg utilities. These aren’t examples, but rather some old zlib utilities (pgextract, pgunzip, pgzip) that aren’t relevant any longer. We should probably remove these.
-Mat
Hi,
thanks for your mail,
okay i have modify the makefile as you describe,
it works without problems
regards
Franz