Skip to content

Commit 14f6402

Browse files
committed
doc(README): add NAG compiler workaround
1 parent 80be056 commit 14f6402

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Sourcery Library
22
================
33

4-
A grab bag of useful tricks in Fortran 2018.
4+
A grab bag of useful tricks in Fortran 2023.
55

66
```fortran
77
-:/+-
@@ -99,8 +99,10 @@ Substitute the desired number of images for the `4` above.
9999

100100
### Testing with the Numerical Algorithms Group (`nagfor`) compiler
101101
```zsh
102-
fpm test --compiler nagfor --flag "-fpp -coarray=cosmp"
102+
fpm test --compiler nagfor --profile release --flag "-fpp"
103103
```
104+
where the `--profile release` is required to work around a recently identified
105+
compiler bug that necessitates using an optimization level above `-O0`.
104106

105107
### Building and testing with the Cray Compiler Environment (CCE)
106108
Because `fpm` uses the compiler name to determine the compiler identity and because

0 commit comments

Comments
 (0)