I am trying to build BLACS. I am using the Bmake.inc file provided for MPI LINUX systems.
When I try to built BLACS, I get several warnings and error messages. Any help is very much welcome, thanks in advance.
Here is the detail of the message I when installing the library.
Argument #26 (named `mem') of `camntest' is one type at (2) but is some other type at (1) [info -f g77 M GLOBALS]
blacstest.f: In subroutine `cchkamn':
blacstest.f:20807:
warning:
CALL CCHKAMN(SCOPE, CONTEXT, M, N,
Argument #13 (named `erribuf') of `zchkamn' is one type at (2) but is some other type at (1) [info -f g77 M GLOBALS]
make: *** [blacstest.o] Error 1
Makefile: line 27: CM5: command not found
Makefile: line 28: cmmd: command not found
Makefile: line 29: CMMD: command not found
Makefile: line 30: cd: SRC/CMMD: No such file or directory
Makefile: line 30: what: command not found
Make sure you are using the correct Bmake.inc for your system.
At this level, assuming you have downloaded the necessary files,
you may make the BLACS tester (make tester), or one of the BLACS
versions (make cmmd, make mpl, make nx, or make pvm)
You can define the make macro 'what' to perform a specific action.
(eg., make tester what=clean)
There are short README files in TESTING/ and SRC/.
Makefile: line 32: SP1: command not found
Makefile: line 33: SP2: command not found
Makefile: line 34: mpl: command not found
Makefile: line 35: MPL: command not found
Makefile: line 36: cd: SRC/MPL: No such file or directory
Makefile: line 36: what: command not found
Make sure you are using the correct Bmake.inc for your system.
At this level, assuming you have downloaded the necessary files,
you may make the BLACS tester (make tester), or one of the BLACS
versions (make cmmd, make mpl, make nx, or make pvm)
You can define the make macro 'what' to perform a specific action.
(eg., make tester what=clean)
There are short README files in TESTING/ and SRC/.
Makefile: line 38: intel: command not found
Makefile: line 39: ipsc2: command not found
Makefile: line 40: i860: command not found
Makefile: line 41: delta: command not found
Makefile: line 42: gamma: command not found
Makefile: line 43: paragon: command not found
Makefile: line 44: nx: command not found
Makefile: line 45: NX: command not found
Makefile: line 46: cd: SRC/NX: No such file or directory
Makefile: line 46: what: command not found
Make sure you are using the correct Bmake.inc for your system.
At this level, assuming you have downloaded the necessary files,
you may make the BLACS tester (make tester), or one of the BLACS
versions (make cmmd, make mpl, make nx, or make pvm)
You can define the make macro 'what' to perform a specific action.
(eg., make tester what=clean)
There are short README files in TESTING/ and SRC/.
libpvm [pid32464] Makefile: line 48: 32464 Segmentation fault pvm : PVM
Makefile: line 49: PVM: command not found
Makefile: line 50: cd: SRC/PVM: No such file or directory
Makefile: line 50: what: command not found
Make sure you are using the correct Bmake.inc for your system.
At this level, assuming you have downloaded the necessary files,
you may make the BLACS tester (make tester), or one of the BLACS
versions (make cmmd, make mpl, make nx, or make pvm)
You can define the make macro 'what' to perform a specific action.
(eg., make tester what=clean)
There are short README files in TESTING/ and SRC/.
Makefile: line 52: mpi: command not found
Makefile: line 53: MPI: command not found
Makefile: line 54: what: command not found
( cd INTERNAL ; make -f ../Makefile I_int "dlvl=/home/cavila/BLACS" )
make[1]: Entering directory `/home/cavila/BLACS/BLACS/SRC/MPI/INTERNAL'
gcc -c -O4 -DSYSINC -I/usr/local/mpich/include -Df77IsF2C -DBlacsDebugLvl=0 -DCSameF77 BI_HypBS.c
In file included from Bdef.h:8,
from BI_HypBS.c:1:
Bconfig.h:20:17: mpi.h: No such file or directory
In file included from BI_HypBS.c:1:
Bdef.h:54: error: syntax error before "MPI_Comm"
Bdef.h:54: warning: no semicolon at end of struct or union
Bdef.h:57: error: syntax error before '}' token
Bdef.h:64: error: field `rscp' has incomplete type
Bdef.h:64: error: field `cscp' has incomplete type
Bdef.h:64: error: field `ascp' has incomplete type
Bdef.h:64: error: field `pscp' has incomplete type
Bdef.h:97: error: syntax error before "BI_MPI_COMPLEX"
Bdef.h:97: warning: data definition has no type or storage class
Bdef.h:112: error: syntax error before "MPI_Request"
Bdef.h:112: warning: no semicolon at end of struct or union
Bdef.h:113: warning: data definition has no type or storage class
Bdef.h:116: error: syntax error before '}' token
BI_HypBS.c: In function `BI_HypBS':
BI_HypBS.c:6: error: dereferencing pointer to incomplete type
BI_HypBS.c:8: error: dereferencing pointer to incomplete type
BI_HypBS.c:9: error: dereferencing pointer to incomplete type
BI_HypBS.c:9: error: dereferencing pointer to incomplete type
BI_HypBS.c:9: error: dereferencing pointer to incomplete type
BI_HypBS.c:9: error: dereferencing pointer to incomplete type
BI_HypBS.c:9: error: dereferencing pointer to incomplete type
make[1]: *** [BI_HypBS.o] Error 1
make[1]: Leaving directory `/home/cavila/BLACS/BLACS/SRC/MPI/INTERNAL'
make: *** [INTERN] Error 2
I am installing MPI so I gues the errors that refer to PVM an others should not be considered, but the error related with mpi.h, makes me confused. I have compiled before parallel fortran code, and therefore make a reference to mpi.h exactly in the same way done by the
Bconfig.h file.
Please help me to solve this problem.
My best regards,
cfav[/b][/quote]

