Skip to content

Files

This branch is 204 commits ahead of abacusmodeling/abacus-develop:develop.

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 18, 2025
Nov 14, 2024
Nov 14, 2024
Nov 21, 2024
Jan 18, 2025
Nov 14, 2024
Nov 14, 2024
Nov 14, 2024
Jan 18, 2025
Nov 14, 2024
Nov 14, 2024
Jan 18, 2025
Nov 14, 2024
Nov 14, 2024
Nov 14, 2024
Nov 14, 2024
Nov 14, 2024
Jan 6, 2025
Mar 10, 2025
Nov 14, 2024
Nov 14, 2024
Nov 14, 2024
Nov 14, 2024
Dec 11, 2024
Jan 18, 2025
Jan 18, 2025
Nov 14, 2024
Jan 18, 2025
Nov 14, 2024
Nov 14, 2024
Nov 14, 2024
Jan 18, 2025
Nov 14, 2024
Nov 14, 2024
Mar 11, 2025
Jan 18, 2025
Nov 14, 2024
Nov 14, 2024
Nov 14, 2024
Jan 18, 2025
Jan 18, 2025
Jan 18, 2025
Sep 30, 2022
Sep 16, 2022
Sep 28, 2022
/*******************************************************************************/
/
/ These are the examples of ABACUS program.
/
/*******************************************************************************/

These examples show how to use ABACUS to do some specify calculations and how to 
use the interfaces between ABACUS and some extenal softwares.

The examples interface_XXXX show the using of interface of ABACUS and XXXX

Except for interface examples, a bash script `runall.sh` is required for each example
directory to be accessed by `dflow_run.py`. Each example directory may contains several
examples for different systems or input settings, where a bash script `run.sh` is
required to run the specific example. The `SETENV` is read by `run.sh` to get the 
executable directory of abacus (`ABACUS_PATH`), number of processes (`ABACUS_NPROCS`) and 
number of threads (`ABACUS_THREADS`).

How to run dflow_run.py:

- `python3 dflow_run.py --find 1`:
   find all directories where `runall.sh` has been prepared.

- `python3 dflow_run.py --run 1`:
   submmit dflow jobs.

- `python3 dflow_run.py --post 1` 
   checkout the status of jobs.