problem in v1706
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 |
Greetings teofil,
GCC 4.8.1 should work without problems. A few questions:
Bruno |
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 |
installation data
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 |
openMPI
I have an old version of openMPI. Currently 1.10.2
I will update it to 2.1.1 and I let you know... |
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 default:openmpi-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... |
problem with foamList
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? |
All times are GMT -4. The time now is 00:47. |