-
Notifications
You must be signed in to change notification settings - Fork 127
Home
Kengo TOMIDA edited this page Apr 28, 2015
·
40 revisions
-
Tutorial
-
User's Guide
-
Quick note: how to run a MPI job Specify the size of meshblocks in the input file so that the computational domain is divided evenly among processes. The following example allows you to run a 256^3 simulations on (up to) 64 processors. ` nx1 = 256 nx2 = 256 nx3 = 256
- Useful technique for debugging:
Add
#include <fenv.h>
andfeenableexcept(FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW);
somewhere in the main.cpp, then the code signals floating point exceptions. This is very useful to find a pontential problem. You can catch the signal and investigate it with gdb if you compile the code with -g option.
Getting Started
User Guide
- Configuring
- Compiling
- The Input File
- Problem Generators
- Boundary Conditions
- Coordinate Systems and Meshes
- Running the Code
- Outputs
- Using MPI and OpenMP
- Static Mesh Refinement
- Adaptive Mesh Refinement
- Load Balancing
- Special Relativity
- General Relativity
- Passive Scalars
- Shearing Box
- Diffusion Processes
- General Equation of State
- FFT
- Multigrid
- High-Order Methods
- Super-Time-Stepping
- Orbital Advection
- Rotating System
- Reading Data from External Files
- Non-relativistic Radiation Transport
- Cosmic Ray Transport
- Units and Constants
Programmer Guide