compilation problem on powerpc-ibm-aix5.2.0.0--Xlf


 
Thread Tools Search this Thread
Operating Systems AIX compilation problem on powerpc-ibm-aix5.2.0.0--Xlf
# 1  
Old 06-19-2009
Bug 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 09:40 AM.. Reason: added code tags
# 2  
Old 06-23-2009
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  
Old 06-23-2009
Upgrade, AIX 5.2 is past the end of service date.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Attach HP EVA to IBM AIX powerpc singlepath

Dear all. We have a very big issue on Attach HP EVA to IBM AIX powerpc singlepath. the configurations on lscfg -vl fcs2 fcs2 U789C.001.DQD8D74-P1-C2-T1 4Gb FC PCI Express Adapter (df1000fe) Part Number.................10N7249 Serial... (3 Replies)
Discussion started by: Juri_al
3 Replies

2. AIX

Problem in compilation.

Hi, I am executing the below mentioned code:- proc SQLCHECK=SEMANTICS iname=CDBInteractor.pc parse=none code=cpp cpp_suffix=cpp g++ -c main.cpp g++ -o pre_request_engine main.o -I/oracle/oracle/app/product/10g/precomp -L/oracle/oracle/app/product/10g/lib32 -lnsl -ldl And... (2 Replies)
Discussion started by: tushar_tus
2 Replies

3. Programming

C Compilation problem

Dear all I am new to C programming In response to the post cat get_time.c #include <stdlib.h> #include <sys/time.h> main() { struct timeval tv; struct timezone tz; struct tm *tm; gettimeofday(&tv, &tz); tm=localtime(&tv.tv_sec); printf("... (2 Replies)
Discussion started by: on9west
2 Replies

4. AIX

LAPACK compilation error on ibm-aix5.2

Hi all, I am trying to compile LAPACK 3.2.1 on powerpc-ibm-aix5.2.0.0--Xlf but I am getting the following mesage?? "Makefile", line 362: make: 1254-055 Dependency line needs colon or double colon operator. "Makefile", line 364: make: 1254-055 Dependency line needs colon or double colon... (3 Replies)
Discussion started by: pauli
3 Replies

5. AIX

Compilation problem

hi, I first want to apologize for my poor english ! I'm a newbe on Unix system and I have to install NRPE on an AIX 5.3. I have downloaded the NRPE Source code and i need to compile them... the problem is, when I do a: ./configure --enable-command-args --disable-ssl it returns me :... (1 Reply)
Discussion started by: Cyr1us
1 Replies

6. AIX

Compiling netcdf-3.6.2 on powerpc-ibm-aix5.2.0.0

Hi, I am trying to compile a package netcdf-3.6.2 on an ibm aix machine called IBM Regatta P690. The script i am using is:#!/usr/bin/bash -f export CC=xlc_r export CXX=xlC_r export F77=xlf_r export FC=xlf90_r export CFLAGS=-q64 export CXXFLAGS=-q64 export FFLAGS='-q64 -qextname'... (0 Replies)
Discussion started by: samrat_rao
0 Replies

7. AIX

How to upgrade AIX5.3TL6-07 to AIX5.3TL8-04?

Hello All, After creating lpp_source/spot from AIX 5.3TL6-07 DVD on the NIM(AIX6.1), I went online and download the fix pack for reaching TL8-04. (it was less than 200Mgegs total) then I did define a newer lpp_source530TL8-04 via a copy from the older lpp_source530TL6-07 (I diduse a command... (2 Replies)
Discussion started by: sangers
2 Replies

8. AIX

IBM xlf "parser stack overflow" error

Hello, Does anybody know how to increase IBM xlf parser stack to get rid of the "parser stack overflow" error? Thanks Ping (1 Reply)
Discussion started by: luop0812
1 Replies

9. Programming

compilation problem

i have a class name 1.c in tht i am using function n wich has his body in 2.c and declaration in 2.h now how can i compile 1.c. ex; 1.c int main() { //some data n(10); //somedata } ***** 2.c int n(int k) { //some data } int main() { some data (2 Replies)
Discussion started by: phani_sree
2 Replies

10. AIX

Compile Problem on AIX5.3

Hello, I try to compile apt-rpm on a AIX box. AIX: AIX 5300-05-03 make : 3.81 CC= VAC 8 I get the follwing error: make: Entering directory `/home/root/apt-0.5.15lorg3/apt-pkg' source='contrib/cmndline.cc' object='contrib/cmndline.lo' libtool=yes \ DEPDIR=.deps depmode=none... (1 Reply)
Discussion started by: jbo
1 Replies
Login or Register to Ask a Question