Skip to content

Commit 5013cc9

Browse files
committed
notify user if default PETSC_DIR is being used
1 parent 4bcd45f commit 5013cc9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/compile_solvers.sh

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ if [ -z $PETSC_DIR ]; then
5454
else
5555
export PETSC_DIR=/repo/petsc-dist
5656
fi
57+
echo "PETSC_DIR has been set to $PETSC_DIR. If this is incorrect, set"
58+
echo "the PETSC_DIR environment variable before running this script."
5759
fi
5860
export PETSC_ARCH=""
5961

0 commit comments

Comments
 (0)