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

[foam-extend.org] Problem installing third party codes with foam extend 4.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 12, 2022, 08:41
Default Problem installing third party codes with foam extend 4.1
  #1
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 400
Rep Power: 19
quarkz is on a distinguished road
Hi,

I'm trying to install foam extend 4.1 nextRelease branch. However, I've similar problem with the org 4.1 too.

Some third party codes can't be installed. These include:

metis
scotch
parmetis
Mesquite

So I downloaded the third party codes and install myself. Installation was successful. However, when I run Allwmake.firstInstall, it complains that the include file is not found:

Code:
-extend-4.1_NR_updated/src/foam/lnInclude -I/home/users/nus/tsltaywb/woodstock/foam/foam-extend-4.1_NR_updated/src/OSspecific/POSIX/lnInclude   -fPIC -fuse-ld=bfd -c $SOURCE -o Make/linux64GccDPInt32Opt/metisDecomp.o
metisDecomp.C:34:22: fatal error: metis.h: No such file or directory
 #   include "metis.h"
It's the same for parmetis, scotch. For Mesquite, it complains:

Code:
/home/users/nus/tsltaywb/woodstock/lib/mesquite-2.3.0//lib/libmesquite.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
However, I have already specified them in prefs.sh, such as:

Code:
# System installed Metis
export METIS_SYSTEM=1
export METIS_DIR=/home/users/nus/tsltaywb/woodstock/lib/metis-5.1.0
export METIS_BIN_DIR=$METIS_DIR/bin
export METIS_LIB_DIR=$METIS_DIR/lib
export METIS_INCLUDE_DIR=$METIS_DIR/include
May I know what's wrong? Btw, I'm using gcc 4.9.3 + openmpi 1.10.2.
quarkz is offline   Reply With Quote

Old   November 15, 2023, 17:02
Default
  #2
New Member
 
Shenhui Ruan
Join Date: Nov 2021
Location: Karlsruhe
Posts: 12
Rep Power: 4
fly_light is on a distinguished road
Hi,

have you found the solution to the problem?
I have the same issue and I don't know how to solve it.
Please tell me if you found it.

best regards.
fly_light is offline   Reply With Quote

Old   December 15, 2023, 12:34
Default OpenFOAM Installation
  #3
New Member
 
ishaydjo
Join Date: Oct 2022
Posts: 5
Rep Power: 3
dhaysux is on a distinguished road
Hi, Thank you very much for the tutorial! btw, if i uncheck the virtual machine platform feature on 'turn windows features on or off' can I still operate openfoam & paraview normally? thanks in anticipation.






192.168.100.1 192.168.1.1

Last edited by dhaysux; December 16, 2023 at 02:51.
dhaysux 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
[mesh manipulation] refineMesh Error mohsen.boojari OpenFOAM Meshing & Mesh Conversion 3 March 1, 2018 22:07
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 04:04
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
[Other] StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 04:38
problem about installing FOAM linux freshman Main CFD Forum 6 November 4, 2004 10:59


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