@@ -74,14 +74,22 @@ cd assert
74
74
75
75
### Building and testing with ` gfortran `
76
76
#### 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
78
83
```
79
84
fpm test --profile release --flag "-ffree-line-length-0"
80
85
```
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.
83
87
#### 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,
85
93
```
86
94
fpm test --compiler caf --profile release --runner "cafrun -n 2" --flag "-ffree-line-length-0"
87
95
```
@@ -103,11 +111,11 @@ fpm test --compiler ifx --profile release --flag "-coarray -DASSERT_MULTI_IMAGE"
103
111
```
104
112
105
113
### Building and testing with the LLVM ` flang-new ` compiler
106
- #### LLVM 19 Version
114
+ #### LLVM version 19
107
115
```
108
116
fpm test --compiler flang-new --flag "-mmlir -allow-assumed-rank -O3"
109
117
```
110
- #### LLVM 20 or later
118
+ #### LLVM version 20 or later
111
119
```
112
120
fpm test --compiler flang-new --flag "-O3"
113
121
```
0 commit comments