You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`--model`|`HYDRO`, `ELBDM`|`HYDRO`| Physical models, where `ELBDM` represents Extremely Light Bosonic Dark Matter, also known as wave dark matter (ψDM) or fuzzy dark matter (FDM) | Must be set in any cases | <aname="--model"></a> `MODEL`|
36
-
|`--gravity`|`true`, `false`|`false`| Enable [[gravity \| Gravity]]| Must enable `--fftw`; may need to set `FFTW2/3_PATH` in [[configuration file \| Installation:-Machine-Configuration-File#1-Library-paths]]| <aname="--gravity"></a> `GRAVITY`|
36
+
|`--gravity`|`true`, `false`|`false`| Enable [[gravity \| Gravity]]| Must enable `--fftw`; may need to set `FFTW2/3_PATH` in [[configuration file \|[Installation]-Machine-Configuration-File#1-Library-paths]]| <aname="--gravity"></a> `GRAVITY`|
37
37
|`--particle`|`true`, `false`|`false`| Enable [[particles \| Particles]]| Must enable `--gravity` or `--tracer`| <aname="--particle"></a> `PARTICLE`|
38
-
|`--grackle`|`true`, `false`|`false`| Enable [[GRACKLE \| Chemistry and Radiation]]| May need to set `GRACKLE_PATH` in [[configuration file \| Installation:-Machine-Configuration-File#1-Library-paths]]; only support `--eos=GAMMA/COSMIC_RAY`; does not support `--comoving`| <aname="--grackle"></a> `SUPPORT_GRACKLE`|
38
+
|`--grackle`|`true`, `false`|`false`| Enable [[GRACKLE \| Chemistry and Radiation]]| May need to set `GRACKLE_PATH` in [[configuration file \|[Installation]-Machine-Configuration-File#1-Library-paths]]; only support `--eos=GAMMA/COSMIC_RAY`; does not support `--comoving`| <aname="--grackle"></a> `SUPPORT_GRACKLE`|
39
39
|`--passive`|≥ 0 |`0`| Number of user-defined passive scalars | See [[here \| Adding-New-Simulations#v-add-problem-specific-grid-fields-and-particle-attributes]] for details; not supported for `--flu_scheme=RTVD`| <aname="--passive"></a> `NCOMP_PASSIVE_USER`|
40
40
41
41
## Hydro Options
@@ -101,7 +101,7 @@ disabled). See the "Restriction" of each option carefully.
|`--libyt`|`true`, `false`|`false`| Enable libyt for in situ Python analysis | May need to set `LIBYT_PATH` in [[configuration file \| Installation:-Machine-Configuration-File#1-Library-paths]]| <aname="--libyt"></a> `SUPPORT_LIBYT`|
104
+
|`--libyt`|`true`, `false`|`false`| Enable libyt for in situ Python analysis | May need to set `LIBYT_PATH` in [[configuration file \|[Installation]-Machine-Configuration-File#1-Library-paths]]| <aname="--libyt"></a> `SUPPORT_LIBYT`|
105
105
|`--libyt_patchgroup`|`true`, `false`|`true`| Use patch groups instead of patches as the grid unit for better performance (recommended) | - | <aname="--libyt_patchgroup"></a> `LIBYT_USE_PATCH_GROUP`|
106
106
|`--libyt_interactive`|`true`, `false`|`false`| Activate interactive Python prompt in in situ analysis | Must compile libyt with `INTERACTIVE_MODE`| <aname="--libyt_interactive"></a> `LIBYT_INTERACTIVE`|
107
107
|`--libyt_reload`|`true`, `false`|`false`| Enable the interactive mode of libyt. This activates Python prompt and does not shut down a simulation when there are errors in an inline Python script. | Must compile libyt with `INTERACTIVE_MODE`| <aname="--libyt_reload"></a> `LIBYT_RELOAD`|
@@ -111,10 +111,10 @@ disabled). See the "Restriction" of each option carefully.
|`--openmp`|`true`, `false`|`true`| Enable OpenMP (see [[MPI and OpenMP]]) | Must set the compilation flag `OPENMPFLAG` in [[configuration file \| Installation:-Machine-Configuration-File#3-Compilation-flags]]| <aname="--openmp"></a> `OPENMP`|
115
-
|`--mpi`|`true`, `false`|`false`|`true`: Enable load balancing using a space-filling curve (see [[MPI and OpenMP]]); `false`: Run GAMER in a serial mode, but OpenMP is still supported | May need to set `MPI_PATH` in [[configuration file \| Installation:-Machine-Configuration-File#1-Library-paths]]| <aname="--mpi"></a> `LOAD_BALANCE=HILBERT`, <aname="SERIAL"></a> `SERIAL`|
114
+
|`--openmp`|`true`, `false`|`true`| Enable OpenMP (see [[MPI and OpenMP]]) | Must set the compilation flag `OPENMPFLAG` in [[configuration file \|[Installation]-Machine-Configuration-File#3-Compilation-flags]]| <aname="--openmp"></a> `OPENMP`|
115
+
|`--mpi`|`true`, `false`|`false`|`true`: Enable load balancing using a space-filling curve (see [[MPI and OpenMP]]); `false`: Run GAMER in a serial mode, but OpenMP is still supported | May need to set `MPI_PATH` in [[configuration file \|[Installation]-Machine-Configuration-File#1-Library-paths]]| <aname="--mpi"></a> `LOAD_BALANCE=HILBERT`, <aname="SERIAL"></a> `SERIAL`|
116
116
|`--overlap_mpi`|`true`, `false`|`false`| Overlap MPI communication with computation. | Not supported yet!!! Must enable `--mpi`. | <aname="--overlap_mpi"></a> `OVERLAP_MPI`|
117
-
|`--gpu`|`true`, `false`|`false`| Enable GPU acceleration | Must specify `GPU_COMPUTE_CAPABILITY` and may need to set `CUDA_PATH` in [[configuration file \| Installation:-Machine-Configuration-File#1-Library-paths]]| <aname="--gpu"></a> `GPU`|
117
+
|`--gpu`|`true`, `false`|`false`| Enable GPU acceleration | Must specify `GPU_COMPUTE_CAPABILITY` and may need to set `CUDA_PATH` in [[configuration file \|[Installation]-Machine-Configuration-File#1-Library-paths]]| <aname="--gpu"></a> `GPU`|
118
118
|`--gpu_regcount_flu`|> 0 | Depend | Set the maximum amount of registers that GPU fluid solvers can use. | Must be a positive integer. | <aname="--gpu_regcount_flu"></a> |
119
119
120
120
@@ -128,21 +128,21 @@ disabled). See the "Restriction" of each option carefully.
128
128
|`--patch_size`|≥ 8 |`8`| Number of cells along each direction in a single patch | Must be an even number | <aname="--patch_size"></a> `PATCH_SIZE`|
129
129
|`--debug`|`true`, `false`|`false`| Run GAMER in a debug mode | - | <aname="--debug"></a> `GAMER_DEBUG`|
130
130
|`--bitwise_reproducibility`|`true`, `false`| Depend | Enable [[bitwise reproducibility \| Bitwise Reproducibility]]. It may deteriorate performance, especially for runs with a large number of particles. | - | <aname="--bitwise_reproducibility"></a> `BITWISE_REPRODUCIBILITY`|
131
-
|`--timing`|`true`, `false`|`true`| Record the wall time of various GAMER routines in the file [[Record__Timing \| Simulation-Logs:-Record__Timing]] (recommended) | - | <aname="--timing"></a> `TIMING`|
132
-
|`--timing_solver`|`true`, `false`|`false`| Record the wall time of individual GPU solvers in the file [[Record__Timing \| Simulation-Logs:-Record__Timing]]. It will disable the CPU/GPU overlapping and thus deteriorate performance notably. | Must enable `--timing`| <aname="--timing_solver"></a> `TIMING_SOLVER`|
131
+
|`--timing`|`true`, `false`|`true`| Record the wall time of various GAMER routines in the file [[Record__Timing \|[Simulation-Logs]-Record__Timing]] (recommended) | - | <aname="--timing"></a> `TIMING`|
132
+
|`--timing_solver`|`true`, `false`|`false`| Record the wall time of individual GPU solvers in the file [[Record__Timing \|[Simulation-Logs]-Record__Timing]]. It will disable the CPU/GPU overlapping and thus deteriorate performance notably. | Must enable `--timing`| <aname="--timing_solver"></a> `TIMING_SOLVER`|
133
133
|`--double`|`true`, `false`|`false`| Enable double-precision floating-point accuracy for grid fields. Note that it could have a serious impact on GPU performance. | - | <aname="--double"></a> `FLOAT8`|
134
134
|`--laohu`|`true`, `false`|`false`| Work on the NAOC Laohu GPU cluster. | - | <aname="--laohu"></a> `LAOHU`|
135
-
|`--hdf5`|`true`, `false`|`false`| Enable HDF5 output (see [[Outputs]]) | May need to set `HDF5_PATH` in [[configuration file \| Installation:-Machine-Configuration-File#1-Library-paths]]| <aname="--hdf5"></a> `SUPPORT_HDF5`|
136
-
|`--gsl`|`true`, `false`|`false`| Enable GNU scientific library | May need to set `GSL_PATH` in [[configuration file \| Installation:-Machine-Configuration-File#1-Library-paths]]| <aname="--gsl"></a> `SUPPORT_GSL`|
137
-
|`--fftw`|`OFF`, `FFTW2`, `FFTW3`|`OFF`| Enable FFTW | May need to set `FFTW2/3_PATH` in [[configuration file \| Installation:-Machine-Configuration-File#1-Library-paths]]| <aname="--fftw"></a> `SUPPORT_FFTW`|
135
+
|`--hdf5`|`true`, `false`|`false`| Enable HDF5 output (see [[Outputs]]) | May need to set `HDF5_PATH` in [[configuration file \|[Installation]-Machine-Configuration-File#1-Library-paths]]| <aname="--hdf5"></a> `SUPPORT_HDF5`|
136
+
|`--gsl`|`true`, `false`|`false`| Enable GNU scientific library | May need to set `GSL_PATH` in [[configuration file \|[Installation]-Machine-Configuration-File#1-Library-paths]]| <aname="--gsl"></a> `SUPPORT_GSL`|
137
+
|`--fftw`|`OFF`, `FFTW2`, `FFTW3`|`OFF`| Enable FFTW | May need to set `FFTW2/3_PATH` in [[configuration file \|[Installation]-Machine-Configuration-File#1-Library-paths]]| <aname="--fftw"></a> `SUPPORT_FFTW`|
138
138
|`--spectral_interpolation`|`true`, `false`|`false`| Enable spectral interpolation. If true, the default fluid interpolation scheme will be changed to spectral interpolation. | Must enable `--gsl` and set `--fftw`| <aname="--spectral_interpolation"></a> `SUPPORT_SPECTRAL_INT`|
139
-
|`--rng`|`RNG_GNU_EXT`, `RNG_CPP11`|`RNG_GNU_EXT`| Random number generators. `RNG_GNU_EXT`: GNU extension `drand48_r`; `RNG_CPP11`: c++11 `<random>`| Use `RNG_GNU_EXT` for compilers supporting GNU extensions (<b>they may not be supported on macOS</b>); use `RNG_CPP11` for compilers supporting c++11 (<b>one may need to add `-std=c++11` to `CXXFLAG`</b> → see [[compilation flags \| Installation:-Machine-Configuration-File#3-Compilation-flags]]) | <aname="--rng"></a> `RANDOM_NUMBER`|
139
+
|`--rng`|`RNG_GNU_EXT`, `RNG_CPP11`|`RNG_GNU_EXT`| Random number generators. `RNG_GNU_EXT`: GNU extension `drand48_r`; `RNG_CPP11`: c++11 `<random>`| Use `RNG_GNU_EXT` for compilers supporting GNU extensions (<b>they may not be supported on macOS</b>); use `RNG_CPP11` for compilers supporting c++11 (<b>one may need to add `-std=c++11` to `CXXFLAG`</b> → see [[compilation flags \|[Installation]-Machine-Configuration-File#3-Compilation-flags]]) | <aname="--rng"></a> `RANDOM_NUMBER`|
140
140
> [!CAUTION]
141
141
> On macOS, we recommend using the GNU compiler and set `--rng=RNG_CPP11`.
0 commit comments