Re: [OMPI users] how to install openmpi with a specific gcc

2008-09-26 Thread Davi Vercillo C. Garcia (デビッド)
Hi,

> on my system the default gcc is 2.95.3. For openmpi i have installed
> gcc-3.4.6 but i kept the default gcc to stay gcc-2.95.3. Now, how can I
> configure/install openmpi with gcc-3.4.6?what options should i give when
> configuring it so that it doesnt go and pick upt the dafault 2.95.3 ???

Why do you need use this version ? the most part of moderns softwares
recommends the use of gcc version 3 or greater (the best is version
4).

-- 
Davi Vercillo Carneiro Garcia
http://davivercillo.blogspot.com/

Universidade Federal do Rio de Janeiro
Departamento de Ciência da Computação
DCC-IM/UFRJ - http://www.dcc.ufrj.br

Grupo de Usuários GNU/Linux da UFRJ (GUL-UFRJ)
http://www.dcc.ufrj.br/~gul

Linux User: #388711
http://counter.li.org/

"Theory is when you know something, but it doesn't work. Practice is
when something works, but you don't know why.
Programmers combine theory and practice: Nothing works and they don't
know why." - Anon



Re: [OMPI users] Newbie doubt.

2008-09-17 Thread Davi Vercillo C. Garcia (デビッド)
Hi,

> Yuo must close the File using
> MPI_File_close(MPI_File *fh)
> before calling MPI_Finalize.

Newbie question... newbie problem ! UHiauhiauh... Thanks !!!

> By the way i think you shouldn't do
>  strcat(argv[1], ".bz2");
> This would overwrite any following arguments.

I know... I was just trying ! =D

-- 
Davi Vercillo Carneiro Garcia
http://davivercillo.blogspot.com/

Universidade Federal do Rio de Janeiro
Departamento de Ciência da Computação
DCC-IM/UFRJ - http://www.dcc.ufrj.br

Grupo de Usuários GNU/Linux da UFRJ (GUL-UFRJ)
http://www.dcc.ufrj.br/~gul

Linux User: #388711
http://counter.li.org/

"Good things come to those who... wait." - Debian Project

"A computer is like air conditioning: it becomes useless when you open
windows." - Linus Torvalds



[OMPI users] Newbie doubt.

2008-09-17 Thread Davi Vercillo C. Garcia (デビッド)
Hi,

I'm starting to use OpenMPI and I'm having some troubles. I wrote a
simple program that tries to open files using the function
MPI_File_open(). Like below:

#include 
#include 
#include 

#include 

int processoPrincipal(void);
int processosEscravos(void);

int main(int argc, char** argv) {
int meuRank, numeroProcessos;
MPI_File arquivoEntrada, arquivoSaida;

MPI_Init(, );
MPI_Comm_rank(MPI_COMM_WORLD, );
MPI_Comm_size(MPI_COMM_WORLD,);

MPI_File_open(MPI_COMM_WORLD, argv[1], MPI_MODE_RDONLY,
MPI_INFO_NULL, );
strcat(argv[1], ".bz2");
MPI_File_open(MPI_COMM_WORLD, argv[1], MPI_MODE_RDWR |
MPI_MODE_CREATE, MPI_INFO_NULL, );

if (meuRank != 0) {
processoPrincipal();
} else {
processosEscravos();
}

MPI_Finalize();
return 0;
}

But I'm getting a error message like:

*** An error occurred in MPI_Barrier
*** An error occurred in MPI_Barrier
*** after MPI was finalized
*** MPI_ERRORS_ARE_FATAL (goodbye)
*** after MPI was finalized
*** MPI_ERRORS_ARE_FATAL (goodbye)

What is this ?

-- 
Davi Vercillo Carneiro Garcia
http://davivercillo.blogspot.com/

Universidade Federal do Rio de Janeiro
Departamento de Ciência da Computação
DCC-IM/UFRJ - http://www.dcc.ufrj.br

Grupo de Usuários GNU/Linux da UFRJ (GUL-UFRJ)
http://www.dcc.ufrj.br/~gul

Linux User: #388711
http://counter.li.org/

"Good things come to those who... wait." - Debian Project

"A computer is like air conditioning: it becomes useless when you open
windows." - Linus Torvalds



Re: [OMPI users] Warnings in Ubuntu Hardy

2008-09-06 Thread Davi Vercillo C. Garcia (デビッド)
Thanks !

On Sat, Sep 6, 2008 at 10:34 PM, Dirk Eddelbuettel  wrote:
>
> On 6 September 2008 at 22:13, Davi Vercillo C. Garcia () wrote:
> | I'm trying to execute some programs in my notebook (Ubuntu 8.04) using
> | OpenMPI, and I always get a warning message like:
> |
> | libibverbs: Fatal: couldn't read uverbs ABI version.
> | --
> | [0,0,0]: OpenIB on host juliana was unable to find any HCAs.
> | Another transport will be used instead, although this may result in
> | lower performance.
> | --
> |
> | What is this ?!
>
> Uncomment this in /etc/openmpi/openmpi-mca-params.conf:
>
>  # Disable the use of InfiniBand
>  btl = ^openib
>
> which is the default in newer packages.
>
> Dirk
>
> --
> Three out of two people have difficulties with fractions.
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>



-- 
Davi Vercillo Carneiro Garcia
http://davivercillo.blogspot.com/

Universidade Federal do Rio de Janeiro
Departamento de Ciência da Computação
DCC-IM/UFRJ - http://www.dcc.ufrj.br

Grupo de Usuários GNU/Linux da UFRJ (GUL-UFRJ)
http://groups.google.com/group/gul-ufrj

Linux User: #388711
http://counter.li.org/

"Good things come to those who... wait." - Debian Project

"A computer is like air conditioning: it becomes useless when you open
windows." - Linus Torvalds



[OMPI users] Warnings in Ubuntu Hardy

2008-09-06 Thread Davi Vercillo C. Garcia (デビッド)
Hi,

I'm trying to execute some programs in my notebook (Ubuntu 8.04) using
OpenMPI, and I always get a warning message like:

libibverbs: Fatal: couldn't read uverbs ABI version.
--
[0,0,0]: OpenIB on host juliana was unable to find any HCAs.
Another transport will be used instead, although this may result in
lower performance.
--

What is this ?!

-- 
Davi Vercillo Carneiro Garcia
http://davivercillo.blogspot.com/

Universidade Federal do Rio de Janeiro
Departamento de Ciência da Computação
DCC-IM/UFRJ - http://www.dcc.ufrj.br

Grupo de Usuários GNU/Linux da UFRJ (GUL-UFRJ)
http://groups.google.com/group/gul-ufrj

Linux User: #388711
http://counter.li.org/

"Good things come to those who... wait." - Debian Project

"A computer is like air conditioning: it becomes useless when you open
windows." - Linus Torvalds