@@ -15,22 +15,46 @@ Prerequisites
1515Downloading, Building, and Testing
1616---------------------------------
1717
18- ### Single-image (serial) execution
18+ ### GNU Compiler Collection (GCC) ` gfortran ` Compiler
19+
20+ #### Single-image (serial) execution
1921With ` gfortran ` installed, download, build, run and test Matcha in a single image by entering the following commands in a ` bash ` -like shell:
2022```
2123git clone https://github.com/rouson/matcha
2224cd matcha
2325fpm test
2426```
2527
26- ### Multi-image (parallel) execution
28+ #### Multi-image (parallel) execution
2729With ` gfortran ` and OpenCoarrays installed, build, test, and run Matcha in multiple images by entering the following commands in a ` bash ` -like shell:
2830```
2931fpm test --compiler caf --runner "cafrun -n 2"
3032fpm run --compiler caf --runner "cafrun -n 2"
3133```
3234Change '2' above to the number of images that you would like to launch in parallel.
3335
36+ ### Intel OneAPI ` ifx ` Compiler
37+ #### Multi-image (parallel) execution
38+ The unit test suite uses small grids to minimize runtime, which limits the scalability of the test suite only.
39+ Hence, the test suite is _ not_ designed for execution in a large number of images.
40+ All tests pass when running the test suite in 1-4 images:
41+ ```
42+ export FOR_COARRAY_NUM_IMAGES=4
43+ fpm test --compiler ifx --profile release --flag "-heap-arrays -coarray"
44+ ```
45+
46+ #### Single-image (serial) execution
47+ Same as multi-image execution except ` FOR_COARRAY_NUM_IMAGES=1 ` .
48+
49+ #### Automatic GPU-based acceleration: _ Experimental_
50+ The following command is listed here for reference while we investigate what appear to be platform-specific compiler issues causing a crashe when automatic GPU-based acceleration is enabled with the required coarray features:
51+ ```
52+ fpm test \
53+ --compiler ifx \
54+ --profile release \
55+ --flag "-heap-arrays -coarray -fopenmp-target-do-concurrent -qopenmp -fopenmp-targets=spir64"
56+ ```
57+
3458## Documentation
3559Please visit the [ Matcha Github Pages] ( https://berkeleylab.github.io/matcha ) site to see HTML Documentation generated with ford.
3660
0 commit comments