/usr/lib/petscdir/3.7.7/x86_64-linux-gnu-complex-debug/bin/saws/getStack.bash is in libpetsc-complex-3.7.7-dbg 3.7.7+dfsg1-2build5.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/bin/bash
#
# Returns the SAWS published PETSc stack one function per line
#
which jshon > /dev/null
if [ $? != 0 ] ; then
echo "You must install jshon before using this app"
exit 1
fi
${PETSC_DIR}/bin/saws/getSAWs.bash PETSc/Stack | jshon -e directories -e Stack -e variables -e functions -e data
#
|