[OMPI users] LAMMPS (openMPI)

2010-02-27 Thread Rodolfo Chua
Hi!

Does anyone knows how to compile LAMMPS code with openMPI? Can you please post 
the exact detail of installing
it in ubuntu 9.10 os.

Thanks.
Rodolfo





[OMPI users] openMPI (multiple CPUs)

2010-02-26 Thread Rodolfo Chua
Hi all!

I'm running a code using openMPI in a quad-core cpu. Though it is working, a 
quad-core is still not enough. 
Is there another way, aside from a server, of connecting 2 or 3 CPUs and 
running them on parallel with MPI?

Thanks.
Rodolfo





Re: [OMPI users] MPi Abort verbosity

2010-02-24 Thread Rodolfo Chua
I've successfully installed openMPI on other PC. But when I tried to install it
on  my laptop and typed 'mpicc' , the response was:

The program 'mpicc' can be found in the following packages:
 * lam4-dev
 * libmpich-mpd1.0-dev
 * libmpich-shmem1.0-dev
 * libmpich1.0-dev
 * libopenmpi-dev
 * mpich2
Try: sudo apt-get install 
mpicc: command not found
chao@ubuntu:~$ sudo apt-get install libopenmpi-dev
[sudo] password for chao: 
Reading package lists... Done
Building dependency tree   
Reading state information... Done
E: Couldn't find package liopenmpi-dev

Of course I'm connected to the internet. Please help..





From: Nadia Derbey 
To: Open MPI Users 
Sent: Wed, February 24, 2010 10:44:04 PM
Subject: Re: [OMPI users] MPi Abort verbosity

On Wed, 2010-02-24 at 07:36 -0700, Ralph Castain wrote:
> I'm afraid not. We are working on alternative error response
> mechanisms, but nothing is released at this time.

Don't know if this would work, but why not doing what follows:
1. set a signal handler in your application. This where you would do
your cleanup.
2. call your application with an mpi_abort_delay set to a value > 0 (0
is the default value). This should delay the actual procs abort.
3. During that delay, and after you see the message about process going
to abort, send the signal that should be caught in #1.

But may be I'm wrong, as I told you I've never tested that...

Regards,
Nadia
> 
> On Feb 24, 2010, at 7:17 AM, Gabriele Fatigati wrote:
> 
> > Mm,
> > i'm trying to explain better.
> > 
> > My target is, when a MPI process dead for some reason, after
> > launched MPI_Abort i would like to control this behaviour. Example:
> > 
> > rank 0 died and launc MPI_Abort
> > 
> > i would like to do something before other process died. So i want to
> > control shutdown of my MPI application. Is it possible?
> > 
> > 
> > 
> > 2010/2/24 Ralph Castain 
> > I don't believe the error handler will help suppress the
> > messages you are trying to avoid as they don't originate in
> > the MPI layer. They are actually generated in the RTE layer
> > as mpirun is exiting.
> >
> > You could try adding the --quiet option to your mpirun cmd
> > line. This will help eliminate some (maybe not all) of the
> > verbage.
> >
> >
> >
> > On Feb 24, 2010, at 6:36 AM, Jed Brown wrote:
> >
> > > On Wed, 24 Feb 2010 14:21:02 +0100, Gabriele Fatigati
> >  wrote:
> > >> Yes, of course,
> > >>
> > >> but i would like to know if there is any way to do that
> > with openmpi
> > >
> > > See the error handler docs, e.g. MPI_Comm_set_errhandler.
> > >
> > > Jed
> >
> >
> > > ___
> > > 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
> >
> >
> > 
> > 
> > 
> > -- 
> > Ing. Gabriele Fatigati
> > 
> > Parallel programmer
> > 
> > CINECA Systems & Tecnologies Department
> > 
> > Supercomputing Group
> > 
> > Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy
> > 
> > www.cineca.itTel:   +39 051 6171722
> > 
> > g.fatigati [AT] cineca.it  
> > ___
> > 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
-- 
Nadia Derbey 

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





[OMPI users] (no subject)

2010-02-21 Thread Rodolfo Chua
 Hi!
 I used openMPI compiled with the GNU (gcc) compiler to run GULP code in 
parallel.
 But when I try to input "mpirun -np 2 gulp ", GULP did not run in two
 processors. Can you give me any suggestion on how to compile GULP code exactly 
with openMPI.

 Below is the instruction from GULP code manual.
"If you wish to run the program in parallel using MPI then you will need to 
alter
 the file "getmachine" accordingly. The usual changes would be to add the 
"-DMPI"
 option and in some cases change the compiler name (for example tompif77/mpif90)
 or include the MPI libraries in the link stage."