Skip to content

Commit

Permalink
EXODUS: Add double compute convert to float output test
Browse files Browse the repository at this point in the history
  • Loading branch information
gsjaardema committed Nov 9, 2023
1 parent 939e204 commit 3b1ada6
Show file tree
Hide file tree
Showing 3 changed files with 574 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/seacas/libraries/exodus/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ IF ( NETCDF_NCDUMP_BINARY )
SET( cbind_OLDTESTS
testwt
testwtd
testwtd-to-f
testrd
testrd1
testrdd
Expand Down
10 changes: 9 additions & 1 deletion packages/seacas/libraries/exodus/test/testall.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/env bash
# Copyright(C) 1999-2021 National Technology & Engineering Solutions
# Copyright(C) 1999-2021, 2023 National Technology & Engineering Solutions
# of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
# NTESS, the U.S. Government retains certain rights in this software.
#
Expand Down Expand Up @@ -120,6 +120,14 @@ ${NCDUMP} -d5,5 testcp.exo | grep -v version | grep -v int64_status| grep -v _Fi
ret_status=$((ret_status+${PIPESTATUS[0]}+${PIPESTATUS[3]}))
echo "end testcp_ds, status = $ret_status" >> test.output

echo "testwtd-to-f - double precision compute, convert to single precision on disk..."
echo "begin testwtd-to-f" >> test.output
${PREFIX} ${BINDIR}/testwtd-to-f${SUFFIX} >> test.output
ret_status=$((ret_status+$?))
${NCDUMP} -d5,5 test.exo | grep -v version | grep -v int64_status| grep -v _FillValue |grep -v word_size|grep -v maximum_name_length | ${DIFF} - ${SRCDIR}/test.dmp | tee testwtd-to-f.res
ret_status=$((ret_status+${PIPESTATUS[0]}+${PIPESTATUS[5]}))
echo "end testwtd-to-f, status = $ret_status" >> test.output

echo "testwt1 - single precision write files with several side sets..."
echo "testwt1 ... [Expect WEDGE6 warning from this test]"
echo "begin testwt1" >> test.output
Expand Down
Loading

0 comments on commit 3b1ada6

Please sign in to comment.