CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2 > SU2 Installation

Building SU2 with TecIO Library on OS X

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 16, 2014, 12:45
Default Building SU2 with TecIO Library on OS X
  #1
Senior Member
 
Zach Davis
Join Date: Jan 2010
Location: Los Angeles, CA
Posts: 101
Rep Power: 16
RcktMan77 is on a distinguished road
All,

We use to have the ability to build SU2 by explicitly passing --with-tecio-lib and --with-tecio-include options to the configure script, which worked just fine when building SU2 with the TecIO library. At some point (I think around v3.0) this was changed (along with how to build with the Metis library), and now I believe you're suppose to be able to build with the TecIO library by passing --enable-tecio to the configure script. However, I have never been able to get this to work on OS X. After running configure while passing in --enable-tecio, the option is always shown to be off in the configure summary.

I've tried forcing it on by editing the configure script, but then it appears to be looking for a specific X11 header file which I don't have, or I don't have in the location where it's looking in my environment. Would anyone be able to provide some instruction as to how we are suppose to compile SU2 with the TecIO library now under OS X? Would it be possible to reintroduce the earlier configure options whereby we could explicitly point to libtecio.a and the requisite header file (and perhaps for Metis/Parmetis as well) on our systems?

Thanks!
RcktMan77 is offline   Reply With Quote

Old   January 16, 2015, 03:17
Default
  #2
Super Moderator
 
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 14
economon is on a distinguished road
Hi,

Indeed, there is an extra flag that seems to be necessary on Mac. Here is an example of the configure alias that I have for building SU2 on my laptop:

alias config_mpi="./configure --with-MPI=mpicxx --prefix=/Users/economon/SU2 --enable-tecio CPPFLAGS='-I/opt/X11/include' --with-CGNS-lib=/usr/local/lib --with-CGNS-include=/usr/local/include CXXFLAGS='-O3'"

Note that this is for a parallel build with both CGNS and the TecIO libraries. With the extra CPPFLAGS option, the TecIO lib should build automatically and be linked on your Mac with no extra work (the source is included in the distribution).

Hope this helps,

Thomas D. Economon
SU2 lead developer
economon is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[foam-extend.org] Error compiling OpenFOAM-1.6-ext Canesin OpenFOAM Installation 137 January 20, 2016 15:56
decomposePar is missing a library whk1992 OpenFOAM Pre-Processing 8 March 7, 2015 08:53
error in building library in Fluent siddharth12 FLUENT 0 December 4, 2013 15:22
Compilation error OF1.5-dev on Suse10.3 darenyang OpenFOAM Installation 0 April 29, 2009 05:55
OpenFOAM141dev linking error on IBM AIX 52 matthias OpenFOAM Installation 24 April 28, 2008 16:49


All times are GMT -4. The time now is 06:12.