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

OpenFOAM 2.0.x libscotch issues

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2011, 12:24
Default OpenFOAM 2.0.x libscotch issues
  #1
Member
 
Join Date: May 2009
Posts: 54
Rep Power: 17
gfilip is on a distinguished road
Hello

I am trying to compile 2.0.x and I believe I am having issues with decomposition libraries. Solvers and such compile fine, but snappyHexMesh for example does not. I am attaching a log of Allmake which seems to successfully make the necessary ThirdParty libs.

The first error I locate in the log:

Code:
+ wmake libso scotchDecomp
g++: no input files
make: *** [/l/gfilip/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/dummy/libscotchDecomp.so] Error 1
and so on, for various decomposition tools. Eventually when sHM tries to compile, it fails with

Code:
/usr/bin/ld: cannot find -lptscotchDecomp
collect2: ld returned 1 exit status
make[3]: *** [/l/gfilip/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/bin/snappyHexMesh] Error 1

Any ideas?
Attached Files
File Type: txt make3.log.txt (19.1 KB, 4 views)
gfilip is offline   Reply With Quote

Old   July 9, 2011, 06:27
Default
  #2
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
Greetings Grzegorz,

I don't understand. Everything was fine in the previous build you posted in the other thread (this post http://www.cfd-online.com/Forums/ope...tml#post315198 #32)!

What did you do or change to cause this error?

Best regards,
Bruno
__________________
wyldckat is online now   Reply With Quote

Old   July 10, 2011, 01:46
Default
  #3
Member
 
Join Date: May 2009
Posts: 54
Rep Power: 17
gfilip is on a distinguished road
Hello Bruno,

In the previous post, I had both warnings and ld errors. After a git pull, the warnings went away but these errors posted above remained. Just to be clear, when I posted last, most applications did not work outside of checkMesh and some other utilities. Snappy definitely did not work at that time either. The git pull resolved the solver and most application issues, but sHM is still not compiling.


Thanks

Greg
gfilip is offline   Reply With Quote

Old   July 10, 2011, 08:04
Default
  #4
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
Hi Greg,

OK, now I'm getting a better notion of what happened. With the git version sometimes we have to start the build process from scratch once again. When too many changes occur, the wmake build system is unable to cope with the changes and gets confused.

So, to re-start the building process, here's what you do:
Code:
foam
wcleanAll
wcleanLnIncludeAll
This will clean up most of the problems. Then you can start building process:
Code:
./Allwmake > make.log 2>&1
There are ways to only clean some things and not everything, but in this case I guess it's best to do a good clean up first.

Best regards and good luck!
Bruno
__________________
wyldckat is online now   Reply With Quote

Old   July 11, 2011, 12:23
Default
  #5
Member
 
Join Date: May 2009
Posts: 54
Rep Power: 17
gfilip is on a distinguished road
Bruno,

Thank you very much, that did the trick!
gfilip 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
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 07:25
[OpenFOAM] ParaView-3.7.0(cvs) + OpenFOAM Reader issues philippose ParaView 15 February 15, 2010 05:49
Issues with OpenFoam sanjibdsharma OpenFOAM 0 August 14, 2009 09:41
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 06:56
OpenFOAM 15 and CentOS 52 installation issues remrich OpenFOAM Bugs 9 March 20, 2009 02:48


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