Loading ifs/scripts/clone_all.shdeleted 100755 → 0 +0 −18 Original line number Diff line number Diff line #!/bin/bash HOME=/home/evie GIT=$HOME/adafs/git mkdir -p $GIT cd $GIT git clone git://git.mcs.anl.gov/bmi cd $GIT git clone --recurse-submodules https://github.com/mercury-hpc/mercury git clone https://github.com/pmodels/argobots cd $GIT/argobots git checkout tags/v1.0a1 cd $GIT git clone https://xgitlab.cels.anl.gov/sds/abt-snoozer git clone https://xgitlab.cels.anl.gov/sds/margo ifs/scripts/clone_dep.sh 0 → 100755 +49 −0 Original line number Diff line number Diff line #!/bin/bash assertdir() { FOLDER=$1 GITCLONE=$2 COMMIT=$3 echo "#########################################################" echo "Cloning into $GIT/$FOLDER ..." if [ -d "$GIT/$FOLDER" ]; then echo "$FOLDER directory exists. Pulling instead." cd $GIT/$FOLDER && git pull origin master &>> $LOG else cd $GIT && $GITCLONE &>> $LOG fi # fix the version cd $GIT/$FOLDER && git checkout $COMMIT &>> $LOG echo "Done" } if [ -z ${1+x} ]; then echo "No git clone destination path given as first parameter."; exit else echo "Clone path is set to '$1'"; echo "Cloning output is logged at /tmp/adafs_clone.log" fi LOG=/tmp/adafs_clone.log echo "" &> $LOG GIT=$1 mkdir -p $GIT # get BMI assertdir "bmi" "git clone git://git.mcs.anl.gov/bmi" "2abbe991edc45b713e64c5fed78a20fdaddae59b" # get Mercury assertdir "mercury" "git clone --recurse-submodules https://github.com/mercury-hpc/mercury" "afd70055d21a6df2faefe38d5f6ce1ae11f365a5" # get Argobots assertdir "argobots" "git clone https://github.com/pmodels/argobots" "8394f8ae6542f977457a6008d29ddd9a6036f246" # get Argobots-snoozer assertdir "abt-snoozer" "git clone https://xgitlab.cels.anl.gov/sds/abt-snoozer.git" "3d9240eda290bfb89f08a5673cebd888194a4bd7" # get Margo assertdir "margo" "git clone https://xgitlab.cels.anl.gov/sds/margo.git" "3375e1168185e4443a784e66420d91e122d03a61" echo "Nothing left to do. Exiting." ifs/scripts/compile_dep.sh 0 → 100755 +79 −0 Original line number Diff line number Diff line #!/bin/bash HOME=/home/evie GIT=$HOME/adafs/git INSTALL=$HOME/adafs/install echo "Installing BMI" # BMI CURR=$GIT/bmi if [ ! -d "$CURR/build" ]; then mkdir $CURR/build fi rm -rf $CURR/build/* cd $CURR ./prepare cd $CURR/build ../configure --prefix=$INSTALL --enable-shared --enable-bmi-only make -j8 make install echo "Installing Mercury" # Mercury CURR=$GIT/mercury if [ ! -d "$CURR/build" ]; then mkdir $CURR/build fi rm -rf $CURR/build/* cd $CURR/build cmake -DMERCURY_USE_SELF_FORWARD:BOOL=ON -DMERCURY_USE_CHECKSUMS:BOOL=OFF -DBUILD_TESTING:BOOL=ON -DMERCURY_USE_BOOST_PP:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_INSTALL_PREFIX=$INSTALL -DCMAKE_BUILD_TYPE:STRING=Release -DNA_USE_BMI:BOOL=ON ../ make -j8 make install echo "Installing Argobots" # Argobots CURR=$GIT/argobots if [ ! -d "$CURR/build" ]; then mkdir $CURR/build fi rm -rf $CURR/build/* cd $CURR ./autogen.sh cd $CURR/build ../configure --prefix=$INSTALL make -j8 make install make check echo "Installing Abt-snoozer" # Abt snoozer CURR=$GIT/abt-snoozer if [ ! -d "$CURR/build" ]; then mkdir $CURR/build fi rm -rf $CURR/build/* cd $CURR ./prepare.sh cd $CURR/build ../configure --prefix=$INSTALL PKG_CONFIG_PATH=$INSTALL/lib/pkgconfig make -j8 make install make check echo "Installing Margo" # Margo CURR=$GIT/margo if [ ! -d "$CURR/build" ]; then mkdir $CURR/build fi rm -rf $CURR/build/* cd $CURR ./prepare.sh cd $CURR/build ../configure --prefix=$INSTALL PKG_CONFIG_PATH=$INSTALL/lib/pkgconfig CFLAGS="-g -Wall" make -j8 make install make check echo "Done" Loading
ifs/scripts/clone_all.shdeleted 100755 → 0 +0 −18 Original line number Diff line number Diff line #!/bin/bash HOME=/home/evie GIT=$HOME/adafs/git mkdir -p $GIT cd $GIT git clone git://git.mcs.anl.gov/bmi cd $GIT git clone --recurse-submodules https://github.com/mercury-hpc/mercury git clone https://github.com/pmodels/argobots cd $GIT/argobots git checkout tags/v1.0a1 cd $GIT git clone https://xgitlab.cels.anl.gov/sds/abt-snoozer git clone https://xgitlab.cels.anl.gov/sds/margo
ifs/scripts/clone_dep.sh 0 → 100755 +49 −0 Original line number Diff line number Diff line #!/bin/bash assertdir() { FOLDER=$1 GITCLONE=$2 COMMIT=$3 echo "#########################################################" echo "Cloning into $GIT/$FOLDER ..." if [ -d "$GIT/$FOLDER" ]; then echo "$FOLDER directory exists. Pulling instead." cd $GIT/$FOLDER && git pull origin master &>> $LOG else cd $GIT && $GITCLONE &>> $LOG fi # fix the version cd $GIT/$FOLDER && git checkout $COMMIT &>> $LOG echo "Done" } if [ -z ${1+x} ]; then echo "No git clone destination path given as first parameter."; exit else echo "Clone path is set to '$1'"; echo "Cloning output is logged at /tmp/adafs_clone.log" fi LOG=/tmp/adafs_clone.log echo "" &> $LOG GIT=$1 mkdir -p $GIT # get BMI assertdir "bmi" "git clone git://git.mcs.anl.gov/bmi" "2abbe991edc45b713e64c5fed78a20fdaddae59b" # get Mercury assertdir "mercury" "git clone --recurse-submodules https://github.com/mercury-hpc/mercury" "afd70055d21a6df2faefe38d5f6ce1ae11f365a5" # get Argobots assertdir "argobots" "git clone https://github.com/pmodels/argobots" "8394f8ae6542f977457a6008d29ddd9a6036f246" # get Argobots-snoozer assertdir "abt-snoozer" "git clone https://xgitlab.cels.anl.gov/sds/abt-snoozer.git" "3d9240eda290bfb89f08a5673cebd888194a4bd7" # get Margo assertdir "margo" "git clone https://xgitlab.cels.anl.gov/sds/margo.git" "3375e1168185e4443a784e66420d91e122d03a61" echo "Nothing left to do. Exiting."
ifs/scripts/compile_dep.sh 0 → 100755 +79 −0 Original line number Diff line number Diff line #!/bin/bash HOME=/home/evie GIT=$HOME/adafs/git INSTALL=$HOME/adafs/install echo "Installing BMI" # BMI CURR=$GIT/bmi if [ ! -d "$CURR/build" ]; then mkdir $CURR/build fi rm -rf $CURR/build/* cd $CURR ./prepare cd $CURR/build ../configure --prefix=$INSTALL --enable-shared --enable-bmi-only make -j8 make install echo "Installing Mercury" # Mercury CURR=$GIT/mercury if [ ! -d "$CURR/build" ]; then mkdir $CURR/build fi rm -rf $CURR/build/* cd $CURR/build cmake -DMERCURY_USE_SELF_FORWARD:BOOL=ON -DMERCURY_USE_CHECKSUMS:BOOL=OFF -DBUILD_TESTING:BOOL=ON -DMERCURY_USE_BOOST_PP:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_INSTALL_PREFIX=$INSTALL -DCMAKE_BUILD_TYPE:STRING=Release -DNA_USE_BMI:BOOL=ON ../ make -j8 make install echo "Installing Argobots" # Argobots CURR=$GIT/argobots if [ ! -d "$CURR/build" ]; then mkdir $CURR/build fi rm -rf $CURR/build/* cd $CURR ./autogen.sh cd $CURR/build ../configure --prefix=$INSTALL make -j8 make install make check echo "Installing Abt-snoozer" # Abt snoozer CURR=$GIT/abt-snoozer if [ ! -d "$CURR/build" ]; then mkdir $CURR/build fi rm -rf $CURR/build/* cd $CURR ./prepare.sh cd $CURR/build ../configure --prefix=$INSTALL PKG_CONFIG_PATH=$INSTALL/lib/pkgconfig make -j8 make install make check echo "Installing Margo" # Margo CURR=$GIT/margo if [ ! -d "$CURR/build" ]; then mkdir $CURR/build fi rm -rf $CURR/build/* cd $CURR ./prepare.sh cd $CURR/build ../configure --prefix=$INSTALL PKG_CONFIG_PATH=$INSTALL/lib/pkgconfig CFLAGS="-g -Wall" make -j8 make install make check echo "Done"