# This shell script is no longer the canonical version number script, but rather
# a byproduct of running ./maint/updatefiles using maint/Version.base.m4 as
# input.  The real version info is contained in maint/version.m4 instead.  It is
# intentionally not managed by the makefile system and may not be up to date at
# all times w.r.t. the version.m4 file.

MPICH_VERSION=4.3.0
export MPICH_VERSION

if [ -f modules/libfabric/autogen.sh ]; then
    cd modules/libfabric
    LIBFABRIC_VERSION=`git describe --tags`
    export LIBFABRIC_VERSION
    cd -
else
    error "Submodule libfabric not checked out. Perhaps you need to run 'git submodule update --init' from the top of the MPICH source tree?"
fi

