BuildSystem question

S V N Vishwanathan vishy at mail.rsise.anu.edu.au
Mon Sep 26 18:10:44 CDT 2005


Hi!

>> Ideally, I would like to use your BuildSystem to hack up a quick build
>> for Numerix. Then as we add and integrate more tools in, I would work on
>> making it fancier. 

Matt>   Cool, we can do that.


Step one in that direction would be for me to adapt make.py in
$PETSC_DIR to build our shared libraries. I have made some effort in
this direction (see attachment). But when I run it I get the following
error: 

[dhcp-215-103]:~/Repositories/numerix % export PYTHONPATH=~/Repositories/numerix/externalpackages/petsc/python/BuildSystem:~/Repositories/numerix/externalpackages/petsc/python/PETSc:$PYTHONPATH
[dhcp-215-103]:~/Repositories/numerix % python make.py                Tue 09:09
Traceback (most recent call last):
  File "make.py", line 82, in ?
    Make().run()
  File "/Users/vishy/Repositories/numerix/externalpackages/petsc/python/BuildSystem/maker.py", line 213, in run
    self.executeSection(self.configure, self.builder)
  File "/Users/vishy/Repositories/numerix/externalpackages/petsc/python/BuildSystem/maker.py", line 207, in executeSection
    return section(*args)
  File "make.py", line 46, in configure
    framework = maker.BasicMake.configure(self, builder)
  File "/Users/vishy/Repositories/numerix/externalpackages/petsc/python/BuildSystem/maker.py", line 291, in configure
    framework = Make.configure(self, builder)
  File "/Users/vishy/Repositories/numerix/externalpackages/petsc/python/BuildSystem/maker.py", line 149, in configure
    if not self.setupConfigure(self.framework):
  File "make.py", line 36, in setupConfigure
    maker.BasicMake.setupConfigure(self, framework)
  File "/Users/vishy/Repositories/numerix/externalpackages/petsc/python/BuildSystem/maker.py", line 283, in setupConfigure
    Make.setupConfigure(self, framework)
  File "/Users/vishy/Repositories/numerix/externalpackages/petsc/python/BuildSystem/maker.py", line 136, in setupConfigure
    self.configureObj.setupPackageDependencies(framework)
  File "/Users/vishy/Repositories/numerix/externalpackages/petsc/python/PETSc/petsc.py", line 88, in setupPackageDependencies
    framework.addPackageDependency(petscConf, confPath)
  File "/Users/vishy/Repositories/numerix/externalpackages/petsc/python/BuildSystem/config/framework.py", line 297, in addPackageDependency
    self.childGraph.replaceVertex(self.require(child.__module__, None), child)
  File "/Users/vishy/Repositories/numerix/externalpackages/petsc/python/BuildSystem/config/framework.py", line 255, in require
    config = self.getChild(moduleName, keywordArgs)
  File "/Users/vishy/Repositories/numerix/externalpackages/petsc/python/BuildSystem/config/framework.py", line 235, in getChild
    config.setupDependencies(self)
  File "/Users/vishy/Repositories/numerix/externalpackages/petsc/python/PETSc/Configure.py", line 40, in setupDependencies
    for utility in os.listdir(os.path.join('python', 'PETSc', d)):
OSError: [Errno 2] No such file or directory: 'python/PETSc/utilities'


You can also find the latest version checked into SVN. 

vishy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.py
Type: application/octet-stream
Size: 2413 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20050927/330d173f/attachment.obj>
-------------- next part --------------
 
----- 
  Parting is such sweet sorrow. -William Shakespeare


More information about the petsc-dev mailing list