[MAINIMAGE]
 
  Welcome
  Community
  Documentation
  Download
  Machines
 
Projects 
For Developers 
Dev Plans 
Bug Tracking 
Feature Requests 
Mailing Lists 
Viz Tools 
  Showcase
  Links
 



Quick Subscription:
News Mailing List


more Mailing Lists
  Search CactusCode:


Sun

Current Status

A recent fix to the Solaris known architectures files means that Sun users should either work with Beta 13, or update lib/make/known-architectures to Beta 13.

FAQ

  1. Pre-processor

    Building PUGHReduce under Solaris 2.8 gives several errors such as:

    Checking status of libPUGHReduce.a
     "/home/CCTK/Cactus_beta13/Cactus/arrangements/CactusPUGH/PUGHReduce/src
      line 323: CCTK_Cmplx_: macro recursion

    This problem occurs only in the dependency generation part of the Cactus build. The Sun's /lib/cpp preprocessor cannot handle macro recursion levels of more than 3. Since we are loath to rewrite our macros just for Solaris, we would rather wait for a better system preprocessor, or for a fuller version of the Cactus cpp sometime in the future.

    As a solution, you could try using the Cactus preprocessor:

    make -config CPP='$${PERL} $${CCTK_HOME}/lib/sbin/cpp.pl'

    which has the advantage that it doesn't stop for errors but prints a warning message. Be wary though, it isn't perfect yet and may fail for some thorns.

    Otherwise, you can keep rerunning your make command to skip past the problem files (since only the dependency generation is failing). Of course, dependencies (for just these files), will then not work.

      

Cactus Webmaster Last Modified: Wednesday, 14-Aug-2002 03:13:04 CDT