The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Problem on Pro*C compilation on HP-UX asutoshch UNIX for Advanced & Expert Users 5 04-29-2009 11:52 AM
Compiling netcdf-3.6.2 on powerpc-ibm-aix5.2.0.0 samrat_rao AIX 0 04-23-2009 09:19 AM
How to upgrade AIX5.3TL6-07 to AIX5.3TL8-04? sangers AIX 2 02-20-2009 01:33 AM
compilation problem phani_sree High Level Programming 2 10-25-2007 04:18 PM
Compile Problem on AIX5.3 jbo AIX 1 05-01-2007 07:32 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-19-2009
pauli pauli is offline
Registered User
  
 

Join Date: Mar 2007
Location: Singapore
Posts: 14
Smile compilation problem on powerpc-ibm-aix5.2.0.0--Xlf

Dear all,

I am not sure whether I am in the right forum, but... I am trying to compile a program on aix5.2.0.0 which requires the use of blas, lapack, blacs scalapack. I am getting the following error msg whcih I can't get rid off!

Code:
ld: 0711-317 ERROR: Undefined symbol: .zhegvx
ld: 0711-317 ERROR: Undefined symbol: .zlaed0
ld: 0711-317 ERROR: Undefined symbol: .zlacrm
ld: 0711-317 ERROR: Undefined symbol: .dsygvx
I think these are lapack subroutines, but can't see what the problem is?

Here also is my make file:

.SUFFIXES:
.SUFFIXES: .f .F .o .a .f90 .F90

ARCH=powerpc-ibm-aix5.2.0.0--Xlf

FPP=
FPP_OUTPUT=
FC=mpxlf90
RANLIB=ranlib

SYS=xlf

SP_KIND=1
DP_KIND=8
KINDS=$(SP_KIND) $(DP_KIND)

FFLAGS=-g -O3 -qarch=auto -qtune=auto -qcache=auto -qnolm
FPPFLAGS= -WF,-DMPI -WF,-DFC_HAVE_ABORT
CPPFLAGS= -WF, -DHAS ZHEGVX
LDFLAGS=

ARFLAGS_EXTRA=

FCFLAGS_fixed_f=-qfixed -qsuffix=cpp=f
FCFLAGS_free_f90=
FPPFLAGS_fixed_F=-qfixed -qsuffix=cpp=F
FPPFLAGS_free_F90=

BLAS_LIBS=-lblas
LAPACK_LIBS=-llapack
BLACS_LIBS=-lblacs
SCALAPACK_LIBS=-lscalapack

COMP_LIBS=

NETCDF_LIBS=
NETCDF_INTERFACE=

LIBS=$(SCALAPACK_LIBS) $(BLACS_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS) $(NETCDF_LIBS)

MPI_INTERFACE=libmpi_f90.a
MPI_INCLUDE=.

Any help or advice would be greatly appreciated!!

Many thanks indeed,

Pauli.

Last edited by Yogesh Sawant; 06-19-2009 at 08:40 AM.. Reason: added code tags
  #2 (permalink)  
Old 06-23-2009
garethr garethr is offline
Registered User
  
 

Join Date: May 2009
Location: England
Posts: 89
Some thoughts/guesses:
1. "ld" cannot find your blas/lapack etc libraries in the paths it is searching.
2. Mismatch between 32-bit/64-bit libraries. E.g. trying to compile for one but libraries are for the other.
3. Running "truss" on the linking process may show which paths it is searching.
  #3 (permalink)  
Old 06-23-2009
dukessd dukessd is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2006
Posts: 307
Upgrade, AIX 5.2 is past the end of service date.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:14 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0