[Dune] PARDISO -gfortran
Onur Dogan
iwsodoga at iws.uni-stuttgart.de
Sat May 3 17:59:31 CEST 2008
Hello Dune Developers,
Does anybody managed to link pardiso with gfortran using
gcc (GCC) 4.2.1, GNU Fortran (GCC) 4.2.1 in 32bit cpu?
g77 is not anymore supported in suse linux 10.3, gfortran
is the substitude.
I erased -lg2c from dune-common/m4/pardiso.m4
I am using in optim.opts: "
--with-pardiso='-L$MODDIR/pardiso/lib
-lpardiso_GNU42_INTEL32_P -llapack -lgomp' "
I get an error message in config.log:
"
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../../i586-suse-linux/bin/ld:
conftest: hidden symbol `__stack_chk_fail_local' in
/usr/lib/libc_nonshared.a(stack_chk_fail_local.oS) is
referenced by DSO
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../../i586-suse-linux/bin/ld:
final link failed: Nonrepresentable section on output
"
This message is something to do with a shared library that
does not properly include all the references to other
shared libraries it's supposed to have.
The correct way to build a shared library using gcc 4.x is
changed some how. Does any body have a quick solution for
that?
############################################################
M. Onur Dogan
Institut fuer Wasserbau (IWS), Universitaet Stuttgart
Lehrstuhl fuer Hydromechanik und Hydrosystemmodellierung
email: onur.dogan at iws.uni-stuttgart.de
Pfaffenwaldring 61 70550 Stuttgart
Tel.: ++49 711 / 685-67014
Fax.: ++49 711 / 685-67020
############################################################
More information about the Dune
mailing list