Skip to content

This version of Chombo is fortran-free and depends on the Proto middleware infrastructure for performance portability.

Notifications You must be signed in to change notification settings

OscarAntepara/Chombo_4

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chombo

Courtesy of the Applied Numerical Algorithms Group

Lawrence Berkeley National Laboratory

Introduction

This version of Chombo is fortran-free and depends on the Proto infrasturcture for performance portability. On GPU devices, Proto's data holders are used. Chombo maintains host-based data holders. Chombo handles all MPI and HDF5 interactions.

Build instructions:

  1. Create the configuration file (Chombo_4/mk/Make.defs.local)
    • cp Make.defs.local.template Make.defs.local
      • There are other examples of configuration files in Chombo_4/mk/local
    • Edit the configuration file
      • Specify your HDF5 location.
      • Specify your c++ compiler.
      • Specify your compiler flags.
      • Specify your PROTO location.
  2. Configure the examples using Chombo_4/examples/configure.example
    • For example type
<unix prompt>   ./configure --opt TRUE --mpi  FALSE --dim 3 --cuda TRUE 
  • The configuration parameters are given by:
<unix prompt>  ./configure.example --help
usage: configure.example [-h] [--dim DIM] [--opt {DEBUG,TRUE}] [--mpi {TRUE,FALSE}] [--hdf5 {TRUE,FALSE}] [--prec {SINGLE,DOUBLE}] [--cuda {TRUE,FALSE}]

optional arguments:
  -h, --help              show this help message and exit
  --dim DIM               dimensionality to build executables [1,2,3]
  --opt {DEBUG,TRUE}      compiler optimization [DEBUG]
  --mpi {TRUE,FALSE}      MPI on or off [FALSE]
  --hdf5 {TRUE,FALSE}     HDF5 on or off [FALSE]
  --prec {SINGLE,DOUBLE}  precision [DOUBLE]
  --cuda {TRUE,FALSE}     CUDA on or off [FALSE]
  1. This will create a GNUmakefile in each example directory.
  2. Go into the example dirctory and type 'make'

About

This version of Chombo is fortran-free and depends on the Proto middleware infrastructure for performance portability.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 94.2%
  • C 2.1%
  • Cuda 1.4%
  • Shell 0.9%
  • Python 0.9%
  • Perl 0.3%
  • Other 0.2%