-
Notifications
You must be signed in to change notification settings - Fork 0
Installation: External Libraries
Set the following library paths in the Makefile
to help
compiler locate them (if necessary):
CUDA_PATH :=
FFTW_PATH :=
MPI_PATH :=
HDF5_PATH :=
GRACKLE_PATH :=
GSL_PATH :=
Only the paths of libraries being used need to be set. In addition,
it is usually unnecessary to set the paths that have been embedded
into the compiling command (e.g., when using CC
and module load
in a Cray computer system).
GAMER uses FFTW2 for the
root-level Poisson solver. It must be configured with
floating-point type prefix and MPI support using
./configure --enable-mpi --enable-type-prefix
. Here is an
example installation script using the GNU compiler:
export FFTW_PATH=PATH_TO_INSTALL_YOUR_FFTW
export CC=gcc
export F77=gfortran
export CFLAGS=-O3
export FFLAGS=-O3
make clean
./configure --enable-mpi --enable-type-prefix --prefix $FFTW_PATH --enable-float
make
make install
make clean
./configure --enable-mpi --enable-type-prefix --prefix $FFTW_PATH
make
make install
GAMER uses GRACKLE for the chemistry and radiative processes. It must be configured with a consistent floating-point accuracy as GAMER using
> make precision-{32,64}
Specifically, configure GRACKLE with make precision-64/32
when
compiling GAMER with/without the option
FLOAT8, respectively.
In addition, when enabling OpenMP in GAMER (i.e., with the compile-time option OPENMP), GRACKLE must be configured with OpenMP support as well using
> make omp-on
Getting Started
User Guide
- Installation
- Running the Code
- Adding New Simulations
- Runtime Parameters
- MPI and OpenMP
- GPU
- Physics Modules
- Outputs
- Simulation Logs
- Data Analysis
- In Situ Python Analysis
- Test Problems
- Troubleshooting
Advanced Topics
Developer Guide