1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
List of parallel ARKODE C++ examples
ark_heat2D_p : 2-D heat equation (PCG with Jacobi preconditioner)
Sample results:
The example output was produced by running:
mpiexec -n 4 ./ark_heat2D_p --np 2 2
The following CMake command was used to configure SUNDIALS:
export OMP_NUM_THREADS=8
cmake \
-DSUNDIALS_INDEX_SIZE=64 \
\
-DCMAKE_INSTALL_PREFIX="${INST_DIR}" \
-DEXAMPLES_INSTALL_PATH="${INST_DIR}/examples" \
\
-DENABLE_MPI=ON \
-DMPI_C_COMPILER="${MPIDIR}/bin/mpicc" \
-DMPI_CXX_COMPILER="${MPIDIR}/bin/mpicxx" \
-DMPIEXEC_EXECUTABLE="${MPIDIR}/bin/mpirun" \
\
-DENABLE_OPENMP=ON \
\
-DBUILD_SHARED_LIBS=OFF \
-DBUILD_STATIC_LIBS=ON \
-DBUILD_CVODE=ON \
-DBUILD_CVODES=OFF \
-DBUILD_IDA=OFF \
-DBUILD_IDAS=OFF \
-DBUILD_ARKODE=ON \
-DBUILD_KINSOL=OFF \
-DBUILD_TESTING=ON \
-DEXAMPLES_ENABLE_CXX=ON \
\
-DBLAS_ENABLE=OFF \
-DBLAS_LIBRARIES="${BLAS_LIBRARIES}" \
\
-DENABLE_LAPACK=OFF \
-DLAPACK_LIBRARIES="${LAPACK_LIBRARIES}" \
\
../
System Architecture: x86_64
Processor Type: Intel(R) Xeon(R) W-2133 CPU @ 3.60GHz
Operating System: Red Hat 7.6
C/Fortran Compilers: gcc/gfortran v4.9.4
MPI: Open MPI v3.1.2
|