[OMPI users] Simple MPI_Comm_spawn program hangs

2007-12-01 Thread Prakash Velayutham
Hello, Open MPI 1.2.4 I am trying to run a simple C program. ## #include #include #include #include "mpi.h" void main(int argc, char **argv) { int tag = 0; int my_ra

Re: [OMPI users] Simple MPI_Comm_spawn program hangs

2007-12-01 Thread Prakash Velayutham
it spawns. Thus, you can not spawn a non-MPI job such as /bin/hostname, since the parent process waits for some messages from the child process(es) in order to set up the intercommunicator. Thanks Edgar Prakash Velayutham wrote: Hello, Open MPI 1.2.4 I am trying to run a simple

Re: [OMPI users] Simple MPI_Comm_spawn program hangs

2007-12-06 Thread Prakash Velayutham
mm_size(MPI_COMM_WORLD, &num_proc); MPI_Comm_get_parent(&inter_comm); MPI_Finalize(); exit(0); } Thanks, Prakash On Dec 2, 2007, at 8:36 PM, Edgar Gabriel wrote: MPI_Comm_spawn is tested nightly by the test our suites, so it should definitely work... Thanks Edgar Pra

Re: [OMPI users] Simple MPI_Comm_spawn program hangs

2007-12-06 Thread Prakash Velayutham
slave.c:43 (gdb) Prakash On Dec 6, 2007, at 12:08 AM, Prakash Velayutham wrote: Hi Edgar, I changed the spawned program from /bin/hostname to a very simple MPI program as below. But now, the slave hangs right at MPI_Init line. What could the issue be? slave.c #include #include #include

[OMPI users] getenv issue

2008-01-05 Thread Prakash Velayutham
Hi, I am trying to start a simple MPI code below using Open MPI 1.2.4 and Torque 2.2.1. prakash@bmi-opt2-04:~/thesis/CS/Samples/changejob> cat pbs.c #include #include "mpi.h" int gdb_var; void main(argc, argv) int argc; char **argv; { int rank, size, ret; gdb_var = 0; char *job

Re: [OMPI users] getenv issue

2008-01-15 Thread Prakash Velayutham
nodes before starting the job. Are you seeing cases where this is not happening? More below. On Jan 5, 2008, at 3:48 AM, Prakash Velayutham wrote: Hi, I am trying to start a simple MPI code below using Open MPI 1.2.4 and Torque 2.2.1. prakash@bmi-opt2-04:~/thesis/CS/Samples/changejob>

Re: [OMPI users] Problem with running openMPI program

2009-04-20 Thread Prakash Velayutham
Hi Ankush, You can get some example MPI programs from http://www.pdc.kth.se/training/Tutor/MPI/Templates/index-frame.html . You can compare the performance of these in a MPI (single processor, multiple processors) setting and non-MPI (serial) setting to show how it can help their research.

[OMPI users] Open MPI and Torque error

2006-04-01 Thread Prakash Velayutham
Hi Jeff, I have a minimal MPI program to test the TM interface and strangely I seem to get errors during tm_init call. Could you explain what could be wrong? Have you seen anything similar. Here is the MPI code: #include #include #include extern char **environ; void do_check(int val, char

Re: [OMPI users] Open MPI and Torque error

2006-04-07 Thread Prakash Velayutham
Pak Lui wrote: Prakash, tm_poll: protocol number dis error 11 ret is 17002 instead of 0: tm_init failed 3 processes killed (possibly by Open MPI) I encountered similar problem with OpenPBS before, which also uses the TM interfaces. It returns a TM_ENOTCONNECTED (17002) when I tried to call tm

Re: [OMPI users] Open MPI and Torque error

2006-04-08 Thread Prakash Velayutham
n MPI) I am using Torque-2.0.0p7 and Open MPI-1.0.1. Prakash: are you running an unmodified version of Torque 2.0.0p7? I will test an unmodified version of 2.0.0p8 right now and let you know, but I am positive that is not the issue. TIA, Prakash > -Original Message- > From: u

Re: [OMPI users] Open MPI and Torque error

2006-04-08 Thread Prakash Velayutham
r 11 ret is 17002 instead of 0: tm_init failed 3 processes killed (possibly by Open MPI) I am using Torque-2.0.0p7 and Open MPI-1.0.1. Prakash: are you running an unmodified version of Torque 2.0.0p7? I will test an unmodified version of 2.0.0p8 right now and let you know, but I am positive that is no

[OMPI users] Open MPI error

2006-04-14 Thread Prakash Velayutham
Hi All, What does this error mean? ** socket 10: [wins02:19102] [0,0,3]-[0,0,0] mca_oob_tcp_msg_recv: readv failed with errno=104 socket 12: [wins01:19281] [0,0,4]-[0,0,0] mca_oob_tcp_msg_recv: readv failed with errno=104

Re: [OMPI users] Open MPI error

2006-04-14 Thread Prakash Velayutham
point (mpirun) during startup. Do you have any firewalls or port blocking running in your cluster? -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Prakash Velayutham Sent: Friday, April 14, 2006 11:00 AM To: us...@open-mpi.org Cc: Pr

Re: [OMPI users] Perl and MPI

2006-09-13 Thread Prakash Velayutham
Renato Golin wrote: > On 9/13/06, imran shaik wrote: > >> I need to run parallel jobs on a cluster typically of size 600 nodes and >> running SGE, but the programmers are good at perl but not C or C++. So i >> thought of MPI, but i dont know whether it has perl support? >> > > Hi Imran, >

Re: [OMPI users] Perl and MPI

2006-09-15 Thread Prakash Velayutham
ure of the support for MPI-2 standard with > >either of these modules. Is there someone here that can answer that > >question too? Also those modules seem to work only with MPICH now and > >not the other MPI distributions. > > Prakash Velayutham wrote: Renato Golin wrote:

Re: [OMPI users] Need help in Perl with MPI

2006-09-29 Thread Prakash Velayutham
Use Perl's Parallel::MPI (or Parallel::MPI::Simple) module. Get it from CPAN. Documentation should be good enough to start with. Prakash Abhishek Pratap wrote: > Can i execute a code written in perl over with MPI. > > My code also access a database present locally on the server. > > I am new to

Re: [OMPI users] Need help in Perl with MPI

2006-09-29 Thread Prakash Velayutham
e able to access the mysql database > simultaneously from the server. > > Regards, > Abhishek > > On 9/29/06, Prakash Velayutham wrote: >> >> Use Perl's Parallel::MPI (or Parallel::MPI::Simple) module. Get it from >> CPAN. Documentation should be good enough

[OMPI users] Spawning to processors outside of the process manager assigned nodes

2007-03-30 Thread Prakash Velayutham
Hello, I have Torque as the batch manager and Open MPI (1.0.1) as the MPI library. Initially I request for 'n' processors through Torque. After the Open MPI jobs starts, based on certain conditions, I want to acquire more processors outside of the initially assigned nodes by Torque. Is this a prob

[OMPI users] Open MPI error when using MPI_Comm_spawn

2007-04-02 Thread Prakash Velayutham
Hello, I have built Open MPI (1.2) with run-time environment enabled for Torque (2.1.6) resource manager. Initially I am requesting 4 nodes (1 CPU each) from Torque. The from inside of my MPI code I am trying to spawn more processes to nodes outside of Torque-assigned nodes using MPI_Comm_spawn, b

Re: [OMPI users] Open MPI error when using MPI_Comm_spawn

2007-04-02 Thread Prakash Velayutham
e name of the node if it isn't in your allocation?? Ralph On 4/2/07 10:05 AM, "Prakash Velayutham" wrote: > Hello, > > I have built Open MPI (1.2) with run-time environment enabled for Torque > (2.1.6) resource manager. Initially I am requesting 4 nodes (1 CPU each)

Re: [OMPI users] Open MPI error when using MPI_Comm_spawn

2007-04-02 Thread Prakash Velayutham
tch I've quickly done for my own use, which changes the round-robin rmaps such that is first allocates the hosts to the rmgr, as a copy&paste of some code in the dash_host ras component. It's far from being bugfree, but it can be a startpoint to hack. Jeremy > Ralph > > &g

Re: [OMPI users] Open MPI error when using MPI_Comm_spawn

2007-04-02 Thread Prakash Velayutham
ferent solution to dynamically adding nodes under Torque (or any other resource manager). Ralph On 4/2/07 10:53 AM, "Prakash Velayutham" wrote: > Hello, > > Thanks for the patch. I still do not know the internals of Open MPI, so can't > test this right away. But h

[OMPI users] Issues running a basic program with spawn

2007-06-03 Thread Prakash Velayutham
Hello, Version - Open MPI 1.2.1. I have a simple program as below: #include #include #include #include"mpi.h" void main(int argc, char **argv) { int tag = 0; int my_rank; int num_proc; charmessage_0[] = "hello slav

Re: [OMPI users] Issues running a basic program with spawn

2007-06-05 Thread Prakash Velayutham
ere in your code: MASTER : spawning 3 slaves ... and it certainly isn't anything we generate. Also, your output implies you are in some kind of loop, yet your code contains only a single comm_spawn. Could you please clarify? Thanks Ralph On 6/3/07 5:50 AM, "Prakash Velayutham"

Re: [OMPI users] Issues running a basic program with spawn

2007-06-05 Thread Prakash Velayutham
your code: MASTER : spawning 3 slaves ... and it certainly isn't anything we generate. Also, your output implies you are in some kind of loop, yet your code contains only a single comm_spawn. Could you please clarify? Thanks Ralph On 6/3/07 5:50 AM, "Prakash Velayutham" wrot

Re: [OMPI users] Issues running a basic program with spawn

2007-06-05 Thread Prakash Velayutham
eck if /bin/hostname works with the spawn. Thanks Ralph Thanks, Prakash On 6/5/07 4:16 AM, "Prakash Velayutham" wrote: Hi, Sorry about that. Two lines got cut out from the program. Here is the full program and error messages again. No Resource Manager involved, just ssh/rsh. Host