|
[Sponsors] |
June 10, 2013, 04:02 |
OpenFOAM 2.2.0 and 2.1.0 side by side errors
|
#1 |
New Member
N7student
Join Date: Feb 2012
Posts: 9
Rep Power: 14 |
Hello all OpenFOAM community users !
I am running an x86 version of openSuSE 12.3 and I am experiencing problems to get OpenFOAM 2.2.0 and 2.1.0 co-existing. I have installed OF 2.2.0 directly through RPM packages, and all the dependencies for this version have been installed. OF 2.2.0 works well on my system. Then, for some reasons, I have had to install OF 2.1.0 and keep OF 2.2.0. I have tried to install it through RPM packages too (option --force). I have installed Scotch and Paraview successfully, but when it came to OpenFOAM, I get the following error: Code:
Retrieving http://www.openfoam.org/download/suse/11.4/i586/OpenFOAM-2.1.0-1.i586.rpm error: Failed dependencies: libopen-pal.so.0 is needed by OpenFOAM-2.1.0-1.i586 libopen-rte.so.0 is needed by OpenFOAM-2.1.0-1.i586 Code:
/usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld: cannot find -lengine /usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld: cannot find -lcompressibleTurbulenceModel /usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld: cannot find -lcompressibleRASModels /usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld: cannot find -lbasicThermophysicalModels /usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld: cannot find -lreactionThermophysicalModels /usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld: cannot find -llaminarFlameSpeedModels /usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld: cannot find -lfiniteVolume /usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld: cannot find -ldynamicFvMesh /usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld: cannot find -lOpenFOAM collect2: error: ld returned 1 exit status make[2]: *** [/opt/OpenFOAM-2.1.0/platforms/linuxGccDPOpt/bin/PDRFoam] Error 1 make[1]: *** [PDRFoam] Error 2 make[1]: Target `application' not remade because of errors. make: *** [combustion] Error 2 make.log.gz Hardly no binaries are compilated on bin dir, like virtually no libraries are compilated on platforms/linuxGccDPOpt/lib dir... So I do not know how to have a working version of OF 2.1.0... |
|
June 10, 2013, 08:46 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Neraste,
This is indeed a strange error... I can only guess that the problem is due to an incorrect configuration on how to use Gcc 4.7. OK, let's go by steps:
Bruno
__________________
|
|
June 12, 2013, 05:55 |
|
#3 |
New Member
N7student
Join Date: Feb 2012
Posts: 9
Rep Power: 14 |
Hello wyldckat
Thank you for your answer! About the way I make each version living side by side, both versions are installed on separate folders in /opt, with their own dependencies (differently organized between 2.2.0 and 2.1.0, by the way):
Well, then, what I did is to compile version 2.1.1 instead. I already knew the installation guidelines wiki. Everything has worked as expected and just works... So, since it works, I kinda have no problem, but I am still puzzled by the 2.1.0 compilation errors... |
|
Tags |
installation, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 05:13 |
[OpenFOAM.org] Installing OpenFOAM 2.1.0 on ROCKS cluster | aerospain | OpenFOAM Installation | 6 | December 15, 2014 04:35 |
reactingFoam tutorial for OpenFOAM 2.1.0 | ToTh | OpenFOAM Running, Solving & CFD | 1 | September 3, 2012 05:43 |
Source Pack Installation OpenFOAM Version 2.1.0 on Redhat Linux | Indrajit | OpenFOAM Installation | 1 | April 1, 2012 05:39 |
.deb installation of OpenFOAM 2.1.0 on Ubuntu 11.10 (Oneiric Ocelot). | kxk7607 | OpenFOAM Installation | 7 | January 21, 2012 12:57 |