Giter Club home page Giter Club logo

hemepure-gpu's Introduction

HemePure-GPU

GPU version of HemePure.
The user can either:

  1. Run the Full build script (FullBuild.sh), which first builds the dependencies and then compiles the source code or
  2. Do these steps as listed here:

Build dependencies before attempting to build hemepure_gpu.

DEPENDENCIES

  1. Create dep/build/ .
  2. In dep/build/ run ccmake -B. -H../ or ccmake .. .
  3. Configure using CMake.
  4. Run make in dep/build/.

SOURCE

  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"

EXECUTION OF THE PROGRAM

Running the executable can be done in the same way as the CPU version.
Launch a HemeLB simulation with the instruction:
mpirun -n N -in <input file *.xml address> -out
e.g. mpirun -n 4 ./hemepure_gpu -in ./input.xml -out results

A detailed description of the input file and how to run a simulation is provided in the official HemeLB website
http://hemelb.org.s3-website.eu-west-2.amazonaws.com/tutorials/simulation/

Cases

The folder cases/bifurcation_hires/ contains:

  1. the geometry input file (bifurcation.gmy)
  2. the input file for the simulation (input.xml)

Analysis of results

The analysis of results can be done following the instructions provided in the official HemeLB website
http://hemelb.org.s3-website.eu-west-2.amazonaws.com/tutorials/simulation/sim_section3/

hemepure-gpu's People

Contributors

izacharo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.