Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
about debugging openfoam
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
houkensjtu
n00b
n00b


Joined: 08 Jan 2014
Posts: 6

PostPosted: Mon Sep 08, 2014 4:22 am    Post subject: about debugging openfoam Reply with quote

openFOAM is a huge computational fluid dynamic toolkit/library which needs tons of dependencies and happily it recently became available in portage(since 2.2).
As a openFOAM user we may want to add "debug" flag when compiling all of its components since sometimes we want to know what actually happens inside its numerical calculation. In fact this feature can be easily achieved by tweaking an option called WM_COMPILE_OPTION inside a configuration file of openfoam if I compile all things up mannually.
However now the openFOAM ebuild does not provide a "debug" USE flag, thus even I may mannually tweak the option as I want and rebuild part of the components, I believe all my customization will be wiped out after a upgrade from portage.

I suppose there will be sevral ways to solve this problem:
1. Find / Make a overlay for it and add the feature I want. But since I am not a gentoo developer, it seems somehow time-consuming for me to dig in.
2. Get rid of the "portage version" of openfoam and build myself from 0. It should be OK but what a waste of effort paid by its maintainer!
3. Mask any newer version of openfoam by package.mask, it can prevent portage from upgrading it but I think eventually I will need a upgrade to grab new features provided in openfoam.

So it seems there isnt a really perfect solution, Any advices/suggestions?

THX
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum