Commit 555b28e5 authored by Alex Breuer's avatar Alex Breuer
Browse files

Added input of HHS1 parameter study.

parent 594203de
......@@ -3,5 +3,7 @@
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:
* `hhs1_uns_src.nc`
* `hhs1.numbers`
* `hhs1.pdf`
This work is published from: United States.
tet4_200.xml filter=lfs diff=lfs merge=lfs -text
tet4_275.xml filter=lfs diff=lfs merge=lfs -text
tet4_350.xml filter=lfs diff=lfs merge=lfs -text
tet4_400.xml filter=lfs diff=lfs merge=lfs -text
tet4_100.xml filter=lfs diff=lfs merge=lfs -text
tet4_125.xml filter=lfs diff=lfs merge=lfs -text
tet4_150.xml filter=lfs diff=lfs merge=lfs -text
tet4_175.xml filter=lfs diff=lfs merge=lfs -text
tet4_450.xml filter=lfs diff=lfs merge=lfs -text
tet4_225.xml filter=lfs diff=lfs merge=lfs -text
tet4_250.xml filter=lfs diff=lfs merge=lfs -text
tet4_300.xml filter=lfs diff=lfs merge=lfs -text
tet4_500.xml filter=lfs diff=lfs merge=lfs -text
# Configuration for the HHS1 benchmark
This directory contains the runtime configurations used as input for EDGE.
```
bash configs.sh 2>&1 | tee configs.sh.log
```
#!/bin/bash
##
# @file This file is part of EDGE.
#
# @author Alexander Breuer (anbreuer AT ucsd.edu)
#
# @section LICENSE
# Copyright (c) 2017, 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
# Generates the configs for the HHS1 benchmark.
# Target: Less than 500,000 elements per node.
##
# 0 1 2 3 4 5 6 7 8 9 10 11 12
MESHES=( 100 125 150 175 200 225 250 275 300 350 400 450 500 )
PARTS=( 11 6 4 2 2 1 1 1 1 1 1 1 1 )
echo "$(date) generating configs"
for msh in $(seq 0 12)
do
echo "$(date) setting mesh type and char length for setup ${msh}: tet4, ${MESHES[$msh]}"
cp uns.xml.tmpl tet4_${MESHES[$msh]}.xml
sed -i "s/TEMPLATE_MT/tet4/" tet4_${MESHES[$msh]}.xml
sed -i "s/TEMPLATE_CL_SRC/${MESHES[$msh]}/" tet4_${MESHES[$msh]}.xml
done
for msh in $(seq 0 12)
do
echo "$(date) setting read options for setup ${msh}: CL${MESHES[$msh]}, P${PARTS[$msh]}"
if [[ ${PARTS[$msh]} != 1 ]]
then
sed -i "s/TEMPLATE_READ_OPTIONS/PARALLEL=READ_PART;PARALLEL_RESOLVE_SHARED_ENTS;PARTITION=PARALLEL_PARTITION;/" tet4_${MESHES[$msh]}.xml
sed -i "s/TEMPLATE_MSH/tet4_${MESHES[$msh]}_${PARTS[$msh]}.h5m/" tet4_${MESHES[$msh]}.xml
else
sed -i "s/TEMPLATE_READ_OPTIONS/;/" tet4_${MESHES[$msh]}.xml
sed -i "s/TEMPLATE_MSH/tet4_${MESHES[$msh]}.msh/" tet4_${MESHES[$msh]}.xml
fi
done
echo "configs generated"
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.
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.
......@@ -19,7 +19,7 @@
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
HHS1 benchmark.
Template fore runtime configs of the HHS1 benchmark.
-->
<edge>
<build>
......@@ -29,8 +29,11 @@
<cfr>
<mesh>
<options>
<read>TEMPLATE_READ_OPTIONS</read>
</options>
<files>
<in>hhs1_tet4.msh</in>
<in>TEMPLATE_MSH</in>
</files>
<boundary>
<free_surface>101</free_surface>
......@@ -79,7 +82,7 @@
<output>
<receivers>
<path_to_dir>hhs1_uns_recvs</path_to_dir>
<path_to_dir>hhs1_uns_recvs_TEMPLATE_CL_SRC</path_to_dir>
<freq>0.005</freq>
<receiver>
......@@ -164,11 +167,13 @@
</receiver>
</receivers>
<!-- disabled wave field output for the parameter studies
<wave_field>
<type>vtk_binary</type>
<file>hhs1_uns/wf</file>
<file>hhs1_uns_TEMPLATE_CL_SRC/wf</file>
<int>0.1</int>
</wave_field>
-->
</output>
</cfr>
......
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