Difference between revisions of "OAGear"

From Vlsiwiki
Jump to: navigation, search
m (Installing OAGear)
(Installing OAGear)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
=== Installing OAGear ===
 
=== Installing OAGear ===
  
We have a copy of OAGear in our subversion repository, which you can get with:
+
We have a copy of OAGear in our subversion repository for easy access.
  
 
  > svn co file:///mada/users/vlsi/OAGear
 
  > svn co file:///mada/users/vlsi/OAGear
Line 15: Line 15:
 
  > make check
 
  > make check
  
The make check will most likely fail.  For whatever reason, the libraries aren't created in the Timer/Regression Test.  Ensure that the cbl250 and designs libraries are created in Examples/db, then copy them across to the Timer/RegressionTest directory.  The tests should then succeed.
+
The make check will most likely fail.  For whatever reason, the libraries aren't created in the Timer/Regression Test.  Ensure that the cbl250 and designs libraries are created in Examples/db (or create them using make-db), then copy them across to the Timer/RegressionTest directory.  The tests should then succeed.
  
 
  > cd Examples
 
  > cd Examples
 
  > ./make-db
 
  > ./make-db
  > cp db/cbl250 ../Timer/RegressionTest
+
  > cp -r db/cbl250 ../Timer/RegressionTest
  > cp db/designs ../Timer/RegressionTest
+
  > cp -r db/designs ../Timer/RegressionTest
 
  > cd ..
 
  > cd ..
 
  > make check
 
  > make check

Latest revision as of 20:33, 8 April 2010

Installing OAGear

We have a copy of OAGear in our subversion repository for easy access.

> svn co file:///mada/users/vlsi/OAGear

To configure you'll need to set up a few things, including local bin/ and lib/ folders, and the path to Open Access. OAGear does not compile correctly with g++ 4; specifically, segmentation faults will occur on some function returns when Open Access objects have been placed on the stack. Use g++ 3.4 to get around this. Finally, --enable-all is assumed by the configuration script unless you tell it otherwise, so simply putting --disable-dd will have no effect because it will be renabled by the implicit --enable-all. The best workaround is to --disable-all then --enable-PACKAGE for each package that you want.

> ./configure --prefix=$HOME --with-oa=/mada/software/oa2.2.6/ CXX=g++34 --disable-all --enable-timer --enable-util

The rest of the installation should be straightforward.

> make
> make install
> make check

The make check will most likely fail. For whatever reason, the libraries aren't created in the Timer/Regression Test. Ensure that the cbl250 and designs libraries are created in Examples/db (or create them using make-db), then copy them across to the Timer/RegressionTest directory. The tests should then succeed.

> cd Examples
> ./make-db
> cp -r db/cbl250 ../Timer/RegressionTest
> cp -r db/designs ../Timer/RegressionTest
> cd ..
> make check