08.06.2013 Views

Bernese GPS Software Version 5.0 - Bernese GNSS Software

Bernese GPS Software Version 5.0 - Bernese GNSS Software

Bernese GPS Software Version 5.0 - Bernese GNSS Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

19. <strong>Bernese</strong> Processing Engine (BPE)<br />

Note that in contrast to the above examples concerning RUNBPE::getKey the values here<br />

are set in the PAN directory to be used for the following execution of the program.<br />

The user script may write a standard message into the protocol file (see Section 19.10) using<br />

the method RUNBPE::PRT MESS. This method requires four arguments: the protocol file<br />

name (it is accessible by $$bpe{PRT_FILE}), the message type (e.g., MSG or ERR), the name<br />

of the program (script) and the message itself. You may find examples for the usage of the<br />

methods in the user scripts delivered with the example BPEs.<br />

19.6.5.2 Methods for Parallel Running of User Scripts<br />

Several methods for the parallelization of BPE user scripts are provided in the<br />

${BPE}/bpe util.pm. They create the control file in the master script to prepare the parallel<br />

processing of user scripts in the BPE and help to simplify the mechanisms described<br />

in Section 19.6.4.<br />

(1) file-wise parallel processing (e.g., baseline by baseline):<br />

Usage: initPar Bl($bpe,@filLst,@args)<br />

Parameters: $bpe BPE object (or $$bpe{CONTROL FILE})<br />

@filLst list with filenames to be processed in parallel<br />

@args optional list with additional arguments for BPE control files<br />

$args[ ] are passed as PARAM2, PARAM3, etc. for the parallel<br />

running scripts<br />

(2) process a list of files in a specified number of clusters:<br />

Usage: initPar Cl($bpe,$bpeFil,@filLst,$numClu,$numFil,$minClu,@args)<br />

Parameters: $bpe, @filLst, @args as in (1)<br />

$bpeFil name of BPE cluster files<br />

(a cluster number and an extension will be appended,<br />

specify $bpeFil=${dirBpe}CODSPP to generate cluster files<br />

${dirBpe}CODSPP001.BPE, ${dirBpe}CODSPP002.BPE, . ..)<br />

$numClu desired number of clusters<br />

$numFil, $minClu not used if $numClu>0<br />

(3) process a list of files with a specified number of files in each cluster:<br />

Usage: initPar Cl($bpe,$bpeFil,@filLst,$numClu,$numFil,$minClu,@args)<br />

Parameters: $bpe, @filLst, @args as in (1)<br />

$bpeFil as in (2)<br />

$numClu $numClu=0 to enable this option<br />

$numFil desired number of files per cluster<br />

$minClu a minimum number of clusters<br />

(4) use existing cluster files (e.g., output from the programs SNGDIF or MKCLUS) for the<br />

parallel processing:<br />

Usage: initPar Fl($bpe,@cluFil)<br />

Parameters: $bpe as in (1)<br />

@cluFil list of the prepared cluster files<br />

Examples for the use of these methods can be found in the user scripts of the example BPEs<br />

provided in the distribution of the <strong>Bernese</strong> <strong>GPS</strong> <strong>Software</strong>, <strong>Version</strong> <strong>5.0</strong> .<br />

Page 404 AIUB

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!