README
1List of OpenMP device offloading ARKODE C examples
2
3 ark_analytic_nonlin_ompdev : simple nonstiff, nonlinear ODE (ERK)
4 ark_heat1D_ompdev : stiff 1D heat PDE example (DIRK/PCG)
5 ark_heat1D_adapt_ompdev : stiff 1D heat PDE, adaptive mesh (DIRK/PCG/ARKodeResize)
6
7Sample results:
8
9 SUNDIALS was built with OpenMP enabled, and the example output was run using
10 LLNL LC's wrapped xlc compiler for gpu program compilation: xlc-gpu
11
12The following CMake command was used to configure SUNDIALS:
13
14cmake \
15-DCMAKE_C_COMPILER=xlc-gpu \
16-DBUILD_ARKODE=ON \
17-DBUILD_CVODE=ON \
18-DBUILD_CVODES=ON \
19-DBUILD_IDA=ON \
20-DBUILD_IDAS=ON \
21-DBUILD_KINSOL=ON \
22-DBUILD_SHARED_LIBS=OFF \
23-DBUILD_STATIC_LIBS=ON \
24-DBUILD_TESTING=ON \
25-DCMAKE_INSTALL_PREFIX=/usr/local/sundials \
26-DEXAMPLES_ENABLE_C=ON \
27-DEXAMPLES_INSTALL_PATH=/user/local/sundials/examples \
28-DEXAMPLES_INSTALL=ON \
29-DOPENMP_ENABLE=ON \
30-DOPENMP_DEVICE_ENABLE=ON \
31-DSKIP_OPENMP_DEVICE_CHECK=ON \
32-DSUNDIALS_INDEX_SIZE=64 \
33-DSUNDIALS_PRECISION=double \
34../sundials
35
36 System Architecture: ppc64le
37 Processor Type: IBM POWER8 @ 2.5GHz
38 Operating System: Red Hat 7.3
39 C Compiler: xlc-gpu
40