[Prev][Next][Index]

No Subject





  Hi,

   I'm having trouble getting the data-dependency demos to work.

   I downloaded the sage++-1.7.tar.gz file, ran the 'configure' program, and 
   the 'make install' program (as stated in the INSTALL file) and they all 
   seemed to run correctly. (I'm using a SUN4 workstation with Solaris 2.4 and
   plenty of disk-space, gcc version 2.6.3). 

   The Fortran code restructuring demo (/sage++-1.7/Sage++/demos/restructure/main.C) works
   fine (using the Makefile in that directory) as does the Loop Fusion demo (/sage++-1.7/
   Sage++/extentions/DemoStatements). 

   I now also need to compute dependecy info for Fortran programs - so I cd to the directory
   (/sage++-1.7/Sage++/extentions/DemoDataDep/DEMOFILE1) and type 'make' and get this ;

> [404]hamlet:> pwd
>   /home/ssrkwill2/sage++-1.7/Sage++/extentions/DemoDataDep/DEMOFILE1
> [405]hamlet:> make
> f2dep test.f
> |...............................................|
>       Sage/Indiana F2DEP version 1.7
> |...............................................|
> ../analyze -i test.proj -o paratest.f -depgraph
> sh: ../analyze: not found
> *** Error code 1
> make: Fatal error: Command failed for target `compile'
 
  So I 'cd ..' to try to make the 'analyze' program and get this;

> [413]hamlet:> make
> ld: fatal: symbol `TRACEANN' is multiply defined:
>         (file ../SageAnalysisTool/libDep.a(annotationDriver.o) and file
> ../../../lib/solaris2/libann.a(toolsann.o));
> ld: fatal: File processing errors.  No output written to analyze
> *** Error code 1
> make: Fatal error: Command failed for target `analyze'

  The file 'libann.a' was made ok during the initial 'make' when I installed Sage,
  but when I try to 'make' libDep.a this happens;

> [434]hamlet:> pwd  
>   /home/ssrkwill2/sage++-1.7/Sage++/extentions/SageAnalysisTool
> [435]hamlet:> make 
> g++ -I../../../lib/include -I../../../h -I./OmegaForSage/include -g -c set.C
> g++ -I../../../lib/include -I../../../h -I./OmegaForSage/include -g -c controlFlow.C
> g++ -I../../../lib/include -I../../../h -I./OmegaForSage/include -g -c flowAnalysis.C
> g++ -I../../../lib/include -I../../../h -I./OmegaForSage/include -g -c defUse.C
> g++ -I../../../lib/include -I../../../h -I./OmegaForSage/include -g -c constanteProp.C
> g++ -I../../../lib/include -I../../../h -I./OmegaForSage/include -g -c computeInducVar.C
> g++ -I../../../lib/include -I../../../h -I./OmegaForSage/include -g -c arrayRef.C
> g++ -I../../../lib/include -I../../../h -I./OmegaForSage/include -g -c dependence.C
> dependence.C: In function `int fillOmegaAccess(struct arrayAccess *, void *, class Set *, void **, void *, char
*, int)':
> dependence.C:114: request for member `next' in `*itern', which is of non-aggregate type `void'
> dependence.C:114: invalid use of undefined type `struct omegaIterator'
> dependence.C:114: invalid use of undefined type `struct omegaIterator'
> dependence.C:115: request for member `next' in `*itern', which is of non-aggregate type `void'
> dependence.C:116: request for member `next' in `*itern', which is of non-aggregate type `void'
> dependence.C:117: request for member `next' in `*itern', which is of non-aggregate type `void'
> dependence.C:120: invalid use of undefined type `struct omegaIterator'
> dependence.C:120: invalid use of undefined type `struct omegaIterator'

  [ and so on ...]
 
> dependence.C:559: request for member `lexord' in `*access1', which is of non-aggregate type `void'
> dependence.C:560: request for member `lexord' in `*access2', which is of non-aggregate type `void'
> dependence.C:563: request for member `lexord' in `*access1', which is of non-aggregate type `void'
> dependence.C:564: request for member `lexord' in `*access2', which is of non-aggregate type `void'
> dependence.C:577: request for member `shareddepth' in `*access1', which is of non-aggregate type `void'
> dependence.C:578: request for member `shareddepth' in `*access2', which is of non-aggregate type `void'
> *** Error code 1
> make: Fatal error: Command failed for target `dependence.o'
> [436]hamlet:>
>  
   
  I'm sorry if all this appears a bit long-winded but I'm basically not sure what to do next. Any help
  you can give me would be greatly appreciated,

  Thanks

     Ken

=========================================================================
Ken Williams,                        Email: K.P.Williams@reading.ac.uk
University of Reading,               Tel: +44 1734 875123  Ext. 7626
Department of Computer Science,      Fax: +44 1734 751994
Parallel, Emergent and Distributed
Architectures Laboratory (PEDAL),
PO Box 225, Whiteknights, Reading,
Berkshire, England    RG6 6AY
=========================================================================