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 @@
|
||||
# ADIOS2_ARCH_PATH
|
||||
#
|
||||
# Functions provided
|
||||
# have_adios2, no_adios2, echo_adios2
|
||||
# have_adios2, no_adios2, echo_adios2, hint_adios2
|
||||
#
|
||||
# Variables set on success
|
||||
# HAVE_ADIOS2
|
||||
@ -50,6 +50,22 @@ echo_adios2()
|
||||
}
|
||||
|
||||
|
||||
# Provide hint for enabling
|
||||
hint_adios2()
|
||||
{
|
||||
/bin/cat<<INFORMATION 1>&2
|
||||
==> adios2 not found?
|
||||
|
||||
Enable in the OpenFOAM etc/bashrc, define manually or try with the
|
||||
following (POSIX shell):
|
||||
|
||||
eval \$(foamEtcFile -sh -config adios2 -- -force)
|
||||
|
||||
==
|
||||
INFORMATION
|
||||
}
|
||||
|
||||
|
||||
# On success, return 0 and export variables
|
||||
# -> HAVE_ADIOS2, ADIOS2_INC_DIR, ADIOS2_LIB_DIR
|
||||
have_adios2()
|
||||
|
||||
Reference in New Issue
Block a user