The LAPACK forum has moved to https://github.com/Reference-LAPACK/lapack/discussions.

SCALAPACK -- make exe " undefined ref `blacs_gridinf

Open discussion regarding features, bugs, issues, vendors, etc.

SCALAPACK -- make exe " undefined ref `blacs_gridinf

Postby arv!nd » Wed Aug 22, 2007 2:34 am

i am facing problem in creating scalapack test suit executables.
i installed correctly following packages

1.blacs -- /home/user/BLACS
2.lapack -- /home/user/LAPACK
3.BLAS -- /home/user/LAPACK/BLAS
4.SCALAPACK - /home/user/SCALAPACK

i have linux (fedora core) on i686 machine

i generally used make.inc or SLmake.inc for linux architecture only
i thought it supports the best thats why used.

but for creating testing exes there is a problem these errors are
please avoid these error lines if you dont wish to read . i gave these only if someone can better
solve problem

--------------------------------------------------------------------------------------------------
[user@master SCALAPACK]$ make exe
...
.....
mpif77 -o . . . ...
.. . . lapack_LINUX.a /home/user/LAPACK/blas_LINUX.a /usr/lib/libmpi.a
psblas1tst.o: In function `psblas1tstchk_':
psblas1tst.f:(.text+0x375): undefined reference to `blacs_gridinfo_'
psblas1tst.o: In function `pisinscope_':
psblas1tst.f:(.text+0x369c): undefined reference to `blacs_gridinfo_'
psblas1tst.o: In function `pschkarg1_':
psblas1tst.f:(.text+0x378c): undefined reference to `blacs_gridinfo_'
psblas1tst.o: In function `psblas1tstchke_':
psblas1tst.f:(.text+0x4a56): undefined reference to `blacs_get_'
psblas1tst.f:(.text+0x4a7d): undefined reference to `blacs_gridinit_'
psblas1tst.f:(.text+0x4aa1): undefined reference to `blacs_gridinfo_'
psblas1tst.f:(.text+0x4b28): undefined reference to `blacs_gridexit_'
psblas1tst.o: In function `psbla1tstinfo_':
psblas1tst.f:(.text+0x4f32): undefined reference to `blacs_get_'
psblas1tst.f:(.text+0x4f5c): undefined reference to `blacs_gridinit_'
psblas1tst.f:(.text+0x55e1): undefined reference to `blacs_gridexit_'
psblas1tst.f:(.text+0x5ba6): undefined reference to `blacs_abort_'
psblas1tst.f:(.text+0x5eb1): undefined reference to `blacs_setup_'
psblas1tst.f:(.text+0x6c27): undefined reference to `blacs_get_'
psblas1tst.f:(.text+0x6c51): undefined reference to `blacs_gridinit_'
psblas1tst.f:(.text+0x828b): undefined reference to `blacs_setup_'
psblas1tst.o: In function `MAIN__':
psblas1tst.f:(.text+0x8441): undefined reference to `blacs_pinfo_'
psblas1tst.f:(.text+0x87c7): undefined reference to `blacs_get_'
psblas1tst.f:(.text+0x87f6): undefined reference to `blacs_gridinit_'
psblas1tst.f:(.text+0x8829): undefined reference to `blacs_gridinfo_'
psblas1tst.f:(.text+0x9973): undefined reference to `blacs_exit_'
psblas1tst.f:(.text+0x9c87): undefined reference to `blacs_gridexit_'
psblastst.o: In function `pb_schekpad_':
psblastst.f:(.text+0x25c2): undefined reference to `blacs_gridinfo_'
psblastst.f:(.text+0x292c): undefined reference to `pb_topget_'
psblastst.o: In function `pb_pslaprn2_':
psblastst.f:(.text+0x2c98): undefined reference to `blacs_gridinfo_'
psblastst.f:(.text+0x2e39): undefined reference to `blacs_barrier_'
psblastst.f:(.text+0x2ec4): undefined reference to `blacs_barrier_'
psblastst.f:(.text+0x3146): undefined reference to `blacs_barrier_'
psblastst.f:(.text+0x3268): undefined reference to `blacs_barrier_'
psblastst.f:(.text+0x32f3): undefined reference to `blacs_barrier_'
psblastst.o:psblastst.f:(.text+0x3588): more undefined references to `blacs_barrier_' follow
psblastst.o: In function `pb_pslaprnt_':
psblastst.f:(.text+0x3f04): undefined reference to `blacs_gridinfo_'
psblastst.o: In function `psladom_':
psblastst.f:(.text+0x4430): undefined reference to `blacs_gridinfo_'
psblastst.o: In function `pslagen_':
psblastst.f:(.text+0x50f4): undefined reference to `blacs_gridinfo_'
psblastst.o: In function `pslascal_':
psblastst.f:(.text+0x5e19): undefined reference to `blacs_gridinfo_'
psblastst.o: In function `pslaset_':
psblastst.f:(.text+0x6e2d): undefined reference to `blacs_gridinfo_'
psblastst.o: In function `pslamch_':
psblastst.f:(.text+0x7f50): undefined reference to `pb_topget_'
psblastst.f:(.text+0x808f): undefined reference to `pb_topget_'
psblastst.o: In function `psmmch3_':
psblastst.f:(.text+0x813e): undefined reference to `blacs_gridinfo_'
psblastst.o: In function `psmmch2_':
psblastst.f:(.text+0x8812): undefined reference to `blacs_gridinfo_'
psblastst.o: In function `psmmch1_':
psblastst.f:(.text+0x93e2): undefined reference to `blacs_gridinfo_'
psblastst.o: In function `psmmch_':
psblastst.f:(.text+0x9e55): undefined reference to `blacs_gridinfo_'
psblastst.o: In function `psvmch2_':
psblastst.f:(.text+0xab22): undefined reference to `blacs_gridinfo_'
psblastst.o:psblastst.f:(.text+0xb452): more undefined references to `blacs_gridinfo_' follow
PB_Cwarn.o: In function `PB_Cwarn':
PB_Cwarn.c:(.text+0x25): undefined reference to `pb_noabort__'
PB_Cabort.o: In function `PB_Cabort':
PB_Cabort.c:(.text+0x39): undefined reference to `pb_noabort__'
collect2: ld returned 1 exit status
mpif77: No such file or directory
make[1]: *** [/home/user/SCALAPACK/TESTING/xspblas1tst] Error 1
make[1]: Leaving directory `/home/user/SCALAPACK/PBLAS/TESTING'
make: *** [pblasexe] Error 2

------------------------------------------------------------------------------------

i have some doubts in two things

(1)
BLACSdir = /home/user/BLACS/LIB
BLACSFINIT = $(BLACSdir)/blacsF77init_MPI-LINUX-0.a
BLACSCINIT = $(BLACSdir)/blacsCinit_MPI-LINUX-0.a
BLACSLIB = $(BLACSdir)/blacs_MPI-LINUX-0.a

but i think i put these right links there.is there may be any architecture problem

(2)in file /SCALAPACK/SLmake.inc

ARCH = ar
ARCHFLAGS = cr
RANLIB = ranlib

these entries are correct ?
specially i ahve doubl at ARCHFLAGS = cr

is my i686 has anything related with this flag.or any of aove flag

kindly help me
arv!nd
 
Posts: 3
Joined: Wed Aug 22, 2007 2:06 am

Postby Julie » Wed Aug 22, 2007 2:20 pm

Hi,
Did you run the BLACS testing?
I think you have just a problem of flags in the Bmake.inc or SLmake.inc
Julie
Julie
 
Posts: 299
Joined: Wed Feb 23, 2005 12:32 am
Location: ICL, Denver. Colorado

Postby Julie » Thu Aug 23, 2007 9:06 am

arv!nd
Please compile and run the programs in the INSTALL directory of the BLACS.
Then run the BLACS testing to make sure everything is working fine.
This is a mandatory step in a successful installation.
Thanks
Julie
Julie
 
Posts: 299
Joined: Wed Feb 23, 2005 12:32 am
Location: ICL, Denver. Colorado


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 4 guests