[Paraview] ParaView3 64-bit on Mac OS X 10.6.1
Michael Wild
themiwi at gmail.com
Sun Nov 1 04:14:25 EST 2009
On 1. Nov, 2009, at 3:38 , Elvis Dowson wrote:
> Hi Michael,
>
> On Nov 1, 2009, at 1:58 AM, Michael Wild wrote:
>
>>>
>>>> First I had to build a universal dbus (1.2.16) with the following
>>>> options (mostly taken from fink):
>>>>
>>>> ./configure --prefix=/usr/local/dbus-1.2.16 --disable-static --
>>>> enable-console-owner-file --with-dbus-user=messagebus --disable-
>>>> asserts --disable-tests --enable-checks --enable-kqueue --enable-
>>>> launchd --disable-userdb-cache --disable-ansi --with-xml=expat --
>>>> disable-xml-docs --disable-doxygen-docs --without-x
>>>> ac_cv_func_poll=no {CFLAGS,CXXFLAGS,LDFLAGS}='-arch i386 -arch
>>>> x86_64 -arch ppc -mmacosx-version-min=10.5 -sysroot=/Developer/
>>>> SDKs/MacOSX10.5.sdk' --disable-dependency-tracking
>>>> make -j3
>>>> sudo make install
>
> I managed to install dbus-1.2.16 from mac ports, using the command
>
> sudo port install dbus
>
> and then configured qt-4.5.4 using the following configure command
>
> ./configure -opensource -release -platform macx-g++ -cocoa -arch
> x86_64 -nomake examples -nomake demos -qt-sql-sqlite -dbus-linked -
> framework -xmlpatterns -phonon -phonon-backend -svg -no-qt3support -
> sdk /Developer/SDKs/MacOSX10.5.sdk/ -prefix /Developer/Applications/
> Qt-4.5
>
> and ran the dbus/remotecontrolledcar example, and launched
> qtdbusviewer, and eveything seems to be working fine, as far as dbus
> is concerned.
>
> So, I have dbus-1.2.16, and qt-4.5.4 built, for x86_64 using cocoa.
>
> The problem is if I try to read an OpenFOAM-1.6 file built using
> Bernhard's Mac OS X 10.6 patches, it uses mac ports gcc compiler
> gcc-mp-4.3 and g++-mp-4.3. He was saying that if you build paraview
> using a different compiler other than that was used to build
> OpenFOAM, then paraview would crash.
>
> So, at the moment, I am not having much success building
> paraview-3.7.0 using gcc-mp-4.3.
>
> Have you managed to build paraview-3.7.0 using mac ports gcc-mp-4.3?
>
> Best regards,
>
> Elvis Dowson
I don't use MacPorts. IMHO, it is a completely broken system (at least
it was when I threw it out the window about 2 years ago).
May I suggest you dump the ParaView plugins that come with OpenFOAM
and use the ones by Takuya Oshima (http://openfoamwiki.net/index.php/Tip_Building_ParaView3_With_OpenFOAM_Native_Reader
) instead? It is faster, more accurate, doesn't link against the huge
OpenFOAM libraries, is parallel and offers much more GUI features.
There are two ways of building the the ParaView-native readers: Either
by modifying the source code, or as plugins.
Michael
More information about the ParaView
mailing list