c56b49a0bd
* v0.0.3: MPI wrappers w/o full MPI support + setup-env.sh - bumped to v0.0.3 - enabled gotcha wrapping of MPI functions w/o enabling MPI - added setup-env.sh script - minor updates to testing - Update timemory submodule - fixes tim::component::configure_mpip undefined symbol - Script updates
15 baris
303 B
Bash
15 baris
303 B
Bash
#!/usr/bin/env bash
|
|
|
|
BASEDIR=$(dirname ${BASH_SOURCE[0]})
|
|
BASEDIR=$(cd ${BASEDIR}/../.. && pwd)
|
|
|
|
if [ ! -d "${BASEDIR}" ]; then
|
|
echo "${BASEDIR} does not exist"
|
|
return 1
|
|
fi
|
|
|
|
export PATH=${BASEDIR}/bin:${PATH}
|
|
export LD_LIBRARY_PATH=${BASEDIR}/@CMAKE_INSTALL_LIBDIR@:${LD_LIBRARY_PATH}
|
|
|
|
return 0
|