Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Fortran > Error compiling...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 8284 of 8908
Post > Topic >>

Error compiling example program with gfortran using lapack95 on win32

by Harald Breitkreutz <harald.breitkreutz@[EMAIL PROTECTED] > May 27, 2008 at 06:25 PM

Dear NG,

for quite some time I'm trying to compile one of the example programs 
from lapack95 (la_gesv_example.f90 to be precise) with gfortran on 
Windows XP. I have successfully compiled BLAS, LAPACK and LAPACK95 with 
gfortran before, so the needed libraries are there. For simplicity, I 
copied the four mod files (f77_lapack.mod, f95_lapack.mod, la_auxmod.mod 
and la_precision.mod) and la_gesv_example.f90 in a new directory and 
created a subdirectory "lib" where I placed the *.a files. If I try to 
compile the example, the following error is thrown:

----
H:\Test\>d:\Programme\gfortran\bin\gfortran.exe -I./ la_gesv_example.f90 
-o gesv.exe lib\lapack95.a lib\tmglib.a lib\lapack.a lib\libblas.a
la_gesv_example.f90:42.27:

       CALL LA_GESV(  A, B )
                           1
Error: There is no specific subroutine for the generic 'la_gesv' at (1)
la_gesv_example.f90:49.46:

       CALL LA_GESV(  AA, BB(:,1), IPIV, INFO )
                                              1
Error: There is no specific subroutine for the generic 'la_gesv' at (1)
----

As far as I understand, this means that the interface is present but not 
the corresponding subroutine (that is part of LAPACK). So what's wrong 
with this?

Thank you for your help,

  Harald Breitkreutz

-- 
Forschungsneutronenquelle Heinz Maier-Leibnitz (FRM II)
Technische Universität München
Lichtenbergstr. 1, D-85747 Garching

Phone: +49 (0)89 289-14758
Fax: +49 (0)89 289-14911
Mail: harald.breitkreutz@[EMAIL PROTECTED]

 




 2 Posts in Topic:
Error compiling example program with gfortran using lapack95 on
Harald Breitkreutz <ha  2008-05-27 18:25:32 
Re: Error compiling example program with gfortran using lapack95
nospam@[EMAIL PROTECTED]   2008-05-27 10:21:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Nov 19 8:55:46 CST 2008.