####Objective
Milestone was to get a search a few libraries in MPI or OpenMP, understand the functioning, set them up and if possible, get a working model. Following are the APIs:
c-mpi-code
xmpp-mpi
chimera
####C-MPI-CODE
- URL: c-mpi
- ls into c-mpi-code directory
./setup.sh
./configure --config-cache --enable-table-dense-1 --enable-tests --with-mpi=/usr
- In case of error with lcrypto,
sudo apt-get install libssl-dev
- In case of error with lcrypto,
make tests
- this will make the tests
make D=1 test_results
- in case of zsh error,
sudo apt-get install zsh
- in case of zsh error,
make clean
in case to re-run- To run specific tests
make D=1 test/cmpi/test-startup.out
- test-startup is a basic startup and shutdown test
make D=1 test/cmpi/test-tables.out
- test-tables is to debug tables
make D=1 test/cmpi/test-putget.out
- test-putget is to test small put() and get()
- make clean each time before running test
- output for each test can be viewed in corresponding *.out file
- To run startup and shutdown test on multiple nodes
- ./myExec.sh -s [nodes], where nodes is the number of nodes and time would be generated in output file in result/startup_time.out
####XMPP-MPI
- URL: xmpp-mpi
- ls into xmpp-mpi directory
./configure
- If GnuTLS error, retry with
./configure --with-ssl=openssl
- In case of openSSL error, retry with
./configure --with-ssl=no
- In case of gthread-2.0 error,
sudo apt-get install libglib2.0-dev
- If GnuTLS error, retry with
make install
####CHIMERA
- URL: chimera
- ls into chimera directory
./configure --prefix='curent directory'
make
- ls into
/test
sha1_keygen [number of keys] [hostname]
will generate a set of pairs of ports and keys./test [port] [key]
, where post is the port and key is from pair generated above. You can then send messages.
####ZHT