you need to install omegalib on both nodes.
what we typically do is installing in on a shared directory on the master node. so if omegalib is in, say
[master]/home/myself/omegalib
I can ssh on node slave1, and see omegalib in the same directory
[master] ssh slave1
[slave1] cd /home/myself/omegalib
You also need to setup passwordless ssh, so you can ssh from the master node into the slave without having to enter a password. There are lots of examples
on how to do this online (basically you need to create a rsa key pair and put in in the right place on the master & slave nodes)
Your configuration file will have two node sections, one controlling four columns of displays, the other one two. How many displays do you have per column? are those displays run separately or do they share a single desktop (xinerama)?
check test multinode.