add the following to the bashrc file
- Add the following line to the bashrc
export KOKKOS_INSTALL_DIR=/home/dinesh/post_doc/softwares/kokkos/build/install
- Execute the following in the terminal
cmake \
-D CMAKE_BUILD_TYPE="Release" \
-D CMAKE_INSTALL_PREFIX=$KOKKOS_INSTALL_DIR \
-D Kokkos_ENABLE_OPENMP=ON \
-D Kokkos_ENABLE_SERIAL=ON \
.. ;
- add to bashrc
export SILO_INSTALL_DIR=/home/dinesh/post_doc/softwares/Silo
- To install follow
https://github.com/LLNL/Silo/blob/main/INSTALL
4a) ./configure 4b) make 4c) make install
Follow this
https://accserv.lepp.cornell.edu/svn/packages/hdf5/release_docs/INSTALL_parallel
Download the source
Add the following to bashrc
export HDF_INSTALL_DIR=/home/dinesh/post_doc/softwares/hdf5/
- CC=/usr/bin/mpicc ./configure --enable-parallel --prefix=/home/dinesh/post_doc/softwares/hdf5/install
- make
- make install
add the following to the bashrc file
- Add the following line to the bashrc
export CABANA_INSTALL_DIR=/home/dinesh/post_doc/softwares/Cabana/build/install
- Execute the following in the terminal
cmake \
-D CMAKE_BUILD_TYPE="Debug" \
-D CMAKE_PREFIX_PATH="$KOKKOS_INSTALL_DIR;$SILO_INSTALL_DIR;$HDF_INSTALL_DIR" \
-D CMAKE_INSTALL_PREFIX="$CABANA_INSTALL_DIR" \
-D Cabana_REQUIRE_OPENMP=ON \
-D Cabana_ENABLE_EXAMPLES=ON \
-D Cabana_ENABLE_TESTING=OFF \
-D Cabana_REQUIRE_SILO=ON \
-D Cabana_REQUIRE_HDF5=ON \
-D Cabana_ENABLE_PERFORMANCE_TESTING=OFF \
-D Cabana_ENABLE_CAJITA=ON \
.. ;
export CABANA_INSTALL_DIR=/home/dinesh/post_doc/softwares/Cabana/build/install
cmake \
-D CMAKE_PREFIX_PATH="$CABANA_INSTALL_DIR" \
-D CMAKE_INSTALL_PREFIX=install \
.. ;