Added scripts and logs for La Habra mesh generation.

parent 605f70ff
la_habra_mesh_flat.o768719 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_flat_cont.e774474 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_flat_cont.o774474 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_flat_cont2.e791703 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_flat_cont2.o791703 filter=lfs diff=lfs merge=lfs -text
la_habra_mesh_flat.e768719 filter=lfs diff=lfs merge=lfs -text
......@@ -23,7 +23,9 @@
##
n_threads=5
gmsh -algo hxt -nt ${n_threads} -3 la_habra_flat.geo -o la_habra_refined_base.msh2
# disabled hxt due to segfaults
#gmsh -algo hxt -nt ${n_threads} -3 la_habra_flat.geo -o la_habra_refined_base.msh2
gmsh -3 la_habra_flat.geo -o la_habra_refined_base.msh2
mv la_habra_refined_base.msh2 la_habra_refined_base.msh
# iterate over base mesh
......@@ -31,15 +33,17 @@ for iter in $(seq 0 2)
do
echo "iteration #${iter}"
edge_v -x la_habra_refined_base.xml
gmsh -algo hxt -nt ${n_threads} -3 la_habra_flat.geo -bgm la_habra_bgm_base.msh -o la_habra_refined_base.msh2
#gmsh -algo hxt -nt ${n_threads} -3 la_habra_flat.geo -bgm la_habra_bgm_base.msh -o la_habra_refined_base.msh2
gmsh -3 la_habra_flat.geo -bgm la_habra_bgm_base.msh -o la_habra_refined_base.msh2
mv la_habra_refined_base.msh2 la_habra_refined_base.msh
done
echo "refining for velocity gradient"
edge_v -x la_habra_refined_grad.xml
gmsh -algo hxt -nt ${n_threads} -3 la_habra_flat.geo -bgm la_habra_bgm_grad.msh -o la_habra_refined_grad.msh2
#gmsh -algo hxt -nt ${n_threads} -3 la_habra_flat.geo -bgm la_habra_bgm_grad.msh -o la_habra_refined_grad.msh2
gmsh -3 la_habra_flat.geo -bgm la_habra_bgm_grad.msh -o la_habra_refined_grad.msh2
mv la_habra_refined_grad.msh2 la_habra_refined_grad.msh
echo "partitioning"
echo "clustering, annotating and partitioning"
mkdir part
edge_v -x la_habra_refined_part.xml
#!/bin/bash
##
# @file This file is part of EDGE.
#
# @author Alexander Breuer (breuer AT mytum.de)
#
# @section LICENSE
# 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
# Generates a vs-adapted mesh in a box without topography.
##
n_threads=5
# disabled hxt due to segfaults
#gmsh -algo hxt -nt ${n_threads} -3 la_habra_flat.geo -o la_habra_refined_base.msh2
#gmsh -3 la_habra_flat.geo -o la_habra_refined_base.msh2
#mv la_habra_refined_base.msh2 la_habra_refined_base.msh
# iterate over base mesh
for iter in $(seq 2 2)
do
echo "iteration #${iter}"
#edge_v -x la_habra_refined_base.xml
#gmsh -algo hxt -nt ${n_threads} -3 la_habra_flat.geo -bgm la_habra_bgm_base.msh -o la_habra_refined_base.msh2
gmsh -3 la_habra_flat.geo -bgm la_habra_bgm_base.msh -o la_habra_refined_base.msh2
mv la_habra_refined_base.msh2 la_habra_refined_base.msh
done
echo "refining for velocity gradient"
edge_v -x la_habra_refined_grad.xml
#gmsh -algo hxt -nt ${n_threads} -3 la_habra_flat.geo -bgm la_habra_bgm_grad.msh -o la_habra_refined_grad.msh2
gmsh -3 la_habra_flat.geo -bgm la_habra_bgm_grad.msh -o la_habra_refined_grad.msh2
mv la_habra_refined_grad.msh2 la_habra_refined_grad.msh
echo "clustering, annotating and partitioning"
mkdir part
edge_v -x la_habra_refined_part.xml
#!/bin/bash
##
# @file This file is part of EDGE.
#
# @author Alexander Breuer (breuer AT mytum.de)
#
# @section LICENSE
# 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
# Generates a vs-adapted mesh in a box without topography.
##
echo "clustering, annotating and partitioning"
mkdir part
edge_v -x la_habra_refined_part.xml
#!/bin/bash
##
# @file This file is part of EDGE.
#
# @author Alexander Breuer (breuer AT mytum.de)
#
# @section LICENSE
# 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
# Runs the meshing script.
##
#SBATCH -J la_habra_mesh_flat
#SBATCH -o la_habra_mesh_flat.o%j
#SBATCH -e la_habra_mesh_flat.e%j
#SBATCH -p nvdimm
#SBATCH -N 1
#SBATCH -n 1
#SBATCH -t 39:30:00
module list
pwd
date
module load intel/18.0.5
module load gcc/9.1.0
module load impi/18.0.5
module load mkl
export PATH=/scratch1/02529/breuera/edge_opt/bench/seismic/wp/la_habra/edge/deps/bin:$PATH
export OMP_NUM_THREADS=112
gmsh --info
date
bash generate_flat.sh
date
#!/bin/bash
##
# @file This file is part of EDGE.
#
# @author Alexander Breuer (breuer AT mytum.de)
#
# @section LICENSE
# 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
# Runs the meshing script.
##
#SBATCH -J la_habra_mesh_flat_cont
#SBATCH -o la_habra_mesh_flat_cont.o%j
#SBATCH -e la_habra_mesh_flat_cont.e%j
#SBATCH -p nvdimm
#SBATCH -N 1
#SBATCH -n 1
#SBATCH -t 48:00:00
module list
pwd
date
module load intel/18.0.5
module load gcc/9.1.0
module load impi/18.0.5
module load mkl
export PATH=/scratch1/02529/breuera/edge_opt/bench/seismic/wp/la_habra/edge/deps/bin:$PATH
export OMP_NUM_THREADS=112
gmsh --info
date
bash generate_flat_cont.sh
date
#!/bin/bash
##
# @file This file is part of EDGE.
#
# @author Alexander Breuer (breuer AT mytum.de)
#
# @section LICENSE
# 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
# Runs the meshing script.
##
#SBATCH -J la_habra_mesh_flat_cont2
#SBATCH -o la_habra_mesh_flat_cont2.o%j
#SBATCH -e la_habra_mesh_flat_cont2.e%j
#SBATCH -p nvdimm
#SBATCH -N 1
#SBATCH -n 1
#SBATCH -t 48:00:00
module list
pwd
date
module load intel/18.0.5
module load gcc/9.1.0
module load impi/18.0.5
module load mkl
export PATH=/scratch1/02529/breuera/edge_opt/bench/seismic/wp/la_habra/edge/deps/bin:$PATH
export OMP_NUM_THREADS=112
gmsh --info
date
bash generate_flat_cont2.sh
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