forked from sandialabs/omega_h
-
Notifications
You must be signed in to change notification settings - Fork 10
Building and Running with EGADSLite CUDA
Cameron Smith edited this page Mar 17, 2022
·
5 revisions
For SCOREC RHEL7 systems
module load gcc mpich cmake cuda/10.2
git clone git@github.com:LoicMarechal/libMeshb.git
cmake -S ./libMeshb -B buildLibMeshb -DCMAKE_C_COMPILER=gcc -DCMAKE_Fortran_COMPILER=gfortran -DCMAKE_INSTALL_PREFIX=$PWD/buildLibMeshb/install
cmake --build buildLibMeshb --target install -j8
git clone git@github.com:SCOREC/egadsliteCuda.git
cmake -S ./egadsliteCuda -B buildEGLcuda -DCMAKE_CUDA_ARCHITECTURES=75 -DCMAKE_INSTALL_PREFIX=$PWD/buildEGLcuda/install
cmake --build buildEGLcuda --target install -j8
git clone -b cws/coneConeEGLcuda git@github.com:SCOREC/omega_h.git
cmake -S omega_h -B buildOmegah \
-DCMAKE_INSTALL_PREFIX=$PWD/buildOmegah/install \
-DCMAKE_PREFIX_PATH="$PWD/buildLibMeshb/install;$PWD/buildEGLcuda/install" \
-DBUILD_SHARED_LIBS=off \
-DOmega_h_USE_MPI=off \
-DOmega_h_USE_CUDA=on \
-DCMAKE_CUDA_HOST_COMPILER=g++ \
-DCMAKE_CUDA_ARCHITECTURES=75 \
-DOmega_h_USE_libMeshb=on \
-DBUILD_TESTING=ON \
-DOmega_h_USE_EGADSlite=on
cmake --build buildOmegah -j8
git clone git@github.com:UGAWG/adapt-benchmarks.git
cd adapt-benchmarks/cone-cone
../../buildOmegah/src/egads_lite_adapt_test --model cone-cone.step cone-cone.meshb out.meshb
update coming soon...