Loading ifs/scripts/clone_all.sh 0 → 100755 +18 −0 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/compile_all.sh 0 → 100755 +92 −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 CCI" # CCI #CURR=$GIT/cci #cd $CURR #./autogen.pl #if [ ! -d "$CURR/build" ]; then # mkdir $CURR/build #fi #cd $CURR/build #../configure --prefix=$INSTALL #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" ifs_test/main_MPI.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -26,12 +26,13 @@ int main(int argc, char* argv[]) { MPI_Barrier(MPI_COMM_WORLD); auto start_t = get_time::now(); int fd; for (int i = 0; i < filen; ++i) { string p = "/tmp/mountdir/file" + to_string(rank) + "_" + to_string(i); creat(p.c_str(), 0666); fd = creat(p.c_str(), 0666); if (i % 25000 == 0) cout << "Rank " << rank << ": " << i << " files processed." << endl; close(fd); } auto end_t = get_time::now(); Loading Loading
ifs/scripts/clone_all.sh 0 → 100755 +18 −0 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/compile_all.sh 0 → 100755 +92 −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 CCI" # CCI #CURR=$GIT/cci #cd $CURR #./autogen.pl #if [ ! -d "$CURR/build" ]; then # mkdir $CURR/build #fi #cd $CURR/build #../configure --prefix=$INSTALL #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"
ifs_test/main_MPI.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -26,12 +26,13 @@ int main(int argc, char* argv[]) { MPI_Barrier(MPI_COMM_WORLD); auto start_t = get_time::now(); int fd; for (int i = 0; i < filen; ++i) { string p = "/tmp/mountdir/file" + to_string(rank) + "_" + to_string(i); creat(p.c_str(), 0666); fd = creat(p.c_str(), 0666); if (i % 25000 == 0) cout << "Rank " << rank << ": " << i << " files processed." << endl; close(fd); } auto end_t = get_time::now(); Loading