https://github.com/stellar-group/octotigerbuildchain
Build chain to build octotiger on x86, ppc64le, and cray
https://github.com/stellar-group/octotigerbuildchain
cmake
Last synced: 4 months ago
JSON representation
Build chain to build octotiger on x86, ppc64le, and cray
- Host: GitHub
- URL: https://github.com/stellar-group/octotigerbuildchain
- Owner: STEllAR-GROUP
- License: mit
- Created: 2018-12-20T17:39:25.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2024-02-20T13:47:54.000Z (over 1 year ago)
- Last Synced: 2025-04-30T05:35:58.206Z (5 months ago)
- Topics: cmake
- Language: Shell
- Homepage: https://github.com/STEllAR-GROUP/octotiger
- Size: 228 KB
- Stars: 4
- Watchers: 7
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Note: Consider using the [spack octotiger package](https://github.com/G-071/octotiger-spack) instead!
# PowerTiger
Build chain to build octotiger on x86, cray. and ppc64le## Usage
### Synopsis
build-all.sh {Release|RelWithDebInfo|Debug} {with-cuda|without-cuda}
[cmake|gcc|boost|hdf5|silo|hwloc|jemalloc|vc|hpx|octotiger ...]### Description
Download, configure, build, and install Octo-tiger and its dependencies or
just the specified target(s).### Example
* Build Octo-tiger and dependencies without CUDA support in Release mode
* `./build-all.sh Release without-cuda`
* Build GCC
* `./build-all.sh Release without-cuda gcc`
* Build GCC and CMake
* `./build-all.sh Release without-cuda gcc cmake`
* Build Octo-tiger, Vc, HPX, and Boost with CUDA support in Debug
* `./build-all.sh Debug with-cuda octotiger vc hpx boost`## Notes
* Target builds do not check for an existing build.
* Building a target does not trigger the build of it dependencies if they are not built## Using Modules
Each of the Octo-tiger dependencies also create a module file in build/modules.
To use the modules on systems that use modules, the path has to be added before
a module can be loaded. This is done by running `module use
/build/modules`.### Example
```sh
./build-all.sh Release without-cuda
module use build/modules
module add hpx silo
./build/octotiger/build/octotiger ---problem=marshak --radiation=on \
--rad_implicit=on --odt=1.0e-10 --hard_dt=0.1 --stop_time=2 --gravity=off \
--hydro=off --max_level=3 --xscale=1.0
```