Queue launcher is submitting one rocket in a loop

Question posted by skrsna


I’m trying to run some rockets in slurm queue using rapidfire from queue_launcher but it keeps submitting one rocket again and again in a infinite loop. I’m using the following script to get the launchpad and launch rockets

from fireworks import LaunchPad, FWorker
from fireworks.queue.queue_launcher import rapidfire
from fireworks.utilities.fw_serializers import load_object_from_file

lpad = LaunchPad.from_file('my_launchpad.yaml')
qadapter = load_object_from_file('my_qadapter.yaml')


my launchpad looks like this

        "fw_id": 51,
        "created_on": "2019-10-31T14:55:20.724738",
        "updated_on": "2019-10-31T14:55:41.687741",
        "state": "FIZZLED",
        "name": {
            "calculation_type": "conformer_job",
            "name": "CC=CCC_dftb_TS_False",
            "user": "me"

it’s in fizzled state cause I cancelled the job. Am I doing something wrong here? my queue adapter file is this:

_fw_name: CommonAdapter
_fw_q_type: SLURM
rocket_launch: rlaunch -l my_launchpad.yaml -w my_fworker.yaml singleshot
walltime: '00:10:00'
queue: null
account: null
job_name: null
logdir: ~/fw_logs
pre_rocket: null
post_rocet: null

Thanks for your help.