-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to run MPI/distributed programs in imunes #54
Comments
Looks like comments in this ticket contain some answers to my question. |
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:
|
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. |
IMUNES is not distributed (yet), but you can try running two experiments on different computers and try to connect them with the help of |
If I have time I'll try this, but it's not high priority. |
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. |
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 BER is set to what? |
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
and so on. Don't remember what was with BER, will recheck and write here. You're absolutely right about delays, my stupid fault. :) |
To fix problem with ssh connection, I added this not secure solution to dockerfile:
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. |
In case you're interested, IMUNES was used whilst writing this article: |
Wow, that's great! :D We'll definitely check them out. |
Probably it's not the right place to post question but I didn't find any other ways to contact devs (irc? mail?)
Is it possible to install an MPI application on every emulated PC? for example, Linpack/HPL? If yes, what steps should I do? (didn't manage to find this information in wiki)
As far as I understand, I have to modify default docker image and install there required dependencies and the application itself. Then I have to add some information about hosts/ip so that MPI will know where to go.
Some other unrelated questions:
duplicate
andwidth
? Does duplicate mean the number(percentage) of duplicated packets sent?The text was updated successfully, but these errors were encountered: