|
[Sponsors] |
April 27, 2011, 01:26 |
foamToTecplot360 on mac osx 10.6 SL
|
#1 |
New Member
Mohanamuraly
Join Date: May 2009
Posts: 18
Rep Power: 17 |
Most of the pre-compiled binaries of OF for mac cannot execute foamToTecplot360 due to linking error. It can be fixed by the following procedure.
1) Go to the directory (I assume that the OF base path is $OF_PATH ) cd $OF_PATH/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/ 2) Now open the Runmake file in this directory vim Runmak 3) Now replace lines 75-80 with the lines shown below: case $Platname in mac*) CCOMP=g++ FINALCFLAGS="-DDARWIN -DLONGIS64 -I/usr/X11R6/include" STRIPFLAG=-Wl,-x LINKFLAGS="-shared" ;; 4) Now execute Runmake and select mac in the list of options and choose "Make tecio.a only" 5) You should see that g++ compiles some files and if it exists without any error then go to the next step. 6) now step into the folder tecsrc cd tecsrc 7) Now type the following command g++ -shared *.o -o $FOAM_LIBBIN/libtecio.dylib Now you should be able to use foamToTecplot360 on your mac 10.6 SL. Make sure you have installed the latest Apple Developer Tools. Njoy, -- Pavanakumar Mohanamuraly |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fluent @ Mac OSx | ignazio | FLUENT | 12 | July 25, 2017 08:03 |
OpenFOAM-1.7.x MAC OS X foamToTecplot360 issue | haewon | OpenFOAM Installation | 0 | November 14, 2010 03:05 |
OpenFOAM13 for Mac OSX Darwin 104 | hjasak | OpenFOAM Installation | 70 | September 24, 2010 06:06 |
ParaView and Qt 4.3.5 on Mac OS X 10.6 | Adrian | OpenFOAM | 3 | August 8, 2010 04:16 |
OpenFOAM on mac OSX | Nick Colam | Main CFD Forum | 3 | January 27, 2009 01:06 |