zoltan: add nvhpc fortran libraries to the linker (#22413)

This commit is contained in:
Nick Denissen 2021-03-20 02:46:25 -06:00 committed by GitHub
parent c4e81b9cdb
commit 4aa24095c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,6 +92,9 @@ def configure_args(self):
# PGI runtime libraries # PGI runtime libraries
if '%pgi' in spec: if '%pgi' in spec:
config_ldflags.append('-pgf90libs') config_ldflags.append('-pgf90libs')
# NVHPC runtime libraries
if '%nvhpc' in spec:
config_ldflags.append('-fortranlibs')
if '+shared' in spec: if '+shared' in spec:
config_args.extend([ config_args.extend([
'RANLIB=echo', 'RANLIB=echo',