-
Notifications
You must be signed in to change notification settings - Fork 57
Download
GAMER is distributed on the GAMER GitHub repository. To download the code, you will need to install git (if not installed yet) and then type
> git clone https://github.com/gamer-project/gamer
By default, you will be using the development version after git clone
.
If you would like to switch to the stable version, type
> git checkout stable
If you have downloaded the code previously and want to update to the latest development or stable version, move to the code directory and type one of the following commands.
# for the development version
> git pull origin master
# for the stable version
> git pull origin stable
See guides.github.com for guides to git and GitHub.
To validate whether the downloaded code correctly retains the symbolic links used by GAMER, try
> ls -l gamer/src/SelfGravity/GPU_Gravity/
Correct: CUPOT_ExternalAcc.cu -> ../CPU_Gravity/CPU_ExternalAcc.cpp
Incorrect: CUPOT_ExternalAcc.cu
Try updating git
if you get incorrect results. Adding either --config core.symlinks=true
or --config core.symlinks=false
to your git clone
command may also help.
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