Skip to content

Commit 201569d

Browse files
committed
doc(README): add Intel ifx build/test instructions
1 parent 17890a6 commit 201569d

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,22 +82,28 @@ git clone [email protected]:sourceryinstitute/sourcery
8282

8383
Building and Testing
8484
--------------------
85-
### Single-image (serial) testing with GNU Fortran (`gfortran`)
85+
### GNU Fortran (`gfortran`) compiler
86+
#### Single-image (serial) testing
8687
With recent versions of [GNU Fortran] (gfortran) and [OpenCoarrays] installed,
8788
execute the following command in a `zsh` or `bash`-like shell:
8889
```zsh
8990
fpm test
9091
```
9192

92-
### Multi-image (parallel) testing with `gfortran` and OpenCoarrays
93-
With recent versions of [GNU Fortran] (gfortran) and [OpenCoarrays] installed,
93+
#### Multi-image (parallel) testing
94+
With recent versions of `gfortran` and [OpenCoarrays] installed,
9495
execute the following command in a `zsh` or `bash`-like shell:
9596
```zsh
9697
fpm test --compiler caf --runner "cafrun -n 4"
9798
```
9899
Substitute the desired number of images for the `4` above.
99100

100-
### Testing with the Numerical Algorithms Group (`nagfor`) compiler
101+
### Intel (`ifx`) compiler
102+
```zsh
103+
fpm test --compiler ifx --flag "-coarray"
104+
```
105+
106+
### Numerical Algorithms Group (`nagfor`) compiler
101107
```zsh
102108
fpm test --compiler nagfor --flag "-fpp -coarray=cosmp"
103109
```
@@ -106,7 +112,7 @@ fpm test --compiler nagfor --flag "-fpp -coarray=cosmp"
106112
Because `fpm` uses the compiler name to determine the compiler identity and because
107113
CCE provides one compiler wrapper, `ftn`, for invoking all compilers, you will
108114
need to invoke `ftn` in a shell script named to identify CCE compiler. For example,
109-
place a script named `crayftn.sh` in your path with the following contents and with
115+
place a script named `crayftn.sh` in your PATH with the following contents and with
110116
executable privileges set appropriately:
111117
```
112118
#!/bin/bash

0 commit comments

Comments
 (0)