I have been trying to compile the Blacs Tester files (from the archive www.netlib.org/blacs/blacstester.tgz) using the supplied 'make' file. Our compilers are g77 and gcc. Doing 'make' produces a large number of warning messages of the following form:
----------
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]
----------
Looking at the Fortran source code of blacstest.f, this is because in the main program the array MEM is declared as Double Precision but in the subroutine it is declared as Integer. I presume there is some reason behind this difference in the declarations.
Although these appear as warnings, the Make fails with the message:
make: *** [blacstest.o] Error 1
and no object files or exectuable are created, as far as I can see.
I seem to have compiled the Blacs themselves correctly, and so my Bmake.inc should be correct.
Any help/advice would be appreciated.
Zahid Aziz
The University of Nottingham
Nottingham
England