Skip to content

Building and running SW4 on Summit

Matt Larsen edited this page Aug 18, 2019 · 15 revisions

SW4

SW4 (Seismic Waves, 4th order) implements substantial capabilities for 3-D seismic modeling, with a free surface condition on the top boundary, absorbing super-grid conditions on the far-field boundaries, and an arbitrary number of point force and/or point moment tensor source terms.

Repository

git clone https://github.com/Alpine-DAV/sw4.git
git checkout ascent

Modules

These modules load the correct compilers and setup the environment for building.

ml cuda/10.1.168 
ml gcc/5.4.0
ml cmake/3.14.2

Using Installed Ascent

We have build and installed Ascent in the ALPINE project directory:

/gpfs/alpine/proj-shared/csc340/larsen/ascent/install

This is the default Ascent that SW4 will build against, and no changes to the SW4 build are needed. Note: you will need to be a member of csc340 to access the build.

Using My Own Ascent Build

To build your own Ascent, you can follow the instructions here: https://github.com/Alpine-DAV/ascent/wiki#summit--gcc--cuda--static

To point SW4 at the custom Ascent build, modify line 10 of the SW4 file

configs/make.inc

to point to your install

ASCENT_INSTALL_DIR=/gpfs/alpine/proj-shared/csc340/larsen/ascent/install

Clone this wiki locally