Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running julia code on multiple machines

I have parallelized my algorithm using pmap. The performance improvement on one machine using the -p option is great. Now I would like to run on multiple machines.

I used the --machinefile option on julia start. It works but it launches only one process on remote machine. I would like to have multiple processes running on each machine. Option -p enables multiple processes only on the local machine. Is there a way to specify number of processes on remote machines?

like image 953
dejan Avatar asked Oct 19 '22 20:10

dejan


1 Answers

On Julia 0.3 you have to list the remote machines multiple times to open multiple Julia copies.

On Julia 0.4 (unreleased) you can actually put a count next to each address, see this pull request.

like image 186
IainDunning Avatar answered Oct 22 '22 20:10

IainDunning