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

[foam-extend.org] foam-extend 3.2 not building on Gentoo

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2016, 15:00
Default foam-extend 3.2 not building on Gentoo
  #1
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Hello all,

I have issues building foam-extend 3.2 on my Gentoo-box. I have installed several OF-versions on it without any problems.

The error occurs when buidling metis. The problem is that decompositionMethod.H is not found even though the file is present.

Thanks.
bastil is offline   Reply With Quote

Old   May 1, 2016, 17:38
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Quick answer: Without a complete output log with error listing, I'm unable to diagnose what might be the problem.

Append the following to the command you used:
Code:
> log.make 2>&1
For example:
Code:
./Allwmake > log.make 2>&1
Then please attach the compressed file, e.g. "log.make.gz":
Code:
gzip < log.make > log.make.gz
lxwd likes this.
__________________
wyldckat is offline   Reply With Quote

Old   May 6, 2016, 04:30
Default
  #3
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
See attachment.
Attached Files
File Type: gz builddp.out.gz (29.4 KB, 2 views)
bastil is offline   Reply With Quote

Old   May 8, 2016, 14:28
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Quick answer: OK, there are few errors and hopefully the solutions are simple enough:
  1. The rpm and rpmBuild applications are not installed in your system. I don't know if Gentoo provides it.
  2. There are a few problems with the Flex version. The following commands should solve the problem:
    Code:
    cd $WM_PROJECT_DIR
     
    find src applications -name "*.L" -type f | xargs sed -i -e 's=\(YY\_FLEX\_SUBMINOR\_VERSION\)=YY_FLEX_MINOR_VERSION < 6 \&\& \1='
wyldckat is offline   Reply With Quote

Old   May 8, 2016, 14:47
Default
  #5
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Ok, I don't think I need rpm and rpmBuild. I have all required dependencies on my System and OpenFOAM3 is able to use them without any problems. The same is true for the installed flex.
I will try to fix the flex problems as described. What is the correct way to tell foam-extend to use the system packages? Thanks.

Regards BastiL
bastil is offline   Reply With Quote

Old   May 8, 2016, 14:59
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Quick answer: Run:
Code:
foam
cp etc/prefs.sh-EXAMPLE etc/prefs.sh
Then:
  1. Manually edit the file "etc/prefs.sh";
  2. uncomment the lines respective to the packages you have in your system and don't forget to update the paths to said packages/libraries.
wyldckat 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
error with reactingFoam BakedAlmonds OpenFOAM Running, Solving & CFD 4 June 22, 2016 02:21
[foam-extend.org] Error compiling OpenFOAM-1.6-ext Canesin OpenFOAM Installation 137 January 20, 2016 14:56
Compilation error OF1.5-dev on Suse10.3 darenyang OpenFOAM Installation 0 April 29, 2009 04:55
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19


All times are GMT -4. The time now is 18:00.