Commit 95277f95 authored by Alex Breuer's avatar Alex Breuer
Browse files

Added AWP-comparison runs with 10deg free-surface topo and with horizontal topography.

Updated spice runs of Garvin's problem.
parent bead0b8f
../configs/tria3_awp_elastic_75.xml
\ No newline at end of file
[![CC0](http://i.creativecommons.org/p/zero/1.0/88x31.png)](http://creativecommons.org/publicdomain/zero/1.0/)
To the extent possible under law, [Alexander Nikolas Breuer](http://dial3343.org) has waived all copyright and related or neighboring rights to the following work:
* `garvin_awp_recvs_50.tar.bz2`
* `garvin_awp_wf_50.tar.bz2`
* `garvin_awp_recvs_60.tar.bz2`
* `garvin_awp_wf_60.tar.bz2`
* `garvin_awp_recvs_75.tar.bz2`
* `garvin_awp_wf_75.tar.bz2`
* `garvin_awp_recvs_100.tar.bz2`
* `garvin_awp_wf_100.tar.bz2`
* `garvin_awp_recvs_125.tar.bz2`
* `garvin_awp_wf_125.tar.bz2`
* `garvin_awp_recvs_150.tar.bz2`
* `garvin_awp_wf_150.tar.bz2`
* `garvin_awp_recvs_200.tar.bz2`
* `garvin_awp_wf_200.tar.bz2`
This work is published from: United States.
# Runs of Garvin's problem
We solve the elastic wave equations and assume a horizontal surface (no ``topography'').
## Version
```
commit edc3c9dc91fc62f36c2c20c48c74be641c108288
Author: Alexander Nikolas Breuer <anbreuer@ucsd.edu>
Date: Sun May 6 18:48:23 2018 -0700
Fixed generation of ricker sources.
```
## Installation: Dependencies
```
cd submodules/libxsmm; PREFIX=../../libs make BLAS=0 install
cd ../..
wget http://zlib.net/zlib-1.2.11.tar.gz -O zlib.tar.gz
mkdir zlib; tar -xzf zlib.tar.gz -C zlib --strip-components=1
cd zlib; ./configure --static --prefix=$(pwd)/../libs
make -j 3
make install
cd ..
wget https://www.hdfgroup.org/package/gzip/?wpdmdl=4301 -O hdf5.tar.gz
mkdir hdf5; tar -xzf hdf5.tar.gz -C hdf5 --strip-components=1
cd hdf5; ZLIBDIR=$(pwd)/../libs ./configure --enable-shared=no --with-zlib=${ZLIBDIR} --prefix=$(pwd)/../libs
make -j 3
make install
cd ..
wget ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.4.1.1.tar.gz -O netcdf.tar.gz
mkdir hdf5; tar -xzf hdf5.tar.gz -C hdf5 --strip-components=1
cd netcdf; HDF5DIR=$(pwd)/../libs CPPFLAGS=-I${HDF5DIR}/include LDFLAGS=-L${HDF5DIR}/lib ./configure --enable-shared=no --disable-dap --prefix=$(pwd)/../libs
make -j 3
make install
cd ..
wget https://github.com/Reference-LAPACK/lapack-release/archive/lapack-3.8.0.zip -O lapack.zip
unzip -a lapack.zip
mv lapack-release-lapack-3.8.0 lapack
mkdir lapack/build; cd lapack/build; cmake -DCMAKE_INSTALL_PREFIX:PATH=$(pwd)/../../libs ..; make install
ln -s $(pwd)/../../libs/lib64/lib*.a $(pwd)/../../libs/
cd ../..
cd submodules/moab; autoreconf -fi
LIBS="-lgfortran -lquadmath -lm" F77=gfortran F90=gfortran FC=gfortran CC=gcc CXX=g++ ./configure --disable-debug --enable-optimize --enable-shared=no --enable-static=yes --disable-fortran --enable-tools --with-blas=$(pwd)/../../libs/lib64/libblas.a --with-lapack=$(pwd)/../../libs/lib/liblapack.a --with-hdf5=$(pwd)/../../libs --with-netcdf=$(pwd)/../../libs --with-pnetcdf=no --with-metis=yes --download-metis --prefix=$(pwd)/../../libs
make -j 3
make install
cd ../..
```
## Installation: EDGE
```
scons equations=elastic order=5 cfr=1 element_type=tria3 xsmm=$(pwd)/libs precision=32 parallel=omp zlib=$(pwd)/libs hdf5=$(pwd)/libs netcdf=$(pwd)/libs moab=$(pwd)/libs -j 3
```
## Directory Setup
```
ln -s ../meshes/*awp_notopo*.msh .
ln -s ../configs/*awp_elastic_notopo*.xml .
ln -s ../source/ricker_awp_notopo.nc
```
## Runs and Compression
```
bash run.sh
bash compress.sh 2>&1 | tee compress.sh.log
```
#!/bin/bash
##
# @file This file is part of EDGE.
#
# @author Alexander Breuer (anbreuer AT ucsd.edu)
#
# @section LICENSE
# Copyright (c) 2018, Regents of the University of California
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
#
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# @section DESCRIPTION
# Compresses the runs.
##
for msh in 50 60 75 100 125 150 200
do
echo "$(date) compressing, cl: ${msh}"
tar -cvjSf garvin_awp_recvs_${msh}.tar.bz2 garvin_awp_recvs_${msh}
tar -cvjSf garvin_awp_wf_${msh}.tar.bz2 garvin_awp_wf_${msh}
done
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment