Re: [OMPI users] MPI and C++ (Boost)

2009-07-07 Thread Raymond Wan
Hi Luis, Luis Vitorio Cargnini wrote: Your suggestion is a great and interesting idea. I only have the fear to get used to the Boost and could not get rid of Boost anymore, because one thing is sure the abstraction added by Boost is impressive, it turn I should add that I fully

Re: [OMPI users] MPI and C++ (Boost)

2009-07-06 Thread Raymond Wan
Hi Luis, Luis Vitorio Cargnini wrote: Thanks, but I really do not want to use Boost. Is easier ? certainly is, but I want to make it using only MPI itself and not been dependent of a Library, or templates like the majority of boost a huge set of templates and wrappers for different

Re: [OMPI users] Error connecting to nodes ?

2009-07-02 Thread Raymond Wan
Hi Ashika, Ashika Umanga Umagiliya wrote: In my MPI environment I have 3 Debian machines all setup openMPI in /usr/local/openMPI, configured PATH and LD_LIBRARY_PATH correctly. And I have also configured passwordless SSH login in each node. But when I execute my application , it gives

Re: [OMPI users] Compiling ompi for use on another machine

2009-03-14 Thread Raymond Wan
Hi Ben, ben rodriguez wrote: I have compiled ompi and another program for use on another rhel5/x86_64 machine, after transfering the binaries and setting up environment variables is there anything else I need to do for ompi to run properly? When executing my prog I get:

[OMPI users] Can't start program across network

2009-03-13 Thread Raymond Wan
Hi all, I'm having a problem running mpirun and I was wondering if there are suggestions on how to find out the cause. I have 3 machines that I can use: X, Y, and Z. The important thing is that X is different from Y and Z (the software installed, version of Linux, etc. Y and Z are

Re: [OMPI users] round-robin scheduling question [hostfile]

2009-02-23 Thread Raymond Wan
Hi Ralph, Ralph Castain wrote: ... The man page will describe all the various options. Which one is best for your app really depends on what the app is doing, the capabilities and topology of your cluster, etc. A little experimentation can help you get a feel for when to use which one.

[OMPI users] round-robin scheduling question [hostfile]

2009-02-20 Thread Raymond Wan
Hi all, According to FAQ 14 (How do I control how my processes are scheduled across nodes?) [http://www.open-mpi.org/faq/?category=running#mpirun-scheduling], it says that the default scheduling policy is by slot and not by node. I'm curious why the default is "by slot" since I am thinking of

Re: [OMPI users] running as rank 0 of 1 for 2 processor

2009-02-13 Thread Raymond Wan
Hi Ramya, Ramya Narasimhan wrote: Hi, I have installed openmpi-1.3. When I checked for the example programs, the output shows only rank 0 of size 1 for 2 processors. When I gave the command: *mpirun -hostfile node -np 2 hello_c* the output is Hello, world, I am 0 of 1 Hello, world, I am

Re: [OMPI users] Compilers

2009-01-28 Thread Raymond Wan
Hi Amos, Amos Leffler wrote: I want to compile Open-mpi using intel compilers. Unfortunately the Series 10 C compiler(icc) license has expired. I downloaded and looked at the Series 11 C++ compiler (no C compiler listed) and would like to know if you can use this together with

Re: [OMPI users] Only the root can run mpirun? other users how to do ?

2008-12-09 Thread Raymond Wan
Hi Chong, Chong Su wrote: Now the mpi can be used normally . But we need let the non-root user run the MPI program too, HOW can we do ? What type of operating system? Generally, anyone can run mpirun and mpic/mpic++/etc. Are you unable to do that? What kind of error message are you

Re: [OMPI users] OpenMPI on a LAN

2008-11-29 Thread Raymond Wan
Hi Heitor, Heitor Florido wrote: I have installed OpenMPI on both computers and my application works on on both of them, but when I try to communicate between them, the method MPI_Lookup_name can't resolve the name published by the other machine. I've tried to run the example from mpi-forum

Re: [OMPI users] OpenMPI on a LAN

2008-11-27 Thread Raymond Wan
Hi Heitor, Heitor Florido wrote: Hello, I have built an application using opemmpi 1.2.8 that is a client/server application that uses MPI_publish_name and MPI_Lookup_name to start the communication. This application works fine on a single computer. However, i'd like to run it on 2 pcs using

Re: [OMPI users] timing + /usr/bin/time

2008-11-14 Thread Raymond Wan
Hi Reuti, I have to admit that I'm so familiar with SGE, but I'll take a look at it so that I'll learn something. In my current situation, I don't /need/ to report a user time. I was just wondering if it has any meaning and what people mean when they show numbers or a graph and just says

Re: [OMPI users] timing + /usr/bin/time

2008-11-14 Thread Raymond Wan
Hi Fabian, Thank you for clarifying things and confirming some of the things that I thought. I guess I have a clearer understanding now. Fabian Hänsel wrote: H, I guess user time does not matter since it is real time that we are interested in reducing. Right. Even if we *could*

Re: [OMPI users] timing + /usr/bin/time

2008-11-12 Thread Raymond Wan
Hi Fabian, Fabian Hänsel wrote: On a separate topic, but related to your post here, how did you do the timing? [Especially to so many digits of accuracy. :-) ] two things to consider: i) What do I actually (want to) measure? ii) How accurate can I do that? i) Option iA) execution

Re: [OMPI users] dual cores --> timing + /usr/bin/time

2008-11-11 Thread Raymond Wan
Hi Fabian, On a separate topic, but related to your post here, how did you do the timing? [Especially to so many digits of accuracy. :-) ] I will have to time my program and I don't think /usr/bin/time would do it. Are the numbers it report accurate [for an MPI program]? I think the

Re: [OMPI users] Open MPI programs with autoconf/automake?

2008-11-10 Thread Raymond Wan
Hi Jeff, Jeff Squyres wrote: On Nov 10, 2008, at 6:41 AM, Jed Brown wrote: With #define's and compiler flags, I think that can be easily done -- was wondering if this is something that developers using MPI do and whether AC/AM supports it. AC will allow you to #define whatever you want

Re: [OMPI users] dual cores

2008-11-10 Thread Raymond Wan
Dear Erin, I'm nowhere near a guru, so I hope you don't what I have to say (it might be wrong...). But what I did was just put a long loop into the program and while it was running, I opened another window and looked at the output of "top". Obviously, without the loop, the program would

Re: [OMPI users] Open MPI programs with autoconf/automake?

2008-11-09 Thread Raymond Wan
) fi AM_CONDITIONAL([WE_HAVE_MPI],[test "x$with_mpi" = "xyes"]) (...) Makefile.am: (...) # MPI headers/libraries: INCLUDES+=$(MPI_CXXFLAGS) OTHERLIBS+=$(MPI_CXXLIBS) etc I would start by improving the mentioned macro with specific support for each MPI implementation...

Re: [OMPI users] Open MPI programs with autoconf/automake?

2008-11-09 Thread Raymond Wan
because not all MPI implementations have wrapper compilers -- so it's up to you to decide how portable you want to be. The open source MPI's both have wrapper compilers by the same names (mpicc et al.), but some of the vendor/MPP platform-specific MPI's may not. Good luck. On Nov 6, 2008,

[OMPI users] Debian MPI -- mpirun missing

2008-10-17 Thread Raymond Wan
Hi all, I'm very new to MPI and am trying to install it on to a Debian Etch system. I did have mpich installed and I believe that is causing me problems. I completely uninstalled it and then ran: update-alternatives --remove-all mpicc Then, I installed the following packages: