Comments (2)
Hi @psteinb, sorry, I missed this message. Installing packages are the same. Just attach to the container and run yum install openmpi{,-devel}
. Now, regarding testing and running MPI applications, I haven't tried to run any MPI workloads inside docker. I did a quick test (mpirun hostname) and I get the ORTE has lost communication with its daemon located on node:
error message.
I had to make a few changes:
- change MaxNodes=5 in slurm.conf and run
scontrol reconfigure
- add
127.0.0.1 c1
in /etc/hosts (repeat for c2 thru c5) - run docker with
--net=host --ipc=host --privileged
(I'm not sure which is actually mandatory since all nodes are technically on the same host)
If i do all those things, then compile the ring_c.c
example with mpicc
in the examples directory, I get something:
[root@ernie ~]# salloc -N5
...
[root@ernie ~]# /usr/lib64/openmpi/bin/mpirun --allow-run-as-root ring_c
Process 0 sending 10 to 1, tag 201 (5 processes in ring)
Process 0 sent to 1
Process 0 decremented value: 9
Process 0 decremented value: 8
Process 0 decremented value: 7
Process 0 decremented value: 6
Process 0 decremented value: 5
Process 0 decremented value: 4
Process 0 decremented value: 3
Process 0 decremented value: 2
Process 0 decremented value: 1
Process 0 decremented value: 0
Process 0 exiting
Process 1 exiting
Process 2 exiting
Process 3 exiting
Process 4 exiting
Hope that helps.
Giovanni
from docker-centos7-slurm.
from docker-centos7-slurm.
Related Issues (18)
- MariaDB did not start HOT 1
- Minor typo with yum install of pkgconfig HOT 1
- Hi, HOT 2
- slurmctld not running HOT 9
- Lmod / module support HOT 1
- sacct not producing output due to missing mysql tables HOT 3
- Node states are unknown HOT 3
- add slurmrestd support
- jobs in debug partition run indefinitely
- Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' HOT 2
- srun: job 1 queued and waiting for resources
- How can I run multiple jobs at the same time? HOT 1
- cgroups.conf HOT 6
- Update dockerhub to match README HOT 2
- (auto)update docker hub images? HOT 2
- Connecting to pyslurm HOT 3
- signal handling HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-centos7-slurm.