Hi David
           when i am using "export LDFLAGS=-L/usr/local/topspin/mpi/mpich/lib64 -lmpich" command then i am getting error "bash: export: `-Impich': not a valid identifier". what may be the reason for that. or what does it mean by all those flags like LDFLAGS, CFLAGS etc.


On 9/19/07, David Gohara <sdg0919@gmail.com> wrote:
Hi Dhiraj,

   I must have missed this message.
> export LDFLAGS=-L/usr/local/topspin/mpi/mpich/lib64 -lmpich

>> $ export MPI_PREFIX=/usr/local/topspin/mpi/mpich/
>> $ export CC=${MPI_PREFIX}/bin/mpicc
>> $ export F77=${MPI_PREFIX}/bin/mpif77

   Actually, if the mpicc you are using is the one that was used to
create the library in the topspin directory, then you should need to
specify anything regarding libraries. mpicc is basically a wrapper
that passes the correct compiler, include and linker options during
build time.

   Are you getting an error and if so could you paste it in?



David W. Gohara, Ph.D.
Center for Computational Biology
Washington University School of Medicine
314-362-1583 (phone)
617-216-8616 (cell)

Dhiraj K. Srivastava
Department of Chemistry
University of Missouri-Columbia
MO, 65211
Ph. no. 001-573-639-0153