8282
8383Building and Testing
8484--------------------
85- ### Single-image (serial) testing with GNU Fortran (` gfortran ` )
85+ ### GNU Fortran (` gfortran ` ) compiler
86+ #### Single-image (serial) testing
8687With recent versions of [ GNU Fortran] (gfortran) and [ OpenCoarrays] installed,
8788execute the following command in a ` zsh ` or ` bash ` -like shell:
8889``` zsh
8990fpm 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,
9495execute the following command in a ` zsh ` or ` bash ` -like shell:
9596``` zsh
9697fpm test --compiler caf --runner " cafrun -n 4"
9798```
9899Substitute 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
102108fpm test --compiler nagfor --flag " -fpp -coarray=cosmp"
103109```
@@ -106,7 +112,7 @@ fpm test --compiler nagfor --flag "-fpp -coarray=cosmp"
106112Because ` fpm ` uses the compiler name to determine the compiler identity and because
107113CCE provides one compiler wrapper, ` ftn ` , for invoking all compilers, you will
108114need 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
110116executable privileges set appropriately:
111117```
112118#!/bin/bash
0 commit comments