Difference between revisions of "Mathematica Remote Kernels"

Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
On your Linux desktop, start up Mathematica.
 
We'll start by launching kernels on twothree of the other cruncher machines, since this is a simple example to start with.
 
For this example, we're going to start 4 kernels each on ramsey, fibonacci, and fibonacciboole.
 
In the Mathematica window, type the following:
 
<nowiki>LaunchKernels[{"ssh://ramsey/?4","ssh://fibonacci/?4","ssh://boole/?4" }]</nowiki>
 
Then, right-click that cell and choose 'Evaluate Cell'. The system will launch the remote kernels, and show its progress while it does that. Once all the kernels are launched, you can run calculations on them. To close those kernels, do
 
[http://graph.math.cornell.edu:3000/d/BPzrVrznz/cluster-pnodes Cluster Pnodes] (You must be on the Cornell network or VPN to use this link)
 
Note that these graphs will usually show you the last 24 hours, so you can click on the little clock on the upper right and choose a different time interval, like the last hour, so you have a better picture of what is going on. The graphs update only once a minute, so be patient.
 
If you're running remote kernels on the Ryzen crunchers, they have 32 CPU threads each, so you would want to load them up to 32 to make full use of the CPU, if it was zero before you started. Note that other people are using these machines, so be a good neighbor and don't hog the entire machine.
If you really want to geek out, you can look at the server room power consumption when you're running your job.
 
[http://graph.math.cornell.edu:3000/d/_wfSvpjmz/server-room-power Server Room Power] (You must be on the Cornell network or VPN to use this link)
 
The orange and purple circuitcircuits isare the cluster. The power usage is around 650W620W when nothing is going on, with an additional 100W being used by the two UPS units. It will go up when the machines get busy. NoteIf thatthe iforange thecircuit powergoes onabove 2200 watts or the purple circuit goes above 27002800 watts, the clustercircuit maywill shut down. I'm worried about going overAt this limittime, butthe socombined farcapacity it hasn't happened. Can you sendof the clustertwo enoughcircuits mathshould tobe killmore it?than Trythe itentire andcluster letcan meuse. know!See Theif solution is easy, weyou can putdo someenough of the nodes on another circuit. For now they're allmath on the samecluster oneto socause wea can more easily measure the power usage of the clustershutdown.
 
Note the room temperature! The room has a large cooler that uses Cornell Lake-source cooling to cool the room, but your job will still probably warm up the room by a few degrees.

Navigation menu