You can now run Emerald on some PlanetLab nodes

Dear IN5570 students,

After some digging around and a discussion over at Piazza, we've come up with a way to run Emerald on PlanetLab. You will find an up-to-date list of machines on the Working with Emerald page.

If you have the time, go ahead and test your Kilroy. Given that the deadline is a couple hours away, this is clearly not a requirement :-)

For now the list looks as follows:

  • cse-white.cse.chalmers.se (Gothenberg, Sweden)
  • cse-yellow.cse.chalmers.se (Gothenberg, Sweden)
  • mars.planetlab.haw-hamburg.de (Nack, Germany)
  • merkur.planetlab.haw-hamburg.de (Nack, Germany)
  • pl1.uni-rostock.de (Rostock, Germany)
  • pl2.prakinf.tu-ilmenau.de (Ilmenau, Germany)
  • planetlab1.xeno.cl.cam.ac.uk (Cambridge, United Kingdom)
  • planetlab2.xeno.cl.cam.ac.uk (Cambridge, United Kingdom)
  • ple3.planet-lab.eu (Paris, France)
  • ple4.planet-lab.eu (Paris, France)
  • ple43.planet-lab.eu (Paris, France)
  • ple44.planet-lab.eu (Paris, France)

These nodes are on the diku_IN5570 slice, so you should login as diku_IN5570 (not diku_inf5510!).

To run an Emerald program on a number of nodes:

  • Pick a node to be your master node, login on that node and execute the command emx32 -R (note the port number)
  • Pick a number of nodes to be your auxiliary nodes, login on each one, and execute the command emx32 -R<domain>:<port>, where <domain> is the domain of your master node, and <port> is the one from above.

Now you have a network of nodes, and all you need is to run an Emerald program! Here you have two choices. You can copy the program over to a server using scp or let Emerald do the copying for you. Here I only describe the last option:

  • Start-up the docker image locally with the additional argument --user root
  • Execute emx -R<domain>:<port> <program>.x

NB! If you copy your Emerald source code over to some node and try to compile it there instead (not recommended)  use ec32, not ec. You will also see an error related to bind_public.so, but your program will still compile.

--
Oleks

Published Feb. 19, 2019 4:57 PM - Last modified Feb. 19, 2019 4:57 PM