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.

18. The Menu System<br />

the menu the next time the configuration will again be the same. We refer to Section 18.9.3<br />

for a detailed description of the mechanism – especially if you use more than one menu in<br />

a given user environment at the same time.<br />

How to specify the campaign, to manipulate the session table, to define the current session<br />

and the job identification character is described in Sections 3.1 and 3.3.<br />

18.4.2 Path and Extensions of Data Files<br />

Path and extensions for all data files may be changed using ”Menu>Configure>Paths and extensions”.<br />

It is, however, not recommended to change these defaults. The panels accessible through<br />

this drop-down menu may also be used to get an overview over the available files and their<br />

location in the data structure. The definitions of path and extensions are saved in the<br />

user-specific file ${U}/PAN/MENU EXT.INP.<br />

18.4.3 Path to Executables, Names of Programs and Input Files<br />

Using ”Menu>Configure>Program names” the path to the Fortran program executables may be defined<br />

in option “Default program path to the executables” (see Figure 18.2). System environment<br />

variables may be used (enclosed in curly brackets). The default value is ${XG} and should<br />

not be changed. The list in option “Special path for individual programs” allows to specify a different<br />

path for specific programs. This may be useful when working with a modified version<br />

of a <strong>Bernese</strong> program or when including user programs into the menu (see Section 18.9.6).<br />

The menu expects that the filename of the executable, of the program input file, and of the<br />

corresponding help file are identical (apart from path and extension). The entries should<br />

not be changed. They are saved in the user-specific file ${U}/PAN/MENU PGM.INP.<br />

18.4.4 Execution of Programs in Foreground and Background<br />

If a program is started in foreground – the default setting – the menu system is blocked<br />

until the main program ends. The advantage is that the user is notified about the end of a<br />

program run and the output of the program is displayed by pressing the ^Output-button.<br />

On UNIX platforms programs may be started in background, too. This can be specified with<br />

”Menu>Configure>Program names”, option “Run Fortran programs in background” (see Figure 18.2). By<br />

starting the program in background the menu system loses the control over it and it is up<br />

to the user to check whether the program has finished or not. On the other hand, starting<br />

the program in background allows to continue working with the menu system immediately.<br />

Take care on output and auxiliary filenames to avoid conflicts if you run several programs<br />

or one program several times in parallel (remember, the scratch files are specified in the<br />

“General Files” panel of the corresponding program that is displayed only on request). It is<br />

a good idea either to include the variable for the jobID ($J) somehow into the filenames or<br />

make a consequent use of session specific file naming.<br />

This option is ignored on Windows-platforms where programs are always executed in foreground.<br />

Page 362 AIUB

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

Saved successfully!

Ooh no, something went wrong!