Created
April 1, 2021 18:49
-
-
Save smhr/4a4fe991c351cbb1defd3d63f1cdc6f6 to your computer and use it in GitHub Desktop.
Enzo GPU installation on scicluster
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
======== Load modules | |
ml HDF5/1.10.2-foss-2018b-serial gompi/2018b CUDA/10.1.243-GCC-7.3.0-2.30 | |
======== | |
cd enzo-dev | |
./configure | |
cd src/enzo/ | |
make machine-scicluster | |
make use-mpi-yes | |
make show-config | |
make clean | |
make | |
======== Running a Test Problem | |
cp enzo.exe ../../run/Hydro/Hydro-3D/CollapseTestNonCosmological | |
cd ../../run/Hydro/Hydro-3D/CollapseTestNonCosmological | |
## To execute Enzo, we’re going to tell it the parameter file and supply the -d argument, indicating debug mode. | |
mpirun -np 1 enzo.exe parameter_file | |
e.g.: | |
mpirun -np 1 ./enzo.exe -d CollapseTestNonCosmological.enzo | |
======== How to compile with cuda | |
make use-mpi-yes | |
make cuda-yes | |
make integers-32 | |
make precision-32 | |
make particles-32 | |
make particle-id-32 | |
make inits-32 | |
make io-32 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment