8000 GitHub - alisiahkoohi/devito_basic: Basic Devito setup and example
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

alisiahkoohi/devito_basic

Repository files navigation

A basic devito modeling example + zero-offset gather

Prerequisites

First clone the repository:

git clone https://github.com/alisiahkoohi/devito_basic
cd devito_basic/

Follow the steps below to install the necessary libraries.

conda env create -f environment.yml
conda activate devito

Include the following environment variables in ~/.bashrc to maximize the utilization of your hardware.

export DEVITO_ARCH=gnu
export DEVITO_LANGUAGE=openmp
export OMP_NUM_THREADS=8 # Adjust depending on your architecture.

Example

To run a basic seismic modeling example, run:

python modeling.py

and for creating a zero-offset gather on the same model, execute:

python zero_offset.py

The created zero-offset gather will be saved in a HDF5 file.

Author

Ali Siahkoohi

About

Basic Devito setup and example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0