mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
CONFIG: add sourcing hints for adios2, petsc
This commit is contained in:
committed by
Andrew Heather
parent
89bc42ddcb
commit
e400725675
@ -19,7 +19,7 @@
|
||||
# PETSC_ARCH_PATH
|
||||
#
|
||||
# Functions provided
|
||||
# have_petsc, no_petsc, echo_petsc
|
||||
# have_petsc, no_petsc, echo_petsc, hint_petsc
|
||||
#
|
||||
# Variables set on success
|
||||
# HAVE_PETSC
|
||||
@ -50,6 +50,22 @@ echo_petsc()
|
||||
}
|
||||
|
||||
|
||||
# Provide hint for enabling
|
||||
hint_petsc()
|
||||
{
|
||||
/bin/cat<<INFORMATION 1>&2
|
||||
==> petsc not found?
|
||||
|
||||
Enable in the OpenFOAM etc/bashrc, define manually or try with the
|
||||
following (POSIX shell):
|
||||
|
||||
eval \$(foamEtcFile -sh -config petsc -- -force)
|
||||
|
||||
==
|
||||
INFORMATION
|
||||
}
|
||||
|
||||
|
||||
# On success, return 0 and export variables
|
||||
# -> HAVE_PETSC, PETSC_INC_DIR, PETSC_LIB_DIR
|
||||
have_petsc()
|
||||
|
||||
Reference in New Issue
Block a user