Skip to content

Download

Hsi-Yu Schive edited this page Jun 16, 2018 · 8 revisions

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

If you have downloaded the code previously and want to update to the latest version, move to the code directory and type

> git pull

Caution

GAMER uses symbolic links to avoid duplicate files, which however are not supported on some filesystems (e.g., FAT). To validate whether the downloaded code correctly retains these links, try

> ls -l gamer/src/SelfGravity/CPU_Gravity/

Correct: CPU_ExternalAcc.cpp -> ../GPU_Gravity/CUPOT_ExternalAcc.cu
Incorrect: CPU_ExternalAcc.cpp

If you get incorrect results, try adding either --config core.symlinks=true or --config core.symlinks=false to your git clone command.

Clone this wiki locally