Giter VIP home page Giter VIP logo

Comments (11)

KroArtem avatar KroArtem commented on May 26, 2024

Looks like comments in this ticket contain some answers to my question.

from imunes.

denisSal avatar denisSal commented on May 26, 2024

Hello!

First of all: sorry for answering so late. It's best to ask any questions here so it's publicly available. I guess we will need to expand our wiki with some commonly asked questions, or make a FAQ.

If #51 did not answer any of your questions, feel free to ask here.

To answer your other questions:

  1. I don't quite understand your question: you want a machine running a topology, but you want one node from this topology to be on another machine? If this is what you mean, that's not possible. What is the reason you want it that way, maybe I can help you achieve the same thing in another fashion?
  2. Yes, duplicate duplicates packages using netem command line tool tc. The width parameter is just the width of the line in the GUI. :)

from imunes.

KroArtem avatar KroArtem commented on May 26, 2024

Ok, I'll try to edit dockerfile and add this or that mpi application.

A FAQ or some kind of brief documentation would be really good. :)

The reason for running one node on another machine can be the following: my laptop may not be able to handle all the nodes and I want to move some load to another machine.

Btw, I remember there is UML (user-mode linux) in dependencies, is it really used? After looking at the wiki I thought it is more or less outdated technology.

from imunes.

denisSal avatar denisSal commented on May 26, 2024

IMUNES is not distributed (yet), but you can try running two experiments on different computers and try to connect them with the help of External interface and/or External connection nodes and some bridging with your physical interface?

from imunes.

KroArtem avatar KroArtem commented on May 26, 2024

If I have time I'll try this, but it's not high priority.

from imunes.

KroArtem avatar KroArtem commented on May 26, 2024

Ok, finally I managed to run two nodes and launch an mpi benckmark on them. However, I had several problems with mpich and switched to openmpi. Moreover, I had to set ip and aliases in /etc/hosts and generate ssh keys for passwordless ssh. (Don't know how to generate these things during container's creation)

Other things I noticed: when BER is set an application (NAS Parallel Benchmark) doesn't work. When delay is set, it is multiplied by two. (I had delay set to 100 ms and ping was showing 200ms exactly, with 200ms delay ping was 400ms exactly). Another thing I noticed is that Wireshark doesn't see any connection between nodes and I cannot analyse traffic.

from imunes.

denisSal avatar denisSal commented on May 26, 2024

Glad to hear it's up and running!

Care to explain what needs to be done with ip and aliases so I can maybe help you setup the configuration? You can create ssh keys on the host machine and then copy them to the containers with a shell script by using hcp.

BER is set to what?
Delay is on the link, and ping measures request time + response time on the same link, so it's natural it's double.
What do you mean, Wireshark doesn't see connections? How exactly are you trying to analyze traffic?

from imunes.

KroArtem avatar KroArtem commented on May 26, 2024

First of all, I just found a nice image I should have found much earlier : NPB image

If I want to use several nodes with mpirun command, I have to write down nodes' ip and their aliases in /etc/hosts, for example

127.0.0.1    localhost    pc1
10.0.0.20    node2    pc2

and so on.
Regarding ssh-keygen: I'm not sure but it seems like I have to do passwordless ssh on both sides so that nodes will be able to communicate with each other.

Don't remember what was with BER, will recheck and write here. You're absolutely right about delays, my stupid fault. :)
Thanks a lot for your tips, I'll recheck those questions related to BER and Wireshark.

from imunes.

KroArtem avatar KroArtem commented on May 26, 2024

To fix problem with ssh connection, I added this not secure solution to dockerfile:

RUN mkdir /root/.ssh && ssh-keygen -t rsa -f /root/.ssh/id_rsa -N '' &&
 cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys && echo "StrictHostKeyChecking no"
 >> /etc/ssh/ssh_config

It worked perfectly. Still haven't looked at BER issue, will investigate it later as it's not top priority. Anyway, I think this ticket can be closed.

from imunes.

KroArtem avatar KroArtem commented on May 26, 2024

In case you're interested, IMUNES was used whilst writing this article: Distributed computing infrastructure based on dynamic container clusters that was presented on ICCSA'16 several days ago.
Moreover, another work related to IMUNES was presented yesterday on GRID'16, topic Virtual clusters as a way to experiment software. ;)

from imunes.

denisSal avatar denisSal commented on May 26, 2024

Wow, that's great! :D

We'll definitely check them out.

from imunes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.