User Space:swapout (this is a rebase commit to merge into development)
This commit is contained in:
21
test/user_space/patch_and_build.sh
Executable file
21
test/user_space/patch_and_build.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
source ./config
|
||||
MC_HOME=${SRC_PATH}
|
||||
cd $MC_HOME
|
||||
|
||||
if [ $# -eq 1 ]; then
|
||||
PATCH_NAME=$1
|
||||
git reset --hard HEAD
|
||||
patch -p1 < ${TEST_DIR}/patch/${PATCH_NAME}
|
||||
else
|
||||
git reset --hard HEAD
|
||||
fi
|
||||
cd $MC_HOME
|
||||
make clean
|
||||
./configure --prefix=${MCMOD_DIR} --with-target=smp-x86 --with-mpi=/usr/lib64/mpich-3.2 --enable-qlmpi $* >/tmp/install.log
|
||||
make >> /tmp/install.log
|
||||
make install >> /tmp/install.log
|
||||
|
||||
# for wallaby
|
||||
chmod 777 ${MCMOD_DIR}/etc
|
||||
|
||||
Reference in New Issue
Block a user