Skip to content

lsawade/GF3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

40a67a8 · Oct 24, 2024
Oct 24, 2024
Jul 18, 2023
Mar 18, 2024
Sep 24, 2024
Sep 24, 2024
Apr 11, 2023
Aug 22, 2023
Jun 20, 2023
Aug 28, 2023
Feb 21, 2023
Jul 17, 2023
Feb 20, 2023
Aug 28, 2023
Aug 9, 2022
Jul 18, 2023
Aug 9, 2022

Repository files navigation

3D Green Function generation and extraction software.

'Quick'-Install

For extraction only:

Make environment

conda create -n gf "python=3.10" numpy scipy matplotlib h5py

activate

conda activate gf

and install

cd path/to/GF3D
pip install -e .

For generation:

For post-processing the following pacakges need to be installed by hand after numpy, scipy and matplotlib have been installed:

mpi4py

export MPICC=$(which mpicc)
python -m pip install mpi4py

h5py

you need to compile HDF5 with parallel i/o support.

# Summit
export HDF5_DIR=/gpfs/alpine/geo111/scratch/lsawade/SGT/SpecfemMagic/packages/hdf5/build/

# Traverse
export HDF5_DIR=/scratch/gpfs/lsawade/SpecfemMagic/packages/hdf5/build/

CC="mpicc" HDF5_MPI="ON" HDF5_DIR=${HDF5_DIR} pip install --no-binary=h5py --no-cache-dir h5py

adios2

You need to compile adios as well for reading the Specfem output files.

conda develop path/to/adios-install-dir/lib/python3.10/site-packages/adios2

About

Green function creator and accessor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published