CONFIG: add sourcing hints for adios2, petsc

This commit is contained in:
Mark Olesen
2019-08-02 12:17:39 +02:00
committed by Andrew Heather
parent 89bc42ddcb
commit e400725675
7 changed files with 42 additions and 9 deletions

View File

@ -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()