From 4aa24095c0813d19d639b587b207b9e911bb0e6d Mon Sep 17 00:00:00 2001 From: Nick Denissen <79656784+denissen-lanl@users.noreply.github.com> Date: Sat, 20 Mar 2021 02:46:25 -0600 Subject: [PATCH] zoltan: add nvhpc fortran libraries to the linker (#22413) --- var/spack/repos/builtin/packages/zoltan/package.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/var/spack/repos/builtin/packages/zoltan/package.py b/var/spack/repos/builtin/packages/zoltan/package.py index b77419338f..44517b3f7e 100644 --- a/var/spack/repos/builtin/packages/zoltan/package.py +++ b/var/spack/repos/builtin/packages/zoltan/package.py @@ -92,6 +92,9 @@ def configure_args(self): # PGI runtime libraries if '%pgi' in spec: config_ldflags.append('-pgf90libs') + # NVHPC runtime libraries + if '%nvhpc' in spec: + config_ldflags.append('-fortranlibs') if '+shared' in spec: config_args.extend([ 'RANLIB=echo',