Link Pardiso solver with gfortran
Arjen Markus
arjen.markus895@gmail.com
Wed Oct 9 06:53:00 GMT 2013
Is there any error message that a library (LAPACK or BLAS) was not
found? If so, then the first task is to see in the makefile how to set
the path to the library.
If not, then there may be some mismatch in the name-mangling - that is
Pardiso expects a name in lower-case with an underscore appended, but
the LAPACK and BLAS libraries contains names in capitals. This is just
an example.
Can you use the nm command to see what names are present in all these libraries?
Regards,
Arjen
2013/10/9 behnam <b.moghadassian@gmail.com>:
> Hi all
>
> I try to compile a makefile with gfortran 4.6.3 on a linux 64 bit computer.
> In the makefile, I need Pardiso, blas and lapack libraries. I have
> downloaded Pardiso from Basel University and I already installed blas and
> lapack. When I try to compile the makefile, I get many errors. it proceeds
> to some extent and then gives me this error:
>
> /home/Pardiso//libpardiso412-GNU450-X86-64.so: undefined reference to
> `dtrmm_'
>
> and many similar errors like:
>
> /home/Pardiso//libpardiso412-GNU450-X86-64.so: undefined reference to
> `dlansy_'
>
> I guess I have to do the the linkage between the libraries. For a simple *.f
> program, it can be done according to the Pardiso Basel manual (I have done
> it successfully). But for the makefile I do not know how to do that. Please
> help me to debug the makefile or if you have any guess that you think may
> solve the problem.
>
> Thank you
>
>
>
>
>
> --
> View this message in context: http://gcc.1065356.n5.nabble.com/Link-Pardiso-solver-with-gfortran-tp974022.html
> Sent from the gcc - fortran mailing list archive at Nabble.com.
More information about the Fortran
mailing list