|
LSSTApplications
8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
LSSTDataManagementBasePackage
|
Functions | |
| def | startPipeline |
| def | parseNodeList |
Variables | |
| string | RootIoDir = "/share/DC2root" |
| string | Dc2PipeDir = "/share/stack/dc2pipe" |
| string | DbHost = "lsst10.ncsa.uiuc.edu " |
| string | DbUser = "test" |
| string | DbPassword = "globular.test" |
| list | DbCmdFiles = ["lsstSchema4mysql.sql", "lsstPipelineSetup4mysql.sql"] |
| def lsst.pex.harness.startPipeline.parseNodeList | ( | nodeList | ) |
Return (nnodes, ncores) where: - nnodes = number of nodes (host IP addresses) in file - ncores = total number of CPU cores specified
Definition at line 126 of file startPipeline.py.
| def lsst.pex.harness.startPipeline.startPipeline | ( | nodeList, | |
| pipelinePolicy, | |||
| runId, | |||
createIoDirs = False, |
|||
createDbTables = False |
|||
| ) |
Start pipeline execution Inputs: - nodeList: path to mpi machine file; environment variables and relative paths are expanded relative policy paths are relative to the directory containing nodeList - pipelinePolicy: path to pipeline policy file - createIoDirs: create I/O directories for pipeline run - createDbTables: create database tables Set createIoDirs and createDbTables True for DC2 operation, False for running local tests. The node list file contains information about the nodes on which to run the pipeline. In its simplest form there is one line per node in the format: ipaddress[:ncores] where ncores is the number of cores that you wish to use on that node; the defaults is 1. Blank lines and lines beginning with # are ignored. Additional options may be specified; see documentation for MPICH2 used with the MPD process management environment. The pipeline uses one slice just to run the preprocess and postprocess phase; all other slices are used to run slices of the process phase. For example: - To run one slice of the process phase on one host (that has at least 2 CPUs): specify one host with 2 slices (1 for pre/postprocess and 1 for process) - To run three slices of the process phase on two hosts (each with at least 2 CPUs): specify two hosts with 2 slices each (4 slices: 1 for pre/postprocess and 3 for process)
Definition at line 39 of file startPipeline.py.
| list lsst.pex.harness.startPipeline.DbCmdFiles = ["lsstSchema4mysql.sql", "lsstPipelineSetup4mysql.sql"] |
Definition at line 37 of file startPipeline.py.
| string lsst.pex.harness.startPipeline.DbHost = "lsst10.ncsa.uiuc.edu " |
Definition at line 34 of file startPipeline.py.
| string lsst.pex.harness.startPipeline.DbPassword = "globular.test" |
Definition at line 36 of file startPipeline.py.
| string lsst.pex.harness.startPipeline.DbUser = "test" |
Definition at line 35 of file startPipeline.py.
| string lsst.pex.harness.startPipeline.Dc2PipeDir = "/share/stack/dc2pipe" |
Definition at line 33 of file startPipeline.py.
| string lsst.pex.harness.startPipeline.RootIoDir = "/share/DC2root" |
Definition at line 32 of file startPipeline.py.
1.8.5