Skip to content

Commit 7e30e28

Browse files
committed
ensure local.rc is created in the correct subdir for NVHPC v22.9+
1 parent a2864e7 commit 7e30e28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

easybuild/easyblocks/n/nvhpc.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ def install_step(self):
165165
sys.stdout.write(line)
166166

167167
if LooseVersion(self.version) >= LooseVersion('22.9'):
168-
cmd = "%s -x %s" % (makelocalrc_filename, compilers_subdir)
168+
bin_subdir = os.path.join(compilers_subdir, "bin")
169+
cmd = "%s -x %s" % (makelocalrc_filename, bin_subdir)
169170
else:
170171
cmd = "%s -x %s -g77 /" % (makelocalrc_filename, compilers_subdir)
171172
run_cmd(cmd, log_all=True, simple=True)

0 commit comments

Comments
 (0)