Git Product home page Git Product logo

asofi3d's Introduction

About

CircleCI status:

CircleCI

ASOFI3D stands for Anisotropic Seismic mOdeling with FInite differences in 3D. This code is intended for the modeling of seismic wave propagation and is based on SOFI3D code with the addition of orthorhombic anisotropy.

Obtaining the code

Get the code from this repo:

git clone [email protected]:swag-kaust/ASOFI3D.git

Then switch to the created directory:

cd ASOFI3D

Building the code

The prerequisites for ASOFI3D are:

  • C compiler (for example, gcc), which supports C11 standard
  • MPI library (for example, OpenMPI)
  • GNU Make build system

Building the code with gcc and OpenMPI on Ubuntu

On recent Ubuntu versions such as 14.04, 16.04, or 18.04 all prerequisites can be obtained by the following commands:

sudo apt-get install gcc libopenmpi-dev make

Then while in the root directory of the code, build the code via command

make

which compiles the solver and several auxiliary utilities.

Before compilation, make will automatically test for the ability to compile MPI programs and generate file src/config-auto.mk with the flags for compilation.

Example usage

After successful compilation, you can run the code via command

./run_asofi3D.sh np dirname

where np is a number of MPI processes you want to use and dirname is the directory that contains configuration of the problem to solve. Parameter dirname is optional and defaults to par, so that the main configuration file of the solver is par/in_and_out/asofi3D.json.

Running the tests

To run the tests, Madagascar is an additional prerequisite. Tests are run via the command

make test

asofi3d's People

Contributors

dmitry-kabanov avatar kalitam avatar ohjuwon avatar vkazei avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.