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

OpenFOAM 2.0.x libscotch issues

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 8, 2011, 11:24
Default OpenFOAM 2.0.x libscotch issues
  #1
Member
 
Join Date: May 2009
Posts: 51
Rep Power: 8
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, 05:27
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,521
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Grzegorz,

I don't understand. Everything was fine in the previous build you posted in the other thread (this post OpenFoam 2.0.0 installation #32)!

What did you do or change to cause this error?

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   July 10, 2011, 00:46
Default
  #3
Member
 
Join Date: May 2009
Posts: 51
Rep Power: 8
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, 07:04
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,521
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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 offline   Reply With Quote

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

Thank you very much, that did the trick!
gfilip is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
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 06:25
ParaView-3.7.0(cvs) + OpenFOAM Reader issues philippose OpenFOAM Paraview & paraFoam 15 February 15, 2010 05:49
Issues with OpenFoam sanjibdsharma OpenFOAM 0 August 14, 2009 08:41
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05: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 19:32.