From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,b47978a95f4d588c X-Google-Attributes: gidf7344,public X-Google-Thread: 10f8a1,b47978a95f4d588c X-Google-Attributes: gid10f8a1,public X-Google-Thread: 1164f8,b47978a95f4d588c X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,b47978a95f4d588c X-Google-Attributes: gid102b75,public X-Google-ArrivalTime: 1993-02-26 22:29:52 PST Xref: sparky comp.arch:13102 comp.sys.dec:7632 comp.os.vms:23986 vmsnet.alpha:283 Newsgroups: comp.arch,comp.sys.dec,comp.os.vms,vmsnet.alpha Path: sparky!uunet!ukma!gatech!willis1.cis.uab.edu!hyatt From: hyatt@cis.uab.edu (Robert Hyatt) Subject: Re: The KAP pre-processor (from Kuck and Associates) Message-ID: <1993Feb24.233041.1966@cis.uab.edu> Organization: University of Alabama at Birmingham References: <2B8508C8.18186@news.service.uci.edu> Date: Wed, 24 Feb 1993 23:30:41 GMT In article warren@atmos.washington.edu (David Warren) writes: >Having tried the KAP preprocessors, I'm not convinced that I'll use >them. They take a very long time to run and seem to die on some very >legitimate fortran and c code. They also do not seem to make much of a >difference for most of the code I've run through them. Also as the >documentation points out they decrease the number of significant >digits that you can have. >-- My experience is similar. It is quite good at finding loops and so forth to parallelize automagically. However, the codes I tried needed to have the loops *created* first, then parallelized. This is the big problem. For fun and games, I dropped my original, pure fortran, chess program (Cray Blitz) into KAP on a 8 processor YMP and it ran 1.01 times faster. KAP found lots of loops in the *move input* routine to parallelize, but could do *nothing* with the basic search as there were no loops that were parallelizable. I spent years re-doing the search to create parallel processing potential and didn't really expect KAP to do much. It did churn for a very long time on the code (>20,000 lines of fortran). Now, if it only knew how to re-write the code first, then do the dependency graph analysis, it might make some headway..... Note: this is *not* a flame for KAP or Ken and group, just an opinion that the problem is very much harder for lots of codes than one might think. Bob Hyatt -- !Robert Hyatt Computer and Information Sciences ! !hyatt@cis.uab.edu University of Alabama at Birmingham !