General remarks on the SW3D software

This part of the software documentation has just been introduced with the aim to collect more general documentation and information in the future. Please, excuse the absence of relevant information in this version.

Remarks concerning Fortran compilers

Some Fortran compilers (like Linux g77 ver.0.5.20, Linux fort77 ver.1.13, or very old HP-UX (ver.8) or Apple Macintosh compilers) do not adhere to the ANSI Fortran 77 standard to that extent they could correctly compile packages like MODEL or CRT (they incorrectly compile DO loops). HP-UX ver.10.20 compiler fort77 does not compile all programs correctly (problems with names of subroutines). Note that Linux compiler g77 ver.0.5.23 or ver.2.90.23 (980102) already compiles DO loops correctly and is used by the authors (option -O is not recommended). Linux fort77 ver.1.14a also compiles DO loops correctly but has other problems. The authors use compilers by Lahey under MS-DOS.

Perl scripts

Perl scripts are used control the compilation of the Fortran code, to run the programs according to the history files and sometimes to complete some system-dependent tasks.

Perl interpreter is usually a part the Unix installation and is available for most other operating systems. Perl interpreter should be available at

VRML viewers

Virtual Reality Modeling Language (VRML) is a powerful tool to display 3-D models, rays and other 3-D objects relevant to seismic modelling. In particular, we recommend VRML97 (Virtual Reality Modeling Language ISO/IEC 14772). Packages FORMS 5.30 and MODEL 5.30 are equipped with the first versions of the programs to triangulate structural interfaces and velocity sections and display them together with rays and source and receiver points in 3-D by means of VRML. Disk SW3D-CD-3 contains examples of generated VRML files.

To see the VRML files, it is recommended to have installed a VRML97 viewer and enable it in the HTML browser as a helper. If you have no VRML97 viewer, please, ask your system administrator to install one for you. Unfortunately, many presently available browsers support just VRML version 1.0C or have severe bugs. The authors have no access to Silicon Graphics computers, where they might expect good VRML97 browsers. Under Linux, they succeded to install and use the only browser, called vrmlview. However, it has several bugs which may be fixed in future versions. For example, the ambient light makes all objects white, so it cannot be used. The ambient light is thus poorly simulated by sets of directional lights on SW3D-CD-3.


Plotting programs generate 2-D plots (e.g., synthetic seismograms) in PostScript. The figures may be printed on any PostScript printer, viewed on the screen, included into papers, etc. There are also several PostScript figures on SW3D-CD-3. To view the figures on the screen, it is not bad to have installed a PostScript viewer and to enable it in the HTML browser as a helper. The authors use GhosScript or GhostView.