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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,88f3c5aa253954a7 X-Google-Attributes: gid103376,public From: gisle@apal.ii.uib.no (Gisle S�lensminde) Subject: Re: Ada parraler programming Date: 2000/05/29 Message-ID: #1/1 X-Deja-AN: 628525926 Content-Transfer-Encoding: 8bit References: <8gro1m$1fv$1@news.onet.pl> Organization: University of Bergen, Norway Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-05-29T00:00:00+00:00 List-Id: In article <8gro1m$1fv$1@news.onet.pl>, Piotr wrote: >Hi! > >In Ada 95 the standard mechanism to program parralel application >is to use partitions. Do you know any other possibilities? > >I heard something about sockets in Ada, do u know any good www >page about it? any others interesting www sites about parallel >programming u could recommend? > >if u could, send me a copy to my mailbox > >thanks a lot for help and sorry for my bad english > There are several ways of doing parallel programming in Ada 95, among these are: - On multiprocessor machines with multithreaded operating systems, a multitasked program will often run on several procesors in parallel. This model can be used on machines like SGI Origin machines, Solaris, Linux, and probably Windows NT. It is typically used for a small number of processors (typically less than 10). The compiler must support native threads on the OS. GNAT supports both models, but the OS threads is default in most cases. - Use of the distributed system annex. This model is probably best suited for workstations in a network. - Use a system like MPI, OpenMP or similar, like you would in programming languages like C. This typically require a binding to a C or Fortran API. There are also several other ways. Some parallel machines use the SIMD model, and in worst case this requere a special programming language. This is not so common any longer. All in all the way of doing parallell programs depends on which kind of computer system you have. -- Gisle S�lensminde ( gisle@ii.uib.no ) ln -s /dev/null ~/.netscape/cookies