queue_adapters Package

pbs_adapter Module

TODO: add docs!

class fireworks.user_objects.queue_adapters.pbs_adapter.PBSAdapterNERSC

Bases: fireworks.core.fworker.QueueAdapterBase

get_njobs_in_queue(rocket_params, username=None)

for documentation, see parent object

get_script_str(rocket_params, launch_dir)

Create a NERSC-style PBS script. For more documentation, see parent object.

Supported RocketParams.params are:
  • ncores: number of cores
  • walltime: looks like “hh:mm:ss”
  • queue: the queue to run on
  • account: the account to charge
  • pbs_options: a dict that sets the PBS -l key-value pairs
  • pbs_tags: a list of PBS tags
  • job_name: the name of the job to run
  • modules: a list of modules to load
  • exe: the executable to run, after moving to the launch_dir
submit_to_queue(rocket_params, script_file)

for documentation, see parent object

Table Of Contents

This Page