Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 1.14 KB

README.md

File metadata and controls

22 lines (17 loc) · 1.14 KB

exaflow-exags-upc

This is a UPC version of the ExaGS library developed as part of the the ExaFLOW Project. The ExaFLOW project has received funding from the European Union Horizon 2020 Framework Programme (H2020) under grant agreement number 671571

Library Compilation

To compile run the following commands, this will generate the static library libexags.a. Change the first line to point to your UPC compiler of choice.

export UPC=cc
./configure UPCFLAGS="-DPREFIX=jl_ -DNO_NEK_EXITT -DUSE_NAIVE_BLAS -DUNDERSCORE"
make
make install

Nek5000

To enable Nek5000 support in the library, add --enable-nek5000 to the configure line. This will define necessary UPCFLAGS such that Nek5000 could link against ExaGS.

Atomics

To enable the use of UPC atomics in the library, add --enable-atomics to the configure line.

Testing

To enable compilation of the tests, add --enable-check to the configure line. This will generate a number of UPC-based test codes (compiled with a fixed number of threads) in the tests/ subtree. To run the entire test suite, issue make check from the top level directory.