From: Roman Martonak <martonak@prr.mpi-stuttgart.mpg.de>
To: axp-list@redhat.com
Subject: Compaq Fortran, blas and lapack
Date: Sun, 4 Jul 1999 10:31:14 +0200 (CEST) [thread overview]
Message-ID: <14207.7122.764648.553579@roman.localdomain> (raw)
I tried to compile a program using one of LAPACK routines with Compaq
Fortran compiler, and get the following problem at linking:
martonak> fort -ocorel.x corel.f -lblas -llapack
/usr/local/lib/libblas.so: undefined reference to `e_wsfe'
/usr/local/lib/libblas.so: undefined reference to `z_abs'
/usr/local/lib/liblapack.so: undefined reference to `c_sqrt'
/usr/local/lib/liblapack.so: undefined reference to `s_cmp'
/usr/local/lib/liblapack.so: undefined reference to `r_lg10'
/usr/local/lib/liblapack.so: undefined reference to `z_exp'
/usr/local/lib/liblapack.so: undefined reference to `c_exp'
/usr/local/lib/libblas.so: undefined reference to `c_div'
/usr/local/lib/libblas.so: undefined reference to `do_fio'
/usr/local/lib/liblapack.so: undefined reference to `pow_dd'
/usr/local/lib/liblapack.so: undefined reference to `z_sqrt'
/usr/local/lib/liblapack.so: undefined reference to `s_cat'
/usr/local/lib/libblas.so: undefined reference to `s_stop'
/usr/local/lib/libblas.so: undefined reference to `c_abs'
/usr/local/lib/liblapack.so: undefined reference to `d_lg10'
/usr/local/lib/libblas.so: undefined reference to `z_div'
/usr/local/lib/libblas.so: undefined reference to `s_wsfe'
/usr/local/lib/liblapack.so: undefined reference to `s_copy'
collect2: ld returned 1 exit status
fort: Severe: Failed while trying to link.
When I use g77, it links allright. My lapack and blas libraries have been
compiled from sources at neuro.uni-oldenburg.de for use with cpml. Can one
link against these libraries using Compaq Fortran, or do they also have to
be recompiled with Compaq Fortran instead of g77 ? Or is it just necessary
to use some special compiler switches to link against libraries compiled
by a different compiler ?
Thanks in advance,
Roman Martonak.
--
Roman Martonak
Max-Planck-Institut fuer Festkoerperforschung
Heisenbergstrasse 1
D-70569 Stuttgart
Germany
Phone: + 49 711 6891756
Fax: + 49 711 6891702
e-mail: martonak@prr.mpi-stuttgart.mpg.de
next reply other threads:[~1999-07-04 8:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-04 8:31 Roman Martonak [this message]
1999-07-04 16:54 ` Compaq Fortran, blas and lapack Greg Lindahl
1999-07-04 20:10 ` xfig not displaying lines Phil Marsden
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox