codes-org / codes

The Co-Design of Exascale Storage Architectures (CODES) simulation framework builds upon the ROSS parallel discrete event simulation engine to provide high-performance simulation utilities and models for building scalable distributed systems simulations
Other
40 stars 16 forks source link

modelnet-test-dragonfly-synthetic fails (Ubuntu container) #198

Open kencolwell opened 4 years ago

kencolwell commented 4 years ago

Description

Followed the updated CODES install instructions and am seeing a single failure out of make check. Tutorial simulation appeared to run without issue.

Full container setup included below; terminal output for make check and the tutorial mpirun attached.

Output: test-suite.log

appuser@bc1c4c20267e:~/codes-dev/codes/build$ cat ./test-suite.log
=================================
   codes 1.2: ./test-suite.log
=================================

# TOTAL: 22
# PASS:  21
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/modelnet-test-dragonfly-synthetic.sh
================================================

credit_size not specified, using default: 8
no credit_delay specified - all credit delays set to 1.42
Within-node eager limit (node_eager_limit) not specified, setting to 16000
../tests/modelnet-test-dragonfly-synthetic.sh: line 3: 18518 Killed                  src/network-workloads/model-net-synthetic --sync=1 --num_messages=1 -- $srcdir/src/network-workloads/conf/modelnet-synthetic-dragonfly.conf
FAIL tests/modelnet-test-dragonfly-synthetic.sh (exit status: 137)

Ubuntu container setup

(Running Docker Desktop 2.1.0.5 [Linux containers] on Windows 10.)

Started an ubuntu:latest container. Added user "appuser" to satisfy mpirun advice against calling as root. [Also added sudo and gave appuser privileges.] Then, as appuser, called the following to install CODES and dependencies:

sudo apt update
sudo apt install gcc
sudo apt install autoconf automake
sudo apt install libtool
sudo apt install bison flex
sudo apt install pkg-config

sudo apt install openmpi-bin
sudo apt install openssh-client openssh-server
sudo apt install libopenmpi-dev

sudo apt install cmake-curses-gui
sudo apt install git

cd ~/
mkdir codes-dev
cd codes-dev
git clone http://github.com/ross-org/ROSS.git
mkdir build-ross
cd build-ross
cmake -DCMAKE_INSTALL_PREFIX:path=`pwd` -DCMAKE_C_COMPILER=$(which mpicc) -DCMAKE_CXX_COMPILER=$(which mpicxx) ../ROSS
make install

cd ~/codes-dev
git clone http://github.com/codes-org/codes.git
cd codes
./prepare.sh
mkdir build
cd build
../configure --prefix=/home/appuser/codes-dev/codes/build PKG_CONFIG_PATH=/home/appuser/codes-dev/build-ross/lib/pkgconfig CC=mpicc CXX=mpicxx CFLAGS=-g CXXFLAGS=-g
make install

make check

add'l files

make_check_output.txt mpirun_tutorial_output.txt

nmcglo commented 4 years ago

Thanks for this! Will look into it

nmcglo commented 3 years ago

Related to #206