LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Srinivasa Prade Patri (Srinivasa.Patri_at_[hidden])
Date: 2005-03-29 13:19:37


Hi!
     Iam getting the following errors when running the test run for BLACS

-------------------------------------------------------------------------------------
[root_at_kemc BLACS]# make tester
( cd TESTING ; make )
make[1]: Entering directory `/home/BLACS/TESTING'
mpif77 -Wno-globals -fno-globals -fno-f90 -fugly-complex -w -c blacstest.f
make mpif.h
make[2]: Entering directory `/home/BLACS/TESTING'
rm -f mpif.h
ln -s /usr/include/mpif.h mpif.h
make[2]: Leaving directory `/home/BLACS/TESTING'
mpif77 -c -Wno-globals -O btprim_MPI.f
mpif77 -Wno-globals -c tools.f
mpif77 -o /home/BLACS/TESTING/EXE/xFbtest_MPI-LINUX-0 blacstest.o btprim_MPI.o tools.o /home/BLACS/LIB/blacsF77init_MPI-
LINUX-0.a /home/BLACS/LIB/blacs_MPI-LINUX-0.a /home/BLACS/LIB/blacsF77init_MPI-LINUX-0.a /usr/lib64/libmpi.a
/home/BLACS/LIB/blacsF77init_MPI-LINUX-0.a(blacs_pinfo_.o)(.text+0x7f): In function `blacs_pinfo__':
: undefined reference to `BI_F77_MPI_CONSTANTS'
/home/BLACS/LIB/blacsF77init_MPI-LINUX-0.a(blacs_pinfo_.o)(.text+0x95): In function `blacs_pinfo__':
: undefined reference to `BI_F77_MPI_CONSTANTS'
/home/BLACS/LIB/blacsF77init_MPI-LINUX-0.a(blacs_pinfo_.o)(.text+0xaf): In function `blacs_pinfo__':
: undefined reference to `BI_F77_MPI_CONSTANTS'
/home/BLACS/LIB/blacsF77init_MPI-LINUX-0.a(Cblacs_pinfo.o)(.text+0x7f): In function `Cblacs_pinfo':
: undefined reference to `BI_F77_MPI_CONSTANTS'
/home/BLACS/LIB/blacsF77init_MPI-LINUX-0.a(Cblacs_pinfo.o)(.text+0x95): In function `Cblacs_pinfo':
: undefined reference to `BI_F77_MPI_CONSTANTS'
/home/BLACS/LIB/blacsF77init_MPI-LINUX-0.a(Cblacs_pinfo.o)(.text+0xaf): more undefined references to `BI_F77_MPI_CONSTANT
S' follow
collect2: ld returned 1 exit status
mpif77: No such file or directory
make[1]: *** [/home/BLACS/TESTING/EXE/xFbtest_MPI-LINUX-0] Error 1
make[1]: Leaving directory `/home/BLACS/TESTING'
make: *** [tester] Error 2
-------------------------------------------------------------------------------------

           What could be the reason!!! Thanking you.

Regards
Srinivasa Pradeep

-----Original Message-----
From: Brian Lane <blane_at_[hidden]>
To: sppatr2_at_[hidden], General LAM/MPI mailing list <lam_at_[hidden]>
Date: Mon, 28 Mar 2005 19:35:37 -0500 (EST)
Subject: Re: LAM: Problem Installing BLACS

Try using the -Wno-globals option. That should keep the "type" errors from
coming up.

On Mon, 28 Mar 2005, Srinivasa Prade Patri wrote:

> Hi!
> I have recently installed BLACS . When doing the test run , iam getting lots of compile errors. Iam listing few of them
>
> -------------------------------------------------------------------------------------
> blacstest.f:9467:
> SUBROUTINE CBTCHECKIN( NFTESTS, OUTNUM, MAXERR, NERR, IERR,
> 1
> blacstest.f:17291: (continued):
> CALL CBTCHECKIN( NFAIL, OUTNUM, MAXERR, NERR, MEM(ERRIPTR),
> 2
> Argument #5 (named `ierr') of `cbtcheckin' is one type at (2) but is some other type at (1) [info -f g77 M GLOBALS]
> blacstest.f:564: warning:
> CALL CAMXTEST(OUTNUM, VERB, TREP, TCOH, NSCOPE,
> 1
> blacstest.f:16860: (continued):
> SUBROUTINE CAMXTEST( OUTNUM, VERB, TOPSREPEAT, TOPSCOHRNT, NSCOPE,
> 2
> Argument #26 (named `mem') of `camxtest' is one type at (2) but is some other type at (1) [info -f g77 M GLOBALS]
> blacstest.f: In subroutine `crcchk':
> blacstest.f:17245: warning:
> CALL CRCCHK(IPRE, IPOST, ICHECKVAL,
> 1
> blacstest.f:17328: (continued):
> SUBROUTINE CRCCHK( IPRE, IPOST, PADVAL, M, N, RA, CA, LDI, MYROW,
> 2
> Argument #14 (named `erribuf') of `crcchk' is one type at (2) but is some other type at (1) [info -f g77 M GLOBALS]
> blacstest.f: In subroutine `cchkamx':
> blacstest.f:17239: warning:
> CALL CCHKAMX(SCOPE, CONTEXT, M, N,
> 1
> blacstest.f:17497: (continued):
> SUBROUTINE CCHKAMX( SCOPE, ICTXT, M, N, A, LDA, RA, CA, LDI,
> 2
> Argument #13 (named `erribuf') of `cchkamx' is one type at (2) but is some other type at (1) [info -f g77 M GLOBALS]
> blacstest.f: In subroutine `zamxtest':
> blacstest.f:10937:
> SUBROUTINE ZCHKPAD( UPLO, DIAG, M, N, MEM, LDA, RSRC, CSRC,
> 1
> blacstest.f:18050: (continued):
> CALL ZCHKPAD('G','-', M, N,
> 2
> Argument #17 (named `erribuf') of `zchkpad' is one type at (2) but is some other type at (1) [info -f g77 M GLOBALS]
> blacstest.f:10535:
> SUBROUTINE ZBTCHECKIN( NFTESTS, OUTNUM, MAXERR, NERR, IERR,
> 1
> blacstest.f:18079: (continued):
> CALL ZBTCHECKIN(0, OUTNUM, MAXERR, NERR,
> 2
> Argument #5 (named `ierr') of `zbtcheckin' is one type at (2) but is some other type at (1) [info -f g77 M GLOBALS]
> -------------------------------------------------------------------------------------
>
> Iam not sure why these errors are cropping up. And i am getting these errors for almost all the routines. I have attached the Bmake.inc file with this mail.
>
> The Linux kernel version is 2.4.21-20.EL.c0 and using Lammpi.
>
> Thnaking you.
>
> Regards
> Srinivasa Patri
>
>
>

Take care,

Brian Lane
blane_at_[hidden]
http://plaza.ufl.edu/blane116