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 />

• The BPE can be run in interactive mode (with the graphical user interface) as well as<br />

in non-interactive mode. In the non-interactive mode the BPE process can be started<br />

from the command line or its start can be scheduled using, e.g., the cron utility on<br />

UNIX systems or a task scheduling utility on Windows. The different ways of running<br />

the BPE are described in Section 19.8.<br />

The BPE may be used to perform all possible tasks, sequentially or in parallel. A processing<br />

sequence of <strong>Bernese</strong> programs can be defined, scripts may be included which download data,<br />

perform quality reports and processing protocols, submit or archive result files. The BPE<br />

processing tasks are defined by the user in so-called Process Control Files. The BPE is able<br />

to run more than one task at a time on different CPUs, and can even divide a single task<br />

across different CPUs. The new BPE, unlike its predecessor, also includes control structures<br />

that allow to perform conditioned jumps forward and backward in the processing sequence,<br />

further enhancing the capabilities of the BPE as a powerful automatization tool.<br />

Four sophisticated example BPEs are delivered together with the software (description in<br />

Chapter 20) which can be used directly or may be adapted by the user to his particular<br />

needs.<br />

Figure 19.1 shows a flow diagram describing the functioning of the BPE server. In this<br />

chapter we describe the three main parts of the BPE (server, client, and user scripts),<br />

important files used by the BPE and the way the BPE can be setup and executed. However,<br />

prior to this description we have to make a remark concerning the directory structure used<br />

by the BPE.<br />

19.2 Directory Structure Used by the BPE<br />

The BPE uses several directory trees. Standard <strong>Bernese</strong> environment variables contain<br />

the names of these directories (e.g., the variable ${X} may contain the directory<br />

name /home/bernese/BERN50/<strong>GPS</strong> on a UNIX system or something like<br />

C:\Program Files\Bern50\<strong>GPS</strong> on a Windows machine) and we use these variables when<br />

we refer to the corresponding directories in a platform-independent manner. The directories<br />

may be divided into the following four categories (see also Section 22.2):<br />

(1) <strong>Software</strong>-directories (${BPE}, ${X}/EXE, ${XG}, ${XQ}). The following directories are<br />

particularly important for the BPE:<br />

${XG} Executables of the main (i.e. Fortran) <strong>Bernese</strong> programs.<br />

${XQ} The menu program (acting as BPE server at the same time).<br />

${X}/EXE Scripts for the compilation of the software, starting the menu<br />

program, etc. The file LOAD<strong>GPS</strong>.setvar, that defines the<br />

<strong>Bernese</strong> environment, is located here, too.<br />

${X}/SCRIPT Auxiliary scripts that keep old user scripts running.<br />

${BPE} The so-called BPE client and several BPE tools used by the<br />

BPE (written in Perl).<br />

(2) User area (${U}, and subdirectories). The following directories are particularly important<br />

for the BPE:<br />

Page 382 AIUB

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

Saved successfully!

Ooh no, something went wrong!