It seems like you are installing the newest NetLib scalapack. In that case you don't need to install BLACS (it is already included in the package).
However, the error seems to be that you need the MPI header file. You could add -I/home/sprakash/mpich2-install/include to your make file and see if that helps. BUT, we have in principle no idea how you are compiling, we can't guess your SLmake.inc file! / Nick 2014/1/16 Swati Khatta <[email protected]> > Dear siesta users > I install mpich2 ,blas, blacs and lapack successfully but during scalapack > installation after editing my SLmake.inc file twhen i try to make it > ,the following error come across plz help me out > > ( cd BLACS; make lib ) > > make[1]: Entering directory > `/home/sprakash/libraries/scalapack-2.0.2/BLACS' > ( cd SRC ; make ) > make[2]: Entering directory > `/home/sprakash/libraries/scalapack-2.0.2/BLACS/SRC' > /home/sprakash/mpich2-install/bin/mpicc -c -DAdd_ -DNO_IEEE -O3 > BI_HypBS.c > In file included from Bdef.h:7, > from BI_HypBS.c:1: > Bconfig.h:16:17: error: mpi.h: No such file or directory > In file included from BI_HypBS.c:1: > Bdef.h:15: error: expected specifier-qualifier-list before 'MPI_Comm' > Bdef.h:59: error: expected specifier-qualifier-list before 'MPI_Request' > BI_HypBS.c: In function 'BI_HypBS': > BI_HypBS.c:6: error: 'BLACSSCOPE' has no member named 'Np' > BI_HypBS.c:8: error: 'BLACSSCOPE' has no member named 'Iam' > BI_HypBS.c:9: error: 'BLACSSCOPE' has no member named 'ScpId' > BI_HypBS.c:9: error: 'BLACSSCOPE' has no member named 'ScpId' > BI_HypBS.c:9: error: 'BLACSSCOPE' has no member named 'MaxId' > BI_HypBS.c:9: error: 'BLACSSCOPE' has no member named 'ScpId' > BI_HypBS.c:9: error: 'BLACSSCOPE' has no member named 'MinId' > make[2]: *** [BI_HypBS.o] Error 1 > make[2]: Leaving directory > `/home/sprakash/libraries/scalapack-2.0.2/BLACS/SRC' > make[1]: *** [lib] Error 2 > make[1]: Leaving directory `/home/sprakash/libraries/scalapack-2.0.2/BLACS' > make: *** [blacslib] Error 2 > > -- Kind regards Nick
