On the fb machine in /etc/dis/ there are several configurations files that need to be set for our dolphin network.
First, we modify networkmanager.conf.
We set "-dimensionX 2;" and leave the dimensionY and dimensionZ as 0. If we had 3 machines on a single router, we'd set X to 3, and so forth.
We then modify dishosts.conf.
We add an entry for each machine that looks like:
#Keyword name nodeid adapter link_width
ADAPTER: c1sus_a0 4 0 4
The nodeids (the first number after the name) increment by 4 each time, so c1lsc is:
ADAPTER: c1lsc_a0 8 0 4
The file cluster.conf is automatically updated by the code by parsing the dishosts.conf and networkmanager.conf files.
We uncommented the following lines in the rc.local file in /diskless/root/etc on the fb machine:
# Initialize Dolphin
# Have to set it first to node 4 with dxconfig or dis_nodemgr fails. Unexplai ned.
/opt/DIS/sbin/dxconfig -c 1 -a 0 -slw 4 -n 4
/opt/DIS/sbin/dis_nodemgr -basedir /opt/DIS
For the moment we left the following lines commented out:
# Wait for Dolphin to initialize on all nodes
We were unsure of the effect of the dolphin_wait script on the front ends without Dolphin cards. It looks like the script it calls waits until there are no dead nodes.
In /etc/conf.d/ on the fb machine we modified the local.start file by uncommenting:
This starts the Dolphin network manager on the fb machine. The fb machine is not using a Dolphin connection, but controls the front end Dolphin connections via ethernet.
The Dolphin network manager can be interacted with by using the dxadmin program (located in /opt/DIS/sbin/ on the fb machine). This is a GUI program so use ssh -X when logging into the fb before use.
Each IOP model (c1x02, c1x04) that runs on a machine using the Dolphin RFM cards needs to have the flag pciRfm=1 set in the configuration box (usually located in the upper left of the model in Simulink). Similarly, the models actually making use of the Dolphin connections should have it set as well. Use the PCIE_SignalName parts from IO_PARTS in the CDS_PARTS.mdl file to send and receive communications via the Dolphin RFM.