Skip to content

Commit 1fcc3b4

Browse files
authored
Update Spack.md
1 parent 331db86 commit 1fcc3b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documents/Software/Spack.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ See build log for details:
436436
/tmp/jharvard
437437
/spack-stage/spack-stage-nvhpc-22.7-iepk6vgndc7hmzs3evxqz6qw2vf6qt7s/spack-build-out.txt
438438
```
439-
In this error the compiler cannot find a library it is dependent on <code>mpfr</code>. To fix this we will need to add the relevant library to the compiler definition in <code>~/.spack/linux/compiler.yaml</code>. In this case we are using <code>gcc/10.2.0-fasrc0</code> which when loaded also loads:
439+
In this error the compiler cannot find a library it is dependent on <code>mpfr</code>. To fix this we will need to add the relevant library to the compiler definition in <code>~/.spack/linux/compilers.yaml</code>. In this case we are using <code>gcc/10.2.0-fasrc01</code> which when loaded also loads:
440440
441441
```bash
442442
[jharvard@holy7c22501 ~]# module list
@@ -469,7 +469,7 @@ prepend_path("LD_LIBRARY_PATH","/n/helmod/apps/centos7/Core/mpfr/4.1.0-fasrc01/l
469469
prepend_path("LIBRARY_PATH","/n/helmod/apps/centos7/Core/mpfr/4.1.0-fasrc01/lib64")
470470
prepend_path("PKG_CONFIG_PATH","/n/helmod/apps/centos7/Core/mpfr/4.1.0-fasrc01/lib64/pkgconfig")
471471
```
472-
And then pull out the <code>LIBRARY_PATH</code>. Once we have the paths for all three of these dependencies we can add them to the <code>~/.spack/linux/compiler.yaml</code> as follows
472+
And then pull out the <code>LIBRARY_PATH</code>. Once we have the paths for all three of these dependencies we can add them to the <code>~/.spack/linux/compilers.yaml</code> as follows
473473
474474
```bash
475475
- compiler:

0 commit comments

Comments
 (0)