ScaLAPACK Archives

[Scalapack] BLACS configuration, PETSc MPICH

Hello.  I am trying to get the BLACS routines to successfully test on  
my machine.
I have PETSc installed, which includes a version of MPICH

I have changed (in Bmake.inc) the variables

MPIdir = '/petsc.../externalpackages/mpich-x.x./darwin-c-.../

which contains the /lib /bin and /include directories.
The /bin contains mpcc, mpif77, mpich2version, mpiexec
The /lib contains libfmpich.a, libmpich.a, libpmpich.a
The /include contains mpi.h, mpif.h, mpio.h, mpiof.h, mpi_thread.h

I have changed MPILIBDir = $(MPIDir)/lib
I have changed MPIINCDir = $(MPIDir)/include
I have changed MPILIB = $(MPILIBDir)/libmpich.a

I have changed F77 = g77

When I try to run
make xsyserrors in the BLACS/INSTALL directory, I get the errors

[briangrierson at Brian-Griersons-Computer INSTALL]$make xsyserrors
gcc  -o /Users/briangrierson/BLACS/INSTALL/EXE/xsyserrors  
syserrors.o /petsc-2.3.2-p8/externalpackages/mpich2-1.0.4p1/ 
darwin8.8.0-c-debug/lib/libmpich.a
/usr/bin/ld: Undefined symbols:
_MPI_Finalize
_MPI_Init
_MPI_Type_commit
_MPI_Type_indexed
_MPI_Type_vector
collect2: ld returned 1 exit status
make: *** [/Users/briangrierson/BLACS/INSTALL/EXE/xsyserrors] Error 1

And I'm not sure what I'm doing wrong.
I've tried just $make mpi from BLACS/, and it will run fine.
Then, when I try $make from BLACS/TESTING I get a ton of compile  
errors with the fortran compiler.


Brian A. Grierson

Department of Applied Physics
Columbia University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.cs.utk.edu/private/scalapack/attachments/20070504/3bcf7c1e/attachment.html
 

<Prev in Thread] Current Thread [Next in Thread>
  • [Scalapack] BLACS configuration, PETSc MPICH, Brian Grierson <=


For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or