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

Compile a single lib with different flags

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2011, 05:37
Question Compile a single lib with different flags
  #1
New Member
 
Tim
Join Date: Nov 2011
Posts: 2
Rep Power: 0
rztim is on a distinguished road
Hallo Foamers,

I want to build the library "libchemistryModel.so" with different compile flags as the other libs. How is this possible? Is there a special file or environment variable? I tried to modify $WM_CFLAGS and then rebuild the lib, but that did not work. Any ideas?

cheers,
Tim
rztim is offline   Reply With Quote

Old   November 22, 2011, 16:05
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Tim and welcome to the forum!

I feel like writing this post like a TV advertisement to one of those American shops...
Quote:
You can find all of your debugging needs 100% satisfied right here in your friendly openfoamwiki.net website near your location: http://openfoamwiki.net/index.php/Ho...evel_debugging


Best regards,
Bruno

PS: do you want fries with your order?
__________________

Last edited by wyldckat; November 22, 2011 at 16:06. Reason: see PS:
wyldckat is offline   Reply With Quote

Old   November 23, 2011, 04:42
Default
  #3
New Member
 
Tim
Join Date: Nov 2011
Posts: 2
Rep Power: 0
rztim is on a distinguished road
Thanks Bruno, no fries for me :-P

Ok, that already worked for me. I thought this option file is only for includes and linking.

Cheers,
Tim
rztim is offline   Reply With Quote

Reply


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
PV3FoamReader compile error.... PEM_GUY OpenFOAM Installation 6 April 5, 2010 18:22
Changing compiler and compile flags sripplinger OpenFOAM Installation 13 January 4, 2010 11:37
Compiling 15dev and 15x in single precision bastil OpenFOAM Installation 0 February 5, 2009 05:34
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 22:51
P4 1.5 or Dual P3 800EB on Gibabyte board Danial FLUENT 4 September 12, 2001 12:44


All times are GMT -4. The time now is 08:54.