NOTE: Current versions of Gemini3D (May 2024 and newer) NO LONGER USE this project.
Scripts to build/install external libraries used by older versionsGemini3D. These will install everything needed except the compilers themselves. These scripts are intended to work on nearly any modern Linux, MacOS or Windows computer.
Try to build this repo:
git clone https://github.com/gemini3d/external
A one-step convenience script:
cmake -P build.cmake
or, to use CMake traditionally:
cmake -B build
cmake --build build
cmake --install build
By default, HDF5 and Zlib are built by this project if needed via h5fortran.
If you are having trouble, run the MPI-3 test script by itself and then open a GitHub issue or contact the Gemini3D development team.
cmake -P check-mpi3.cmake
If desired, one can build OpenMPI themselves, but this is rarely necessary:
cmake -P scripts/build_openmpi.cmake
then try to build this repo again.
If your CMake version is too old (indicated by CMake error message saying so), update CMake, then try to build this repo again.
The libraries installed by this package are referred to by other CMake project by specifying the CMake command line parameter -DCMAKE_PREFIX_PATH=~/libgem
where ~/libgem is the arbitrary path to the libraries install location.
Reference: Advanced users