Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: fortran blas, lapack
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fortran blas, lapack



In my experience, LAPACK and BLAS in vecLib (Absoft also) seem to attach an underscore at the last in their routine names. This may be a custom in Mac application.

For example, In Absoft Fortran, I use
!DIR$ NAME(DSYEV="dsyev_")

Or, directly rewrite as
        CALL DSYEV_(...)



I'm trying to use the lapack routine 'dgesvd', I compile with the command:


xlf95 -O2 -o iterate_henon.exe iterate_henon.o -L/System/Library/Frameworks/vecLib.framework/versions/A/vecLib -Wl,-framework -Wl,veclib

and I get the error:

/usr/bin/ld: Undefined symbols:
_dgesvd
make: *** [exe] Error 1

This happens whenever I try to access blas or lapack routines. I've also tried using the -qextname option, but to no avail.

Thanks,
Aaron


email@hidden http://www.lcv.umd.edu/~palott LCV: CSS 4364A 301.405.4865 Office: CSS 4102 301.405.8735 Fax: 301.314.0827

P. Aaron Lott
4364E Computer and Space Sciences Building
University of Maryland
College Park, MD 20742-4015


----------------------- Koun SHIRAI Nanoscience and Nanotechnology Center ISIR, Osaka University 8-1, Mihogaoka, Ibaraki Osaka 567-0047, JAPAN PH: +81-6-6879-4302 FAX: +81-6-6879-8539

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Fortran-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >fortran blas, lapack (From: "P. Aaron Lott" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.