[mpich-discuss] Can't find libpthread.a file

luoyuan Q luoyuan126 at gmail.com
Mon Aug 27 21:45:57 CDT 2012


Oh,yes.I make a input mistake.It's libmpich.a,not libmpi.a.i can find it. I
thought libpthread.a  belongs to mpich2 lib.Sorry to trouble you and thank
you for your help again.

2012/8/28 Anthony Chan <chan at mcs.anl.gov>

>
> MPICH2 does not provide libmpi.a, it provides libmpich.a or the .so
> version.  You should modify LAMMPS to use MPI compiler
> wrapper(mpicc/mpif90)
> to compile/link.  The compiler wrapper will take care of the locations
> of various libraries.  BTW, pthread library should be provided by
> your system.
>
> A.Chan
>
> ----- Original Message -----
> > Hi,everyone. Now I am install mpich2-1.3.1 and then link it to LAMMPS
> > which
> > need libmpi.a, libmpl.a and lib.pthread.a. Unfortunately, I can't find
> > libpthread.a file in lib directory and other files. Then I turn to
> > mpich2-1.4.1p1. The result is the same.I followed the README file to
> > install them step by step. No error was encountered during
> > installation.
> > what can i do ??? Thank you for your time in reading my mail and
> > appreciate
> > your helps in advance.
> > Best wishes
> > Z.Y.Qiu
> > 08/27/2012
> >
> > _______________________________________________
> > mpich-discuss mailing list mpich-discuss at mcs.anl.gov
> > To manage subscription options or unsubscribe:
> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120828/f663f0e4/attachment.html>


More information about the mpich-discuss mailing list