Re: [OMPI users] Run a process double

2007-12-02 Thread Brian Budge
Henry -

OpenMP and OpenMPI are two different things.  OpenMP is a way to
automatically (in limited situations) parallelize your code using a
threading model.  OpenMPI is an MPI implementation.  MPI is a message
passing standard, which usually parallelizes computation on a process
basis.

  Brian

On Nov 28, 2007 3:02 PM, Henry Adolfo Lambis Miranda
 wrote:
> Hi everybody out there.
>
> This is my first post to the mail list.
> I have installed openmp 1.2.4 over a x_64 AMD double processor with SuSE
> linux.
> In principal, the instalation was succefull, with ifort 10.X.
> But when i run any code ( mpirun -np 2 a.out), instead of share the
> calcules between the two
> processor, the system duplicate the executable and send one to each
> processor.
>
>
> i don´t know what the h$%& is going on..
>
>
>
> regards..
>
> Henry
>
> --
> Henry Adolfo Lambis Miranda,Chem.Eng.
> Molecular Simulation Group  I & II
> Rovira i Virgili University.
> http://www.etseq.urv.es/ms
> Av. Pa?sos Catalans, 26
> C.P. 43007. Tarragona, Catalunya
> Espanya.
>
>
> "No podr?s quedarte en casa, hermano.
> No podr?s encender, apagar y olvidarte
> () Porque la revoluci?n no ser? televisada".
> Gil Scott-Heron (The Revolution Will Not Be Televised, 1974)
>
> Es una cosa bastante repugnante el exito. Su falsa semejanza con el merito 
> enga?a a los hombres. -- Victor Hugo. (1802-1885) Novelista franc?s.
>
> El militar es una planta que hay que cuidar con esmero para que no de sus 
> frutos. -- Jacques Tati.
>
> "La libertad viene en paquetes peque?os, usualmente TCP/IP"
>
> Colombian Reality bite:
> http://www.youtube.com/watch?v=jn3vM_5kIgM
>
> http://en.wikipedia.org/wiki/Cartagena,_Colombia
>
> http://www.youtube.com/watch?v=cvxMWSsrwg0
>
> http://www.youtube.com/watch?v=eVmYf5U6x3k
>
>
>
>
>
>
>
>
> __
> Preguntá. Respondé. Descubrí.
> Todo lo que querías saber, y lo que ni imaginabas,
> está en Yahoo! Respuestas (Beta).
> ¡Probalo ya!
> http://www.yahoo.com.ar/respuestas
>
>
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>



Re: [OMPI users] Simple MPI_Comm_spawn program hangs

2007-12-02 Thread Edgar Gabriel
MPI_Comm_spawn is tested nightly by the test our suites, so it should 
definitely work...


Thanks
Edgar

Prakash Velayutham wrote:

Thanks Edgar. I did not know that. Really?

Anyways, you are sure, an MPI job will work as a spawned process  
instead of "hostname"?


Thanks,
Prakash


On Dec 1, 2007, at 5:56 PM, Edgar Gabriel wrote:

MPI_Comm_spawn has to build an intercommunicator with the child  
process

that 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 C program.

##

#include 
#include 
#include 
#include "mpi.h"

void
main(int argc, char **argv)
{

int tag = 0;
int my_rank;
int num_proc;
charmessage_0[] = "hello slave, i'm your master";
charmessage_1[50];
charmaster_data[] = "slaves to work";
int array_of_errcodes[10];
int num;
MPI_Status  status;
MPI_Comminter_comm;
MPI_Infoinfo;
int arr[1];
int rc1;

MPI_Init(&argc, &argv);
MPI_Comm_rank(MPI_COMM_WORLD, &my_rank);
MPI_Comm_size(MPI_COMM_WORLD, &num_proc);

printf("MASTER : spawning a slave ... \n");
rc1 = MPI_Comm_spawn("/bin/hostname", MPI_ARGV_NULL, 1,
MPI_INFO_NULL, 0, MPI_COMM_WORLD, &inter_comm, arr);

MPI_Finalize();
exit(0);
}

##


This program hangs as below:

prakash@bmi-xeon1-01:~/thesis/CS/Samples> ./master1
MASTER : spawning a slave ...
bmi-xeon1-01

Any ideas  why?

Thanks,
Prakash
___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users

--
Edgar Gabriel
Assistant Professor
Parallel Software Technologies Lab  http://pstl.cs.uh.edu
Department of Computer Science  University of Houston
Philip G. Hoffman Hall, Room 524Houston, TX-77204, USA
Tel: +1 (713) 743-3857  Fax: +1 (713) 743-3335
___
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


--
Edgar Gabriel
Assistant Professor
Parallel Software Technologies Lab  http://pstl.cs.uh.edu
Department of Computer Science  University of Houston
Philip G. Hoffman Hall, Room 524Houston, TX-77204, USA
Tel: +1 (713) 743-3857  Fax: +1 (713) 743-3335


[OMPI users] Segmentation fault: intel 10.1.008 compilers w/ openmpi-1.2.4

2007-12-02 Thread de Almeida, Valmor F.

Hello,

After compiling ompi-1.2.4 with the intel compiler suite 10.1.008, I get

->mpicxx --showme
Segmentation fault

->ompi_info
Segmentation fault

The 10.1.008 is the only one I know that officially supports the linux
kernel 2.6 and glibc-2.6 that I have on my system.

config.log file attached.

Any help appreciated.

Thanks,

--
Valmor de Almeida




config.log.bz2
Description: config.log.bz2