Skip to content
Kengo TOMIDA edited this page Apr 28, 2015 · 40 revisions

Welcome to the Athena++ Code Project.

Introduction

Learn More

  • Tutorial

  • User's Guide

  • Programmer'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

nx1 = 64 nx2 = 64 nx3 = 64 ` The code generates only one restarting file using MPI-IO, but for other outputs, each meshblock creates one output file. So you have to combine them by yourself later if you want.
  • Useful technique for debugging: Add #include <fenv.h> and feenableexcept(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.

Other Links

Milestones as of 10/17/2014

Clone this wiki locally