10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-10-20 06:48:20 +02:00
quantum_package/docs/source/users_guide/qp_run.rst

51 lines
833 B
ReStructuredText
Raw Normal View History

.. _qp_run:
qp_run
======
.. TODO
.. program:: qp_run
Command used to run a calculation.
Usage
-----
.. code:: bash
2019-01-13 14:57:53 +01:00
qp_run [-h|--help] [-p <string>|--prefix=<string>] [-s|--slave] [--]
PROGRAM EZFIO_DIR
2018-11-23 17:00:51 +01:00
2019-01-13 14:57:53 +01:00
``PROGRAM`` is the name of the |QP| program to be run, and ``EZFIO_DIR`` is
the name of the |EZFIO| directory containing the data.
2018-11-23 17:00:51 +01:00
2019-01-13 14:57:53 +01:00
.. option:: -h, --help
2018-11-23 17:00:51 +01:00
Displays the list of available |qp| programs.
2019-01-13 14:57:53 +01:00
.. option:: -p <string>, --prefix=<string>
Prefix before running the program. This option is used to run programs like
like gdb or valgrind.
.. option:: -s, --slave
2019-01-13 14:57:53 +01:00
This option needs to be set to run a slave job for ``PROGRAM``, to accelerate
another running instance of the |qp|.
Example
-------
.. code:: bash
2019-01-13 14:57:53 +01:00
qp_run fci h2o.ezfio &
srun qp_run --slave fci h2o.ezfio
wait