Solver problem
Barry Smith
bsmith at mcs.anl.gov
Tue Jul 28 10:35:56 CDT 2009
> undefined symbol: _gfortran_allocate_array
This is likely a symbol in the gfortran compiler libraries.
Are you linking your application code against all the libraries it
needs to be linked against? In the PETSc directory run make
getlinklibs make sure all the libraries are listed in your makefile or
use a PETSc makefile as a template.
Or this is coming from the fact that you are using shared or
dynamic libraries. If you don't need shared libraries then run PETSc's
config/configure.py with --with-shared=0
Barry
On Jul 28, 2009, at 8:42 AM, Tim Kroeger wrote:
> Dear Andreas,
>
> On Tue, 28 Jul 2009, Andreas Grassl wrote:
>
>> Tim Kroeger schrieb:
>>
>>> Would you recommend to try MUMPS as well? (I.e., will MUMPS have a
>>> change to be faster than ILU?)
>>
>> I would highly recommend to give it a try.
>
> I can't get it running. )-:
>
> I used the chance and updated to petsc-3.0.0-p7. I configured with
> MUMPS and compiled succesfully. I run my application with
> -pc_factor_mat_solver_package mumps -pc_type lu, and then it crashes
> with the following message:
>
> symbol lookup error: /home/tkroeger/archives/petsc-3.0.0-p7/linux-
> gnu/lib/libpetscmat.so: undefined symbol: _gfortran_allocate_array
>
> Otherwise, petsc-3.0.0-p7 works fine; that is, if I don't use the
> above options, it doesn't crash.
>
> What did I do wrong?
>
> Best Regards,
>
> Tim
>
> --
> Dr. Tim Kroeger
> tim.kroeger at mevis.fraunhofer.de Phone +49-421-218-7710
> tim.kroeger at cevis.uni-bremen.de Fax +49-421-218-4236
>
> Fraunhofer MEVIS, Institute for Medical Image Computing
> Universitaetsallee 29, 28359 Bremen, Germany
>
More information about the petsc-users
mailing list