|
[Sponsors] |
July 10, 2017, 10:45 |
problem in v1706
|
#1 |
New Member
Rovera Alessandro
Join Date: Nov 2010
Location: Dronero (CN) Piemonte Italy
Posts: 12
Rep Power: 15 |
I foud touble in openFOAM compilation 1706 about lscotchDecomp. The error is:
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lscotchDecomp collect2: error: ld returned 1 exit status make[2]: *** [/opt/OpenFOAM/OpenFOAM-v1706/platforms/linux64GccDPInt32Opt/bin/foamList] Error 1 make[2]: Leaving directory `/opt/OpenFOAM/OpenFOAM-v1706/applications/utilities/miscellaneous/foamList' make[1]: *** [foamList] Error 2 make[1]: Leaving directory `/opt/OpenFOAM/OpenFOAM-v1706/applications/utilities/miscellaneous' make: *** [miscellaneous] Error 2 anyone have some suggestion? My gcc version is 4.8.1. Is it good or I must upgade it? My Linux distro is suse. Many thanks, Alex |
|
July 10, 2017, 17:37 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings teofil,
GCC 4.8.1 should work without problems. A few questions:
Bruno
__________________
|
|
July 11, 2017, 05:05 |
|
#3 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40 |
Assuming you are using the OpenFOAM ThirdParty packs, the next thing to check is your mpi. If this is not being found, the ptscotch and other bits may not be built correctly.
By default OpenFOAM uses a system OpenMPI. Even if you have it installed (eg, via rpm or zypper) on OpenSuSE you may still need to use "mpi-selector" to activate it. Once it is activated, you'll generally need a new shell to have it take effect. Let us know what how you manage. BTW: I use OpenSuSE Leap 42.2 with system openmpi. The only issue that I experience is that the library appears to have been compiled with IB support, so I get some warnings about them not being available. /mark |
|
July 11, 2017, 05:59 |
installation data
|
#4 |
New Member
Rovera Alessandro
Join Date: Nov 2010
Location: Dronero (CN) Piemonte Italy
Posts: 12
Rep Power: 15 |
you are right these are important things:
1) I simply sourced .../etc/bashrc and exec ./Allwmake from openFOAM dir 2) scotch version: 6.0.4 3) openSUSE version 13.1 |
|
July 11, 2017, 06:03 |
openMPI
|
#5 |
New Member
Rovera Alessandro
Join Date: Nov 2010
Location: Dronero (CN) Piemonte Italy
Posts: 12
Rep Power: 15 |
I have an old version of openMPI. Currently 1.10.2
I will update it to 2.1.1 and I let you know... |
|
July 12, 2017, 10:58 |
|
#6 |
New Member
Rovera Alessandro
Join Date: Nov 2010
Location: Dronero (CN) Piemonte Italy
Posts: 12
Rep Power: 15 |
I upgradet opnempi to the version 2.1.1
I set via mip-selector and the query said: droCAE:/opt/OpenFOAM/OpenFOAM-v1706 # mpi-selector --query defaultpenmpi-1.7.2 level:user droCAE:/opt/OpenFOAM/OpenFOAM-v1706 # but the OF installation still end up with the same error on lscotchDecomp!!! Need help please... |
|
July 13, 2017, 03:42 |
problem with foamList
|
#7 |
New Member
Rovera Alessandro
Join Date: Nov 2010
Location: Dronero (CN) Piemonte Italy
Posts: 12
Rep Power: 15 |
I removed the:
-lscotchDecomp \ from the options file of the foamList application. Now the compilation skipped the error but I think I will not have the scotch decomp avaible. How is possible to told to OF installation where to found che lscotchDecomp? |
|
Tags |
error, installation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 04:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 05:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 06:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 19:13 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 14:52 |