Commit 3ca0466e authored by Philip Carns's avatar Philip Carns
Browse files

update to run cci and ofi tests

- needs testing
parent 68119854
#!/bin/bash
#COBALT -n 2
#COBALT -t 15
#COBALT -t 20
#COBALT --mode script
#COBALT -A radix-io
#COBALT -q ibleaf3-debug
echo "## MPI (one way, double the latency for round trip):"
mpirun -f $COBALT_NODEFILE -n 2 ./osu_latency
sleep 1
echo "## Margo CCI/VERBS (round trip):"
mpirun -f $COBALT_NODEFILE -n 2 ./margo-p2p-latency -i 100000 -n verbs://
mpirun -f $COBALT_NODEFILE -n 2 ./margo-p2p-latency -i 100000 -n cci+verbs://
sleep 1
echo "## Margo CCI/VERBS (round trip, Hg busy spin):"
mpirun -f $COBALT_NODEFILE -n 2 ./margo-p2p-latency -i 100000 -n verbs:// -t 0,0
mpirun -f $COBALT_NODEFILE -n 2 ./margo-p2p-latency -i 100000 -n cci+verbs:// -t 0,0
sleep 1
echo "## Margo OFI/VERBS (round trip, Hg busy spin):"
mpirun -f $COBALT_NODEFILE -n 2 ./margo-p2p-latency -i 100000 -n ofi+verbs:// -t 0,0
echo "## NOTE: OFI/VERBS HANGS WHEN NOT IN BUSY SPIN MODE AS OF 2018-01-24"
# echo "## Margo CCI/VERBS (round trip) with diagnostics:"
# mpirun -f $COBALT_NODEFILE -n 2 ./margo-p2p-latency -i 100000 -n verbs:// -d $COBALT_JOBID.diag
......
......@@ -26,6 +26,7 @@ cp margo-p2p-latency.qsub $JOBDIR
cd $SANDBOX
git clone https://github.com/carns/argobots.git
git clone https://github.com/ofiwg/libfabric.git
git clone https://github.com/carns/cci.git
git clone https://github.com/mercury-hpc/mercury.git
wget http://dist.schmorp.de/libev/libev-4.24.tar.gz
......@@ -57,6 +58,17 @@ cd build
../configure --prefix=$PREFIX --enable-perf-opt
make -j 3
make install
# libfabric
echo "=== BUILDING LIBFABRIC ==="
cd $SANDBOX/libfabric
libtoolize
./autogen.sh
mkdir build
cd build
../configure --prefix=$PREFIX --enable-sockets --enable-verbs
make -j 3
make install
# cci
echo "=== BUILDING CCI ==="
......@@ -76,7 +88,7 @@ cd $SANDBOX/mercury
git submodule update --init
mkdir build
cd build
cmake -DNA_USE_CCI:BOOL=ON -DMERCURY_USE_BOOST_PP:BOOL=ON -DCMAKE_INSTALL_PREFIX=/$PREFIX -DBoost_NO_BOOST_CMAKE=TRUE -DBUILD_SHARED_LIBS:BOOL=ON -DMERCURY_USE_SELF_FORWARD:BOOL=ON -DNA_USE_SM:BOOL=OFF ../
cmake -DNA_USE_OFI:BOOL=ON -DNA_USE_CCI:BOOL=ON -DMERCURY_USE_BOOST_PP:BOOL=ON -DCMAKE_INSTALL_PREFIX=/$PREFIX -DBoost_NO_BOOST_CMAKE=TRUE -DBUILD_SHARED_LIBS:BOOL=ON -DMERCURY_USE_SELF_FORWARD:BOOL=ON -DNA_USE_SM:BOOL=OFF ../
make -j 3
make install
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment