comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <pascal@obry.net>
Subject: Re: Ada-friendly MPI
Date: 23 Jun 2005 22:59:15 +0200
Date: 2005-06-23T22:59:21+02:00	[thread overview]
Message-ID: <upsucssbg.fsf@obry.net> (raw)
In-Reply-To: d9f5mv$6io$1@korweta.task.gda.pl


jtg <jtg77@poczta.onet.pl> writes:

> In supercomputer environment many problems arise when you want to use Ada.
> There are very fast communication links between processors and MPI libraries
> are especially optimized for hardware. You should have Ada libraries for
> the hardware and I haven't seen any such library even mentioned.

Have you done some testing ? I know some people using the Ada distributed
annex on some embedded platform with something like hundred of nodes for HPC
(neutronics) without problem.

> Another problem is infrastructure. You need libraries, you need running host
> processes at every node (for starting your subtasks), you need task spooling
> system etc. You need proper configuration. But everything is suited for MPI.
> For example: When you put your parallel task on queue, the spooler
> automatically

What do you call a parallel task ? A process a thread ? Are you talking about
an executable (process) and using some batch langauge LSF/PBM ? If so I don't
see the difference with Ada.

> starts subtasks on some nodes as they become available,
> establishes MPI communication between them and assigns MPI number to every
> subtask. Now, how to begin computations using Ada built-in parallelism?

I'm not talking about parallelism with is more like OpenMP (shared memory)
than MPI (distributed memory). I'm talking about Ada distributed annex.

> I don't even know how to establish Ada-style communication between them.

That's automatic. A program is a set of partition (executable), each partition
will communicate with others using the Ada built-in Partition Communication
Subsystem.

> And all the problems vanish when you use simple C binding for MPI library...

Then use the same simple binding for Ada. If the binding is simple you should
be able to create the Ada counterpart without problem.

You did not answer my question, which OS are you using ?

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



  reply	other threads:[~2005-06-23 20:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-22  4:48 Ada-friendly MPI *-> That Guy Downstairs <-*
2005-06-22  8:28 ` Pascal Obry
2005-06-23 13:08   ` jtg
2005-06-23 16:37     ` Pascal Obry
2005-06-23 20:26       ` jtg
2005-06-23 20:59         ` Pascal Obry [this message]
2005-06-23 22:14           ` jtg
2005-06-24  6:39             ` Pascal Obry
2005-06-24 10:31               ` Ludovic Brenta
2005-06-25  6:33               ` jtg
2005-06-23  8:03 ` jtg
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox