A versatile MULTIFLUID HD/MHD code that runs on clusters of CPUs or GPUs, with special emphasis on protoplanetary disks.
Report bugs to the issues section or to the Google group.
make SETUP=fargo PARALLEL=0 GPU=0
./fargo3d setups/fargo/fargo.par
make SETUP=fargo PARALLEL=1 GPU=0
mpirun -np 8 ./fargo3d setups/fargo/fargo.par
make SETUP=fargo PARALLEL=0 GPU=1
./fargo3d setups/fargo/fargo.par
make SETUP=fargo PARALLEL=1 GPU=1
mpirun -np 2 ./fargo3d setups/fargo/fargo.par
-
in/
: setup parameter files. Equivalent to the.par
files in thesetup/
subdirectory. -
planets/
: planets configuration files. -
scripts/
: scripts used to build the code. -
setups/
: custom setup definitions. -
src/
: source files. These files can be copied to thesetups/
subdirectory and modified there. The makefile uses theVPATH
variable to decide in which order a given source file is sought within different directories (thesetup/
subdirectory has higher prority thansrc
). -
std/
: standard or default definitions. These definitions include standard boundary conditions, units, scaling rules, default setup parameters, etc. -
test_suite/
: scripts used to test the code. The rule to issue them ismake test[name of python script without extension]
for any script in this subdirectory. These scripts use the 'test' python module inscripts/
-
utils/
: utilities to post-process the data.