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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

23. Installation Guide<br />

If you have a Fortran 90 compiler installed you are referred to Section 23.1.5 for compiling<br />

the software.<br />

To recompile the <strong>Bernese</strong> menu a C++-compiler and the QT-library are required. There<br />

is no free version of the QT-library for Windows available. This does not matter because<br />

there is absolutely no need for you to recompile the menu.<br />

Compilation of Individual Modules<br />

In some cases, it is desirable to be able to compile the software. If you have the Lahey/Fujitsu<br />

Fortran 95 compiler installed you can recompile modules of the <strong>Bernese</strong> <strong>GPS</strong> <strong>Software</strong>,<br />

<strong>Version</strong> <strong>5.0</strong> without problems using the provided Perl compile scripts. If you have another<br />

Fortran 90 compiler installed, you will need to adapt the file %X%\EXE\CMPOPT.pl where<br />

the compiler and its options are defined. You can use the implemented compilers as model<br />

and need to have your compiler manual ready. See section OTHER in %X%\EXE\CMPOPT.pl.<br />

Redefine the environment variable F VERS to OTHER in that case.<br />

Since we do not deliver the binary library, you will have to do a complete compile of the<br />

software initially (see case 1 below). Later on, you can compile individual modules.<br />

If you make any changes in the source files of the software you have to distinguish three<br />

cases:<br />

(1) Change in an include or module file (directory %I%):<br />

You have to recompile the full source code using the command perl<br />

%X%\EXE\COMPLINK, because the modules and include files are used by several subroutines<br />

and programs.<br />

(2) Change in one of the subroutines (directory %LG%):<br />

• If you have changed the parameter list for a subroutine you have to check whether<br />

an interface definition exists in %I%\I <strong>GPS</strong>LIB.f90. Adapt the interface and recompile<br />

the full source code using the command perl %X%\EXE\COMPLINK.<br />

• Otherwise it is only necessary to recompile the subroutine using %X%\EXE\CLIB<br />

and after that to link all main programs that are calling<br />

the subroutine, using the command %X%\EXE\CMAIN .<br />

(3) Change in one of the programs (directory %FG%):<br />

If code changes in a main program were done it is sufficient to compile and link this<br />

program using the command %X%\EXE\CMAIN .<br />

To recompile all subroutines use the command perl %X%\EXE\CMPLIB.pl LIB ALL. The<br />

command perl %X%\EXE\CLPGM.pl ANY ALL recompiles and links all main programs.<br />

23.1.6 Updating the <strong>Software</strong><br />

Even if the <strong>Bernese</strong> <strong>GPS</strong> <strong>Software</strong> is well tested due to the daily use in the routine processing<br />

of CODE the software may still contain some bugs. New developments within the<br />

IGS require modifications in <strong>Version</strong> <strong>5.0</strong> of <strong>Bernese</strong> <strong>GPS</strong> <strong>Software</strong>. Such bug-fixes and<br />

modifications are announced in the support section of http://www.bernese.unibe.ch.<br />

Page 560 AIUB

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

Saved successfully!

Ooh no, something went wrong!