Skip to content
Commits on Source (2)
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
#------------------------------------------------------------------------------
echo "========================================"
date "+%Y-%m-%d %H:%M:%S %z" 2>/dev/null || echo "date is unknown"
echo "Starting compile of adiosFoam with ${WM_PROJECT_DIR##*/} ${0##*}"
echo " $WM_COMPILER $WM_COMPILER_TYPE compiler"
echo " ${WM_OPTIONS}, with ${WM_MPLIB} ${FOAM_MPI}"
echo
src/Allwmake $targetType $*
# Some summary information
echo
date "+%Y-%m-%d %H:%M:%S %z" 2>/dev/null || echo "date is unknown"
echo "========================================"
echo " Finished compile of adiosFoam with ${WM_PROJECT_DIR##*/}"
echo " $WM_COMPILER $WM_COMPILER_TYPE compiler"
echo " ${WM_OPTIONS}, with ${WM_MPLIB} ${FOAM_MPI}"
echo
#------------------------------------------------------------------------------
......@@ -123,7 +123,7 @@ Foam::label Foam::functionObjects::adiosWrite::writeFields
const wordList sortedNames = mesh.sortedNames();
for (const word& objName : sortedNames)
{
const regIOobject& obj = *(mesh.find(objName).object());
const regIOobject& obj = *(mesh.find(objName).val());
const word& name = obj.name();
const word& type = obj.type();
......