-
Notifications
You must be signed in to change notification settings - Fork 21
rebuild_libmesh.sh
mlesueur edited this page Aug 7, 2015
·
1 revision
#!/usr/bin/env bash
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export LIBMESH_DIR=$SCRIPT_DIR/../libmesh/installed
cd $SCRIPT_DIR/../libmesh
#rm -rf installed
cd - >/dev/null # Make this quiet
export METHODS=${METHODS:="opt oprof dbg"}
cd $SCRIPT_DIR/../libmesh
cd build
../configure --with-methods="${METHODS}" \
--prefix=$LIBMESH_DIR \
--enable-silent-rules \
--enable-unique-id \
--disable-warnings \
--disable-cxx11 \
--enable-unique-ptr \
--enable-openmp $*
LIBMESH_JOBS=${MOOSE_JOBS:-1}
make -j ${JOBS:-$LIBMESH_JOBS} && \
make install
REDBACK: Rock mEchanics with Dissipative feedBACKs