WARPXM v1.10.0
|
After WARPXM is installed, a WARPXM simulation can either be executed directly by supplying an input file as an argument, or through the warpy python interface. The following describes the command line arguments for each method.
The WARPXM help (-h
) option provides a list of the available command line options. The use of common options are explained in the following sections.
BUG: If the command-line option -help
is passed, the help text for PETSC is printed to screen along with the WARPXM help text.
Given a warpxm input file WARPXM can be run as a single process via the command line:
For a parallel run with MPI (e.g. with 4 processes), use:
WARPXM has the capability to start from any output frame. To use the last frame:
To start from a specific frame number (e.g. frame 222):
Some things to consider when running a WARPXM simulation:
The warpy Python interface for WARPXM automates the creation of the WARPXM input file, as well as a many other useful tasks.
A number of configurations (run directory location, number of MPI process, etc.) can be made using the warpy_user_config.py. See the warpy documentation for more information.
With a warpy input file, a WARPXM simulation can be simply run with Python from the command line
It is recommended to use Python 3, and warpy must be in the PYTHONPATH
.