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.
--- Ralph H Castain <rhc_at_[hidden]> 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.
> On 10/26/06 7:12 AM, "shane kennedy"
> <kennedy_shane_at_[hidden]> wrote:
> > i'm not a developer & am used to linking to
> > using the -l flag. this only appears to work for
> > files. openmpi generates .la files. how do i
> > the these?
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> > _______________________________________________
> > users mailing list
> > users_at_[hidden]
> > http://www.open-mpi.org/mailman/listinfo.cgi/users
> users mailing list
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around