Skip to content

Commit 9dee1f5

Browse files
authored
Merge pull request #53 from bonachea/update-readme
doc(README): update compiler commands/versions
2 parents 706464f + ab0958f commit 9dee1f5

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,22 @@ cd assert
7474

7575
### Building and testing with `gfortran`
7676
#### Single-image (serial) execution
77-
The following command builds Assert and runs the full test suite in a single image:
77+
The command below builds Assert and runs the full test suite in a single image.
78+
For `gfortran` 14 or later, use
79+
```
80+
fpm test --profile release
81+
```
82+
For `gfortran` 13 or earlier, use
7883
```
7984
fpm test --profile release --flag "-ffree-line-length-0"
8085
```
81-
which builds the Assert library (with the default of assertion enforcement disabled) and runs the test suite.
82-
86+
The above commands build the Assert library (with the default of assertion enforcement disabled) and runs the test suite.
8387
#### Multi-image (parallel) execution
84-
With `gfortran` and OpenCoarrays installed,
88+
With `gfortran` 14 or later versions and OpenCoarrays installed, use
89+
```
90+
fpm test --compiler caf --profile release --runner "cafrun -n 2"
91+
```
92+
With `gfortran` 13 or earlier versions and OpenCoarrays installed,
8593
```
8694
fpm test --compiler caf --profile release --runner "cafrun -n 2" --flag "-ffree-line-length-0"
8795
```
@@ -103,11 +111,11 @@ fpm test --compiler ifx --profile release --flag "-coarray -DASSERT_MULTI_IMAGE"
103111
```
104112

105113
### Building and testing with the LLVM `flang-new` compiler
106-
#### LLVM 19 Version
114+
#### LLVM version 19
107115
```
108116
fpm test --compiler flang-new --flag "-mmlir -allow-assumed-rank -O3"
109117
```
110-
#### LLVM 20 or later
118+
#### LLVM version 20 or later
111119
```
112120
fpm test --compiler flang-new --flag "-O3"
113121
```

0 commit comments

Comments
 (0)