thank you for your reply. i am using mpicc/mpif90. i am able to successfully compile, but during execution i receive an "error while loading shared libraries." i tried compiling/linking w/ -static flag to overcome the shared library error. however, linking w/ -static gives me an error of "ld: cannot find -lmpi." i do not have a libmpi.a file. i do have a libmpi.la file but don't know how to link to it.
thank you, shane --- Ralph H Castain <r...@lanl.gov> wrote: > Easiest method is just to use the "mpicc" command to > compile your code. It > will automatically link you to the right libraries, > include directories, > etc. You can check the $prefix/bin directory to see > all the compiler > wrappers we provide. > > Ralph > > > On 10/26/06 7:12 AM, "shane kennedy" > <kennedy_sh...@yahoo.com> wrote: > > > i'm not a developer & am used to linking to > libraries > > using the -l flag. this only appears to work for > .a > > files. openmpi generates .la files. how do i > link > > the these? > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > _______________________________________________ > > users mailing list > > us...@open-mpi.org > > http://www.open-mpi.org/mailman/listinfo.cgi/users > > > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com