mpiexec --mca btl_tcp_if_include en0 -np 4 /opt/feff/feff85/ffmod2
I was able to get my job running on the remote machine just fine (and a nice speed up too!). I am puzzled why I can't put this option (to force the use of the en0 NIC) in the startup file ~/.openmpi/mca- params.conf. In this file, I have the lines
btl_base_include=tcp,sm,self btl_tcp_if_include=en0 rds_hostfile_path = /Users/paulfons/Ports/openmpi-1.1.1/machinefileand yet when I drop the --mca parameter setting option from the command line, the mpiexec command hangs exactly as it did before when I didn't have the interface specified at all. The machinefile is being read so I believe the config file is being read. Any ideas?
I would be happy if I could just solve this problem, but I do have another (more complicated) question. Soon I will have yet another remote machine (a new "woodcrest" quad core macintosh) to connect to. The two remote machines have two NICs. Routine communications are set within the OS to use en0 (ethernet 0). I would like openmpi to use en1 on the remote boxes and en0 on my main box (dual 3 GHz G5's) as I only have a single NIC on the main box. To put it in other words, how can I specify a preferred interface on each box (hopefully not all from the command line!).
Thanks.
smime.p7s
Description: S/MIME cryptographic signature