GPU version of HemePure.
The user can either:
Build dependencies before attempting to build hemepure_gpu
.
1) Create dep/build/
.
2) In dep/build/
run ccmake -B. -H../
or ccmake ..
.
3) Configure using CMake.
4) Run make
in dep/build/
.
1) Create src/build/
.
2) In src/build/
run ccmake -B. -H../
or ccmake ..
.
3) Configure using CMake.
4) Run make
in src/build/
.
IMPORTANT NOTE
Remember to modify the following (in the script FullBuild.sh
, or in src/CMakeLists.txt
) depending on the GPU compute capability (-gencode arch=compute_70,code=sm_70
) of the NVIDIA GPUs available on the system
-DCMAKE_CUDA_FLAGS="-ccbin g++ -gencode arch=compute_70,code=sm_70 -lineinfo --ptxas-options=-v --disable-warnings"
Running the executable can be done in the same way as the CPU version.
Launch a HemeLB simulation with the instruction:
mpirun -n N
A detailed description of the input file and how to run a simulation is provided in the official HemeLB website
http://hemelb.org/tutorials/simulation/
The folder cases/bifurcation_hires/
contains:
1) the geometry input file (bifurcation.gmy
)
2) the input file for the simulation (input.xml
)
The analysis of results can be done following the instructions provided in the official HemeLB website
http://hemelb.org/tutorials/simulation/sim_section3/