* Re: multiprocessing with gnat [not found] <5fgri0$c35@java.cs.Uni-Magdeburg.DE> @ 1997-03-15 0:00 ` Robert Dewar 1997-03-17 0:00 ` Peter Hermann 1 sibling, 0 replies; 3+ messages in thread From: Robert Dewar @ 1997-03-15 0:00 UTC (permalink / raw) Gerald asks <<How can I build a program that uses multiple processors ? If I compile with gnatmake -O3 xxx only one is used. I'm using gnat3.07 on sgi powerchallenge with 8 proc.>> Check the documentation that comes with the SGI product, it has full details on how to do multi-processing using the SGI Ada product. If you are not an SGI customer, talk to SGI, they have a special university deal to get this and other software with inexpensive site licenses, and since you have serious hardware, this makes good sense. The SGI Ada product comes with a lot of extra goodies, like bindings to all their graphics libraries, so it is well worth obtaining it. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: multiprocessing with gnat [not found] <5fgri0$c35@java.cs.Uni-Magdeburg.DE> 1997-03-15 0:00 ` multiprocessing with gnat Robert Dewar @ 1997-03-17 0:00 ` Peter Hermann 1997-03-20 0:00 ` Tom Quiggle 1 sibling, 1 reply; 3+ messages in thread From: Peter Hermann @ 1997-03-17 0:00 UTC (permalink / raw) Gerald.Kasner@Physik.Uni-Magdeburg.de wrote: : How can I build a program that uses multiple processors ? : If I compile with gnatmake -O3 xxx only one is used. : I'm using gnat3.07 on sgi powerchallenge with 8 proc. : - Thanks Gerald setenv PTHREAD_SPROC_COUNT "AUTO" ;-) -- Peter Hermann Tel:+49-711-685-3611 Fax:3758 ph@csv.ica.uni-stuttgart.de Pfaffenwaldring 27, 70569 Stuttgart Uni Computeranwendungen Team Ada: "C'mon people let the world begin" (Paul McCartney) ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: multiprocessing with gnat 1997-03-17 0:00 ` Peter Hermann @ 1997-03-20 0:00 ` Tom Quiggle 0 siblings, 0 replies; 3+ messages in thread From: Tom Quiggle @ 1997-03-20 0:00 UTC (permalink / raw) In article <5git7c$29ji@info4.rus.uni-stuttgart.de>, ica2ph@alpha1.csv.ica.uni-stuttgart.de writes: > Gerald.Kasner@Physik.Uni-Magdeburg.de wrote: > : How can I build a program that uses multiple processors ? > : If I compile with gnatmake -O3 xxx only one is used. > : I'm using gnat3.07 on sgi powerchallenge with 8 proc. > : - Thanks Gerald Are you trying to parallize the build, or the execution of the resulting executable? If you want to parallelize the build, use "gnatmake -jnnn" where nnn is the number of concurrent compiles you desire (hint, try 8 on your system). Assuming you are using the SGI Ada95 product and not the free FTP distribution, "man gnatmake" will give you all the info you need. > setenv PTHREAD_SPROC_COUNT "AUTO" > > ;-) If you want to parallelize the executable, the SGI implementation will distribute Ada tasks across multiple processors via the above mechanism. Tom Quiggle -- -- True story: Thinking I had some hideous illness like mono that was -- draining the energy out of me, I once called in sick to my day job. It -- turned out that I had inadvertently purchased decaf coffee and the only -- thing wrong with me was that I hadn't gotten my daily caffeine jolt by -- 7 AM. -- -- -- Scott Adams, creater of Dilbert -- -- Tom Quiggle quiggle@sgi.com Voice: (415) 933-2884 -- Silicon Graphics Fax: (415) 932-2884 -- http://reality.sgi.com/quiggle ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-03-20 0:00 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <5fgri0$c35@java.cs.Uni-Magdeburg.DE> 1997-03-15 0:00 ` multiprocessing with gnat Robert Dewar 1997-03-17 0:00 ` Peter Hermann 1997-03-20 0:00 ` Tom Quiggle
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox