Fargo3d
A versatile multifluid HD/MHD code that runs on clusters of CPUs or GPUs, with special emphasis on protoplanetary disks.
Install / Use
/learn @FARGO3D/Fargo3dREADME
FARGO3D
A versatile MULTIFLUID HD/MHD code that runs on clusters of CPUs or GPUs, with special emphasis on protoplanetary disks.
Documentation
Report bugs to the issues section or to the Google group.
First run
Sequential CPU
make SETUP=fargo PARALLEL=0 GPU=0
./fargo3d setups/fargo/fargo.par
Parallel CPU
make SETUP=fargo PARALLEL=1 GPU=0
mpirun -np 8 ./fargo3d setups/fargo/fargo.par
Sequential GPU
make SETUP=fargo PARALLEL=0 GPU=1
./fargo3d setups/fargo/fargo.par
Parallel GPU
make SETUP=fargo PARALLEL=1 GPU=1
mpirun -np 2 ./fargo3d setups/fargo/fargo.par
Description of subdirectories:
-
in/: setup parameter files. Equivalent to the.parfiles 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 theVPATHvariable 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.
