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

[OpenFOAM.com] v1606+ problems with installation of foamyHexMesh

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By alexeym
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 15, 2016, 01:14
Default v1606+ problems with installation of foamyHexMesh
  #1
Senior Member
 
Vaze
Join Date: Jun 2009
Posts: 172
Rep Power: 17
mvee is on a distinguished road
Hi

I tired to allwmake foamymesh. I got error

"make: *** [/scratch/vazem/my_app/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/DelaunayMeshTools/DelaunayMeshTools.o] Error 1"

Can anyone tell me how to resolve it.

Thank you

----

any response?

Last edited by wyldckat; September 17, 2016 at 09:24. Reason: merged 2 posts 1 day apart from each other
mvee is offline   Reply With Quote

Old   September 16, 2016, 04:38
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

To get a response:

1. Change title of the post to "Problem with OpenFOAM+ v1606 compilation".
2. Attach your compilation log file.
3. Describe your installation environment.

Right now your post contains no information to help you. So people have to guess that...
1. You are building OpenFOAM+ v1606 from compilation location.
2. You have problem somewhere in conformalVoronoiMesh from the single line you have posted.

(though I guess with lots of questions here, people just ignore your post without figuring out all these details).

Sometimes the error could be caused by missing CGAL, sometimes it could be caused by misconfigured CGAL, you see, there are lots of variants.
pgh likes this.

Last edited by alexeym; September 20, 2016 at 16:04. Reason: typos
alexeym is offline   Reply With Quote

Old   September 17, 2016, 09:26
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
To add to Alexey's answer - @mvee: To create a complete log file, run the following commands:
Code:
foam
./Allwmake > log.make 2>&1
gzip < log.make > log.make.gz
Then attached the file "log.make.gz" to your next post.
__________________
wyldckat is offline   Reply With Quote

Old   September 18, 2016, 23:00
Default
  #4
Senior Member
 
Vaze
Join Date: Jun 2009
Posts: 172
Rep Power: 17
mvee is on a distinguished road
Hi

Thanks Alexey and Bruno

I attached log file.
Please look and suggest.

Thank you
Attached Files
File Type: gz log.make.gz (19.3 KB, 10 views)
mvee is offline   Reply With Quote

Old   September 19, 2016, 03:33
Default
  #5
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

Let's continue to eliminate necessity for guesses:

1. What distribution do you use?
2. What compiler do you use?

Output in log-file looks like missing boost and GMP libraries, do you have them installed?

This warning:

Code:
boundBoxI.H:207:13: warning: ‘bool Foam::operator!=(const Foam::boundBox&, const Foam::boundBox&)’ has not been declared within Foam
 inline bool Foam::operator!=(const boundBox& a, const boundBox& b)
             ^~~~
could be a sign of gcc 6 and outdated code-base, since in foundation's 4.x release these things were fixed.
alexeym is offline   Reply With Quote

Old   September 19, 2016, 04:02
Default
  #6
Senior Member
 
Vaze
Join Date: Jun 2009
Posts: 172
Rep Power: 17
mvee is on a distinguished road
HI

I have CentOS 6.6 and and gcc 6.2.
I donot know about boost and GMP but they are already there in thirdparty.

Thank you
mvee is offline   Reply With Quote

Old   September 20, 2016, 03:35
Default
  #7
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Well, I have downloaded and checked contents of ThirdParty-v1606+.tgz. And really boost and CGAL are there (at least sources) but there are no mpfr and no gmp (though maybe they are downloaded by makeParaview script). Check if you really have these folders:

Code:
-I/scratch/vazem/my_app/OpenFOAM/ThirdParty-v1606+/platforms/linux64Gcc/CGAL-4.8/include/CGAL

-I/scratch/vazem/my_app/OpenFOAM/ThirdParty-v1606+/platforms/linux64Gcc/CGAL-4.8/include

-I/scratch/vazem/my_app/OpenFOAM/ThirdParty-v1606+/platforms/linux64/mpfr-3.1.3/include

-I/scratch/vazem/my_app/OpenFOAM/ThirdParty-v1606+/platforms/linux64/gmp-6.1.1/include

-I/scratch/vazem/my_app/OpenFOAM/ThirdParty-v1606+/platforms/linux64Gcc/boost_1_61_0/include
If no, then either install gmp-devel, mpfr-devel, boost-devel packages system-wide, install CGAL manually (or maybe you can try makeCGAL script). And then you can proceed with foamyHexMesh.
alexeym is offline   Reply With Quote

Old   September 20, 2016, 04:33
Default
  #8
Senior Member
 
Vaze
Join Date: Jun 2009
Posts: 172
Rep Power: 17
mvee is on a distinguished road
Hi Alexeym

All folders are available at the location mentioned above.
Is there any other cross check to resolve this issue.

Thank you
mvee is offline   Reply With Quote

Old   September 20, 2016, 16:45
Default
  #9
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

Unfortunately I have run out of ideas (since I prefer to manage third-party software with distribution's package manager). So you need wait for a person who uses OpenFOAM+, build third-party software from sources, and has similar problem (or is not lazy enough to try to reproduce your error and find a solution).
alexeym is offline   Reply With Quote

Old   September 20, 2016, 22:24
Default
  #10
Senior Member
 
Vaze
Join Date: Jun 2009
Posts: 172
Rep Power: 17
mvee is on a distinguished road
anyway thanks for your response
mvee is offline   Reply With Quote

Old   September 24, 2016, 15:09
Default
  #11
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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: I don't have enough time to test things myself, but my best guess is that the GCC+GMP+MPFR+MPC version stack that is being used is incompatible with CGAL 4.8.

I can assure that the instructions written here: https://openfoamwiki.net/index.php/I...HEL#CentOS_6.7 - using the following version stack:
Code:
gcc-4.8.5
gmp-5.1.2
mpfr-3.1.2
mpc-1.0.1
will work as intended and foamyHexMesh et al will be compiled properly... or at least they should be.
Alfonso likes this.
wyldckat is offline   Reply With Quote

Old   October 26, 2016, 12:07
Default
  #12
New Member
 
Alfonso Jurado
Join Date: Oct 2010
Location: Madrid (Spain)
Posts: 5
Rep Power: 16
Alfonso is on a distinguished road
Hi there,

I just had a similar problem here. I checked (GCC+GMP+MPFR+MPC) as Bruno says and realized that mpc wasn't installed. Once I solved that, the same error still appeared but I realized that GCAL was also uninstalled.

So after install GCAL 4.9 and mpc, the compilation ended without errors. You probably had both mpc/GCAL installed but maybe there is some problem with incompatible versions.
Alfonso 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
[OpenFOAM.com] v1606+ Problems of installation on iMac Intercooled OpenFOAM Installation 4 November 15, 2016 21:22
[Other] Installation problems with OpenFOAM 2.3.x for Windows from cfdsupport.com Nkl OpenFOAM Installation 7 March 31, 2015 11:59
Problems with installation batta31 OpenFOAM Installation 2 September 4, 2012 08:01
Installation Problems honcho OpenFOAM Installation 0 January 14, 2008 11:48
installation problems on upgrade from win 3.26 to mic Siemens 5 June 20, 2007 10:40


All times are GMT -4. The time now is 13:42.