[Users] MPI problem on Mac OS X

Babiuc-Hamilton, Maria babiuc at marshall.edu
Thu May 24 11:14:35 CDT 2012

Hi Bernard,

It's a game of trial and learning from errors. Scott gave very good instructions, but no computer behaves identically. Here is what it worked for me:

1) First, install VisIt 2.4.2.
Go to: http://portal.nersc.gov/svn/visit/trunk/releases/2.4.2/
Download visit-install2_4_2 and visit2_4_2.darwin-x86_64.tar.gz (Ctrl-Click, Save files as)
$ sudo ./visit-install2_4_2.sh 2.4.2 darwin-x86_64 /opt/local/
Choose a system configuration file……
Enter (1-14):
find: /opt/local//2.4.2+/.visit/bin: No such file or directory
find: /opt/local//2.4.2+/.visit/bin: No such file or directory
visit-install done

2) Now, it's time to prepare your paths:
$ vi ~/.profile
Add to your path: 
$ source ~/.profile
$ echo $PATH
$ source ~/.profile
$ sudo ln -s /opt/local/lib/libmpi_cxx.dylib /usr/lib/
$ sudo ln -s /opt/local/lib/libmpi.dylib /usr/lib/
$ sudo ln -s /opt/local/lib/libopen-rte.dylib /usr/lib/
$ sudo ln -s /opt/local/lib/libopen-pal.dylib /usr/lib/

3) Now, build the Carpet plugin.
$ svn co https://svn.cactuscode.org/VizTools/CarpetHDF5/trunk/ CarpetHDF5
$ sudo ./install
-I/opt/local/2.4.2/darwin-x86_64/include/ -I/opt/local/2.4.2/darwin-x86_64/include/hdf5/include
-L/opt/local/2.4.2/darwin-x86_64/lib -L/opt/local/lib

Save, and close
[100%] Built target MCarpetHDF5Database

 4) Finally, take heart and open visit
$ sudo visit -noconfig

Let me know fi it's working for you.


From: Kelly, Bernard J. (GSFC-660.0)[UNIVERSITY OF MARYLAND BALTIMORE  COUNTY] [bernard.j.kelly at nasa.gov]
Sent: Wednesday, May 23, 2012 9:25 PM
To: Babiuc-Hamilton, Maria
Subject: Re: [Users] MPI problem on Mac OS X

Hi Maria.

Thanks; I'm using Barry's modern Lion config successfully to compile on
Snow Leopard with all the MacPorts stuff he suggests. However this doesn't
help me with VisIt. I'm still getting the same old error we've both seen

"The metadata server running on host localhost has exited abnormally.
VisIt is trying to restart it.
Shortly thereafter, the following occured...
VisIt was unable to open
5".  Each attempt to open it caused VisIt's metadata server to crash.
This can occur when the file is corrupted, or when the underlying file
format has changed and VisIt's readers have not been updated yet, or when
the reader VisIt is using for your file format is not robust.  Please
check whether the file is corrupted and, if not, contact a VisIt developer.

Are you telling me you've got past this to a successful data read-in?


On 5/23/12 4:55 PM, "Babiuc-Hamilton, Maria" <babiuc at marshall.edu> wrote:

>I fixed the problem. Yes, the config file for Snow-Leopard uses ithe
>system's own mpi from /usr/include. On one laptop, this was fine, but on
>the other one, after I linked the libraries, it got messed up. Panicked,
>I did some hacking in /usr/local, /usr/bin and /usr/include of which I am
>not proud, but now it works!
>I might have not needed to do this, but I wanted to clean any residue of
>openmpi that was there.
>Barry, wow, I'm succesfully using your lion configuration on the Snow
>Bernard, it is safe to use the lion configuration on the Snow Leopard,
>after you do the macport installs specified in the header, and this will
>greatly simply your problem with VisIt.
>From: Barry Wardell
><barry.wardell at gmail.com<mailto:barry.wardell at gmail.com>>
>Date: Wednesday, May 23, 2012 10:35 AM
>To: Ian Hinder <ian.hinder at aei.mpg.de<mailto:ian.hinder at aei.mpg.de>>
>Cc: "users at einsteintoolkit.org<mailto:users at einsteintoolkit.org>"
><users at einsteintoolkit.org<mailto:users at einsteintoolkit.org>>, Maria
>Babiuc <babiuc at marshall.edu<mailto:babiuc at marshall.edu>>
>Subject: Re: [Users] MPI problem on Mac OS X
>On May 23, 2012 3:20 AM, "Ian Hinder"
><ian.hinder at aei.mpg.de<mailto:ian.hinder at aei.mpg.de>> wrote:
>> I notice in Barry's Lion optionlist he uses MacPorts for OpenMPI,
>>whereas in Snow Leopard we both use the system version.  It might be
>>that the system version doesn't work for us in Lion.
>I think the problem was that OpenMPI isn't included in OSX as of Lion.
>Users mailing list
>Users at einsteintoolkit.org

More information about the Users mailing list