|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 21 ![]() |
I am having another quarrel with wmake... I would be obliged for advice.
Following this thread: http://www.cfd-online.com/Forums/ope...oam-2-1-x.html I was able to install and run OpenFOAM on my Arch Linux computer. Everything was going fine but recently wmake started giving me this error when linking. Code:
/usr/bin/ld: /home/c111269/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so: version node not found for symbol _ZNKSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv@GLIBCXX_3.4 /usr/bin/ld: failed to set dynamic section sizes: Bad value collect2: error: ld returned 1 exit status make: *** [/home/c111269/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so] Error 1 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,969
Blog Entries: 45
Rep Power: 127 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Robert,
Mmm... well, it's time for another version checking:
Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#3 | ||
Senior Member
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 21 ![]() |
Many thanks for the reply.
Quote:
Quote:
Apparently they aren't. Laptop has a commit from March whilst Desktop has a commit from May the 4th, but I don't think this is the issue, since I pulled after I started getting this problem. |
|||
![]() |
![]() |
![]() |
![]() |
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,969
Blog Entries: 45
Rep Power: 127 ![]() ![]() ![]() ![]() ![]() ![]() |
Mmm... now that I think about it a bit more, last time I saw something similar was because the Ubuntu and compiler versions weren't 100% identical on both machines.
In your case, it could be two problems:
Code:
foam wclean all wmSET #update the OpenFOAM shell environment... export WM_NCOMPPROCS=4 ./Allwmake
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 21 ![]() |
Thanks! Alas, wmake is not satisfied with a clean compilation. I reproduced your steps exactly but wmake is still complaining about dynamic section sizes. Just to be on the safe side I removed and checked out a new version completely and started the compilation process again, but I am not extremely hopeful there. We shall see.
|
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 21 ![]() |
I've just discovered that after I source OF bashrc I get
Code:
/usr/lib/paraview-3.14/paraview: symbol lookup error: /usr/lib/openmpi/libmpi_cxx.so.1: undefined symbol It's clear to me that at some point I've made some change to my libraries, but I can't trace this. None of these issues appear on my laptop which had Arch installed at roughly the same time. |
|
![]() |
![]() |
![]() |
![]() |
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,969
Blog Entries: 45
Rep Power: 127 ![]() ![]() ![]() ![]() ![]() ![]() |
That error message is because the ParaView version is checked by running paraview with the relevant version option. But this means that the ParaView version you have installed isn't 100% compatible with the OpenMPI installed, i.e., not the same expected binaries.
Right now there are only a few things that come to my mind:
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 21 ![]() |
This morning I reinstalled Arch. I was dreading the prospect but it turned out to be quite straightforward. I checked out from git and it built in one go. All is well and I'll try be cautious and check my code in caase the problem resurfacing.
Before reinstalling I created a new user account and run it there thnking that it might be something in my home but it also failed. Thanks for the comments! |
|
![]() |
![]() |
![]() |
![]() |
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,969
Blog Entries: 45
Rep Power: 127 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Robert,
I'm glad you've got it up and running without any major problems ![]() My suspicion is that you might have built one too many things as root and one or more of those things corrupted the files provided by the standard ArchLinux packages. The advices I think that are usually given for system-wide installations are:
Bruno
__________________
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 13:21 |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 09:31 |
OpenFOAM install on Ubuntu Natty 11.04 | bkubicek | OpenFOAM | 13 | May 26, 2011 05:48 |
POSDAT problem | piotka | STAR-CD | 4 | June 12, 2009 08:43 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |