Thank you so much, Jeff.  It works!!!

I followed instructions in INSTALL file to make a new directory ./build. But
when I configured it in this new directory, I got "permission denied" error.
That's why I used "sudo".

Now I try to configure it directly under the openmpi-X.Y.Z directory:

./configure --prefix=.../openmpi
make all
sudo make install

test with mpi_helloworld.f90, it works just fine.

Thanks again for your time and help!

On Tue, Apr 20, 2010 at 7:38 PM, Jeff Squyres <jsquy...@cisco.com> wrote:

> On Apr 20, 2010, at 7:25 PM, Baowei Liu wrote:
>
> > Thanks a lot, Jeff. I'll try what you told me and let you know the
> result.
>
> Someone else pointed out to me off-list that you're using "sudo" for make
> all -- do you need to?  Most people build as an unprivileged user and then
> only use "sudo" for "make install".  I don't know if sudo's environment
> would be mucking you up so deep in the build, but it's worth trying without
> it...?
>
> Additionally, they pointed out that if you pass "-v" to CFLAGS (or just add
> it to the cut-n-paste of this particular command line), you should see all
> the commands that gcc is invoking under the covers.  That might be useful to
> see what's going on in this specific command line.
>
> --
> Jeff Squyres
> jsquy...@cisco.com
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
>
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>

Reply via email to