Commit ed556351 authored by Alexander Nikolas Breuer's avatar Alexander Nikolas Breuer
Browse files

Added La Habra mini setting.

parent e55934a8
......@@ -7,31 +7,15 @@ Commands used for the Gmsh and EDGE-V builds (meshing) and EDGE (solver) build o
.. code-block:: bash
git lfs clone --exclude=* https://opt.dial3343.org/3343/edge_opt.git
cd edge_opt
git lfs fetch -I bench/seismic/wp/la_habra/
git lfs checkout bench/seismic/wp/la_habra/
cd bench/seismic/wp/la_habra/
git clone https://github.com/3343/edge.git
cd edge
cd edge/
git checkout develop
git submodule init
git submodule update
cd submodules/moab/
git apply ../../../meshes/volume/moab_int32.patch
cd ../..
module load intel/18.0.5
module load gcc/9.1.0
module load impi/18.0.5
module load mkl
./tools/build/deps/gmsh.sh -o $(pwd)/deps -l "'-Wl,-L${MKLROOT}/lib/intel64;-lmkl_intel_lp64;-lmkl_core;-lmkl_gnu_thread;-lpthread'" -j 16
./tools/build/deps/gmsh.sh -o $(pwd)/deps -p $(pwd)/tools/gmsh -j 16
./tools/build/deps/zlib.sh -o $(pwd)/deps -j 16
./tools/build/deps/hdf5.sh -z $(pwd)/deps -o $(pwd)/deps -j 16
./tools/build/deps/metis.sh -o $(pwd)/deps -j 16
./tools/build/deps/moab.sh -z $(pwd)/deps -5 $(pwd)/deps -e $(pwd)/submodules/eigen -m $(pwd)/deps -i $(pwd)/submodules/moab -o $(pwd)/deps -j 16
./tools/build/deps/metis.sh -o $(pwd)/deps -p $(pwd)/tools/build/deps/metis.patch -j 16
./tools/build/deps/libxsmm.sh -i $(pwd)/submodules/libxsmm -o $(pwd)/deps -j 16
git clone https://github.com/SCECcode/UCVMC.git
......@@ -47,9 +31,12 @@ Commands used for the Gmsh and EDGE-V builds (meshing) and EDGE (solver) build o
bash -c "printf \"$(pwd)/../deps/ucvm\nyes\nyes\n\" | python2 ./ucvm_setup.py"
cd ../tools/edge_v
/work/02529/breuera/frontera/software/bin/scons parallel=omp zlib=../../deps hdf5=../../deps moab=../../deps metis=../../deps ucvm=../../deps/ucvm install_dir=../../deps -j16
CXX=icpc scons parallel=omp zlib=../../deps hdf5=../../deps gmsh=../../deps metis=../../deps ucvm=../../deps/ucvm install_dir=../../deps -j16
cd ../..
CXX=mpicxx /work/02529/breuera/frontera/software/bin/scons equations=viscoelastic3 order=5 arch=skx parallel=mpi+omp xsmm=deps zlib=deps hdf5=deps moab=deps edge_v=deps
CXX=mpicxx scons equations=viscoelastic3 order=4 arch=skx parallel=mpi+omp xsmm=deps zlib=deps hdf5=deps gmsh=deps edge_v=deps -j16
mv build/edge edge_visco3_o4
CXX=mpicxx scons equations=viscoelastic3 order=5 arch=skx parallel=mpi+omp xsmm=deps zlib=deps hdf5=deps gmsh=deps edge_v=deps -j16
mv build/edge edge_visco3_o5
* Contact: Alexander Breuer
This diff is collapsed.
This diff is collapsed.
......@@ -7,6 +7,35 @@ Used commands:
.. code-block:: bash
./get_grids.sh 2>&1 | tee get_grids.sh.out
mkdir mini
cd mini
ln -s ../grids .
../project_extract.sh -d -20025/20025/-20025/20025 -t /home/alex 2>&1 | tee project_extract.sh.log
mkdir small
cd small
ln -s ../grids .
../project_extract.sh -d -50025/50025/-50025/50025 -t /home/alex 2>&1 | tee project_extract.sh.log
cd ..
mkdir large
cd large
ln -s ../grids .
../project_extract.sh -d -150025/130025/-130025/150025 -t /home/alex 2>&1 | tee project_extract.sh.log
cd ..
edge_cut -x edge_cut_mini.xml 2>&1 | tee small/edge_cut_mini.xml.log
edge_cut -x edge_cut_small.xml 2>&1 | tee small/edge_cut_small.xml.log
edge_cut -x edge_cut_large.xml 2>&1 | tee large/edge_cut_large.xml.log
./convert.sh 2>&1 | tee convert.sh.log
tar -cvJf small.tar.xz small
tar -cvJf mini.tar.xz mini
tar --exclude=*.off --exclude=*.stl -cvJf large.tar.xz large
./project_extract.sh 2>&1 | tee project_extract.sh.out
edge_cut -x edge_cut.xml 2>&1 | tee edge_cut.xml.log
./convert.sh 2>&1 | tee convert.sh.log
......
......@@ -5,6 +5,7 @@
# @author Alexander Breuer (anbreuer AT mytum.de)
#
# @section LICENSE
# Copyright (c) 2021, Friedrich Schiller University Jena
# Copyright (c) 2020, Alexander Breuer
# All rights reserved.
#
......@@ -21,7 +22,13 @@
# @section DESCRIPTION
# Converts the given off-files to stl.
##
for type in top left right front back bottom
for size in mini #small large
do
meshio-convert la_habra_${type}.off la_habra_${type}.stl
for type in top left right front back bottom
do
date
echo "converting ${size} - ${type}"
meshio-convert ${size}/la_habra_${type}.off ${size}/la_habra_${type}.stl
done
done
date
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
<?xml version="1.0" encoding="UTF-8"?>
<!--
@file This file is part of EDGE.
@author Alexander Breuer (breuer AT mytum.de)
@section LICENSE
Copyright (c) 2021, Friedrich Schiller University Jena
Copyright (c) 2020, Alexander Breuer
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
EDGEcut config for the surface mesh for the large domain.
-->
<edge_cut>
<mesh>
<files>
<out>
<left>large/la_habra_left.off</left>
<right>large/la_habra_right.off</right>
<front>large/la_habra_front.off</front>
<back>large/la_habra_back.off</back>
<bottom>large/la_habra_bottom.off</bottom>
<top>large/la_habra_top.off</top>
</out>
</files>
</mesh>
<extrude>
<in>large/out_pe/topo.xyz</in>
<target_z>-65000</target_z>
<n_levels>5</n_levels>
</extrude>
</edge_cut>
<?xml version="1.0" encoding="UTF-8"?>
<!--
@file This file is part of EDGE.
@author Alexander Breuer (breuer AT mytum.de)
@section LICENSE
Copyright (c) 2021, Friedrich Schiller University Jena
Copyright (c) 2020, Alexander Breuer
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
EDGEcut config for the surface mesh for the mini domain.
-->
<edge_cut>
<mesh>
<files>
<out>
<left>mini/la_habra_left.off</left>
<right>mini/la_habra_right.off</right>
<front>mini/la_habra_front.off</front>
<back>mini/la_habra_back.off</back>
<bottom>mini/la_habra_bottom.off</bottom>
<top>mini/la_habra_top.off</top>
</out>
</files>
</mesh>
<extrude>
<in>mini/out_pe/topo.xyz</in>
<target_z>-12500</target_z>
<n_levels>4</n_levels>
</extrude>
</edge_cut>
......@@ -5,6 +5,7 @@
@author Alexander Breuer (breuer AT mytum.de)
@section LICENSE
Copyright (c) 2021, Friedrich Schiller University Jena
Copyright (c) 2020, Alexander Breuer
All rights reserved.
......@@ -19,24 +20,24 @@
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
EDGEcut config for the surface mesh.
EDGEcut config for the surface mesh for the small domain.
-->
<edge_cut>
<mesh>
<files>
<out>
<left>la_habra_left.off</left>
<right>la_habra_right.off</right>
<front>la_habra_front.off</front>
<back>la_habra_back.off</back>
<bottom>la_habra_bottom.off</bottom>
<top>la_habra_top.off</top>
<left>small/la_habra_left.off</left>
<right>small/la_habra_right.off</right>
<front>small/la_habra_front.off</front>
<back>small/la_habra_back.off</back>
<bottom>small/la_habra_bottom.off</bottom>
<top>small/la_habra_top.off</top>
</out>
</files>
</mesh>
<extrude>
<in>out_pe/topo.xyz</in>
<in>small/out_pe/topo.xyz</in>
<target_z>-40000</target_z>
<n_levels>4</n_levels>
</extrude>
......
......@@ -5,6 +5,7 @@
# @author Alexander Breuer (anbreuer AT mytum.de)
#
# @section LICENSE
# Copyright (c) 2021, Friedrich Schiller University Jena
# Copyright (c) 2020, Alexander Breuer
# All rights reserved.
#
......@@ -21,14 +22,21 @@
# @section DESCRIPTION
# Downloads and unzips the grids.
##
date
mkdir grids
cd grids
for msh in n34w118 n34w119 n35w118 n35w119
for msh in n33w119 n33w118 n33w117 n34w120 n34w119 n34w118 n34w117 n35w120 n35w119 n35w118 n35w117 n36w120 n36w119 n36w118 n36w117
do
wget -q https://prd-tnm.s3.amazonaws.com/StagedProducts/Elevation/13/ArcGrid/USGS_NED_13_${msh}_ArcGrid.zip
unzip USGS_NED_13_${msh}_ArcGrid.zip -d ${msh}
rm USGS_NED_13_${msh}_ArcGrid.zip
echo "$(date) downloading tile ${msh}"
wget -q https://prd-tnm.s3.amazonaws.com/StagedProducts/Elevation/13/TIFF/${msh}/USGS_13_${msh}.tif
done
echo "$(date) downloading ETOPO1"
wget -q https://www.ngdc.noaa.gov/mgg/global/relief/ETOPO1/data/ice_surface/cell_registered/netcdf/ETOPO1_Ice_c_gmt4.grd.gz
gzip -d ETOPO1_Ice_c_gmt4.grd.gz
echo "$(date) downloading GEBCO 2020 grid"
wget -q https://www.bodc.ac.uk/data/open_download/gebco/gebco_2020/zip/ -O gebco_2020.zip
unzip gebco_2020.zip
rm gebco_2020.zip
cd ..
date
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