2018-06-18 17:06:52 -05:00
|
|
|
LBPM
|
2013-08-20 15:55:50 -05:00
|
|
|
========
|
|
|
|
|
2018-06-18 17:06:52 -05:00
|
|
|
Lattice Boltzmann Methods for Porous Media
|
2013-08-20 16:31:53 -05:00
|
|
|
|
|
|
|
========
|
2016-09-01 13:30:25 -05:00
|
|
|
|
|
|
|
Notes on installation
|
|
|
|
|
|
|
|
* example configure scripts for cmake are in the sample_scripts directory
|
2018-09-24 10:51:23 -05:00
|
|
|
* required dependencies - MPI, HDF5, SILO, C++14
|
|
|
|
* optional dependencies - NetCDF, CUDA, TimerUtility
|
2016-09-01 13:30:25 -05:00
|
|
|
|
2018-06-18 17:06:52 -05:00
|
|
|
|
|
|
|
Build dependencies (zlib, hdf5, silo) OR point to an existing installation
|
|
|
|
|
2016-09-01 13:30:25 -05:00
|
|
|
Configure, build & install procedure
|
2016-09-01 13:32:16 -05:00
|
|
|
* create an empty directory to install (do not build in source!)
|
|
|
|
|
2018-11-26 09:59:28 -06:00
|
|
|
`mkdir /path/to/my/install`
|
2016-09-01 13:32:16 -05:00
|
|
|
|
2018-11-26 09:59:28 -06:00
|
|
|
`cd /path/to/my/install`
|
2016-09-01 13:32:16 -05:00
|
|
|
|
|
|
|
* edit configure script from sample_scripts directory and configure (e.g.)
|
|
|
|
|
2020-06-23 06:51:14 -05:00
|
|
|
`/path/to/LBPM/sample_scripts/configure_desktop`
|
2016-09-01 13:32:16 -05:00
|
|
|
|
|
|
|
* compile and install
|
|
|
|
|
2018-11-26 09:59:28 -06:00
|
|
|
`make -j4 && make install`
|
2016-09-01 13:32:16 -05:00
|
|
|
|
|
|
|
* run the unit tests to make sure it works
|
2018-11-26 09:59:28 -06:00
|
|
|
|
|
|
|
`ctest`
|