Try " -fno-globals " (or close to that) as option to g77.
The warnings say you are changing types between calls. It's
probably Ok, but generally it's a mistake.
Cheers.
Roberto
On Wed, 25 Jun 2003, x z wrote:
> I am running on SunBlade100, Solaris 8, Lam 6.5.9 trying to make it work
> with BLACS that I just downloaded, with Patch 3. I am using gcc and g77 as
> the underlying compilers. I am following the instructions on pp. 8-9 on the
> Installing and Testing the BLACSv1.1 manual to compile the tester, i.e.
> moving into the BLACS/TESTING directory and typing "make". I got a bunch of
> err msgs as follows:
>
> prompt% make
> blacstest.f: In subroutine `runtests':
> blacstest.f:150: warning:
> CALL RUNTESTS( MEM, MEMLEN, CMEM, CMEMSIZ, PREC, NPREC, OUTNUM,
> 1
> blacstest.f:178: (continued):
> SUBROUTINE RUNTESTS( MEM, MEMLEN, CMEM, CMEMLEN, PREC, NPREC,
> 2
> Argument #1 (named `mem') of `runtests' is one type at (2) but is some other
> type at (1) [info -f g77 M GLOBALS]
> blacstest.f: In subroutine `ssdrvtest':
> blacstest.f:299: warning:
> CALL SSDRVTEST(OUTNUM, VERB, NSHAPE, CMEM(UPLOPTR),
> 1
> blacstest.f:2545: (continued):
> SUBROUTINE SSDRVTEST( OUTNUM, VERB, NSHAPE, UPLO0, DIAG0,
> 2
> Argument #21 (named `mem') of `ssdrvtest' is one type at (2) but is some
> other type at (1) [info -f g77 M GLOBALS]
> blacstest.f: In subroutine `dsdrvtest':
> blacstest.f:311: warning:
> CALL DSDRVTEST(OUTNUM, VERB, NSHAPE, CMEM(UPLOPTR),
> 1
> blacstest.f:2889: (continued):
> SUBROUTINE DSDRVTEST( OUTNUM, VERB, NSHAPE, UPLO0, DIAG0,
> 2
> Argument #21 (named `mem') of `dsdrvtest' is one type at (2) but is some
> other type at (1) [info -f g77 M GLOBALS]
> blacstest.f: In subroutine `csdrvtest':
> ....
> ....
> *** Error code 1
> make: Fatal error: Command failed for target `blacstest.o'
>
> My Makefile contains the following:
> blacstest.o : blacstest.f
> $(F77) $(F77NO_OPTFLAGS) -c $*.f
> whereas $(F77) is defined in my Bmake.inc as mpif77 and $(F77NO_OPTFLAGS) as
> empty.
>
> Can anyone help? Thank you very much.
>
> _________________________________________________________________
> Tired of spam? Get advanced junk mail protection with MSN 8.
> http://join.msn.com/?page=features/junkmail
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
|