This module contains the base class for implementing Duplicate Finders
Bases: fireworks.utilities.fw_serializers.FWSerializable
This serves an Abstract class for implementing Duplicate Finders
Given a spec, returns a database query that gives potential candidates for duplicated FireWorks.
Parameters: | spec – spec to check for duplicates |
---|
Method that checks whether two specs are identical enough to be considered duplicates. Return true if duplicated. :param spec1: (dict) :param spec2: (dict)
This module contains methods for launching several Rockets in a parallel environment
Launch the jobs in the job packing mode. :param launchpad: (LaunchPad) object :param fworker: (FWorker) object :param loglvl: (str) level at which to output logs :param nlaunches: (int) 0 means ‘until completion’, -1 or “infinite” means to loop forever :param num_jobs: (int) number of sub jobs :param sleep_time: (int) secs to sleep between rapidfire loop iterations :param total_node_list: ([str]) contents of NODEFILE (doesn’t affect execution) :param ppn: (int) processors per node (doesn’t affect execution)
A single manager to ping all launches during multiprocess launches
Parameters: |
|
---|
Initializes shared data with multiprocessing parameters and starts a rapidfire
Parameters: |
|
---|
Parse node list and processor list from nodefile contents
Parameters: |
|
---|---|
Returns: | (([int],[int])) the node list and processor list for each job |
Create each sub job and start a rocket launch in each one
Parameters: |
|
---|---|
Returns: | ([multiprocessing.Process]) all the created processes |