From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,2825742776461038 X-Google-Thread: 1147fc,2825742776461038 X-Google-Attributes: gid103376,gid1147fc,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!t-online.de!news.task.gda.pl!not-for-mail From: jtg Newsgroups: comp.lang.ada,comp.parallel.mpi Subject: Re: Ada-friendly MPI Date: Fri, 24 Jun 2005 00:14:42 +0200 Organization: CI TASK http://www.task.gda.pl Message-ID: References: NNTP-Posting-Host: pwr74.pwradio.pl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: korweta.task.gda.pl 1119564679 24865 153.19.176.74 (23 Jun 2005 22:11:19 GMT) X-Complaints-To: abuse@news.task.gda.pl NNTP-Posting-Date: Thu, 23 Jun 2005 22:11:19 +0000 (UTC) X-Original-Organization: CI TASK http://www.task.gda.pl In-Reply-To: X-Accept-Language: pl, en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050414 X-Organization-Notice: Organization line has been filtered Xref: g2news1.google.com comp.lang.ada:11606 comp.parallel.mpi:992 Date: 2005-06-24T00:14:42+02:00 List-Id: Pascal Obry wrote: > jtg 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. > No perfofmance testing. I had even no idea how to run it. > > > What do you call a parallel task ? A process a thread ? Errr... I should have said: job. > Are you talking about > an executable (process) and using some batch langauge LSF/PBM ? If so I don't > see the difference with Ada. LSF/PBM > > >>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. OK... If you write your program for MPI, you must run it with "mpirun" command in mpi-enabled environment. If you write your program for PVM, you must run it with "pvmrun" command in pvm-enabled environment. If you use Ada Distributed Annex, there must be a command that dispatches tasks and establishes communication between them, and the environment itself must be configured for Ada Distribution Annex. On 15-processor cluster I could pass a parameter, either MPI or PVM. Funny thing: PVM was available but not properly configured so you had to use MPI. On 128-processor cluster all jobs were by default MPI tasks and I could not find a way to change it. But even if I did, I'm pretty sure the system was not configured for 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. That's automatic only if you run it in the proper way and the environment is configured. For instance if you run MPI task with "pvmrun" or vice versa nothing will be done automatic. How do you run Ada distributed programs? How are they dispatched to other nodes (processors/computers)? Is there a command like "adarun" (analogous to mpirun and pvmrun)? > Then use the same simple binding for Ada. If the binding is simple you should > be able to create the Ada counterpart without problem. I'm afraid I don't understand this. > > You did not answer my question, which OS are you using ? Now I use Windows/Debian on my personal computer, both with Ada installed. Previously: 15-node cluster - AIX 128-node cluster - AFAIR TurboLinux (no Ada installed, I had to install gnat in my home directory) Now they have Debian on it.