Skip to content

ToonWeyens/PB3D_tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PB3D_tools

Auxiliary tools for easy PB3D usage:

  • Run PB3D or POST with run.
  • Extract jobs info for parameter scan runs with input file modifications with extract_jobs_info.
  • Inspect all running SLURM jobs for current user with inspect_SLURM_jobs.

For easy usage, add directory to $PATH:

echo -e "# add PB3D run tools \nexport PATH=\$PATH:$(pwd)" >> ~/.bashrc

run

Runscript for the PB3D code, written in Python 3.

Features:

  • Automatic support for schedulers such as PBS and SLURM.
  • Customization through yaml options file.
  • Easy parameter scans through input file modifications in a custom file .
  • Complementary script extract_jobs_info to extract the eigenvalues for such an input file modification run.

Run

./run -g

to generate a template yaml options file, and see

./run -h

for more information.

extract_jobs_info

Extracts the Eigenvalues of jobs for an input array Can be run with either 1 or 3 arguments:

  1. ./extract_jobs_info [RUN FOLDER] for default usage.
  2. ./extract_jobs_info [RUN FOLDER] [ARRAY INPUT] [OUTPUT FILE] where for the array input file can be specified, as well as the output file. produced there.

inspect_SLURM_jobs

Inspect all SLURM currently being run by user, with the option to cancel them interactively.

About

Auxiliary tools for PB3D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published