Created
October 30, 2012 17:27
-
-
Save aterrel/3981698 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [10-30 13:26] aterrel@172-30-28-152:~/scratch (13.996 Mb) | |
$ hg clone http://petsc.cs.iit.edu/petsc/BuildSystem | |
destination directory: BuildSystem | |
requesting all changes | |
adding changesets | |
adding manifests | |
adding file changes | |
added 2876 changesets with 4053 changes to 208 files | |
updating to branch default | |
119 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
________________________________________________________________________________ | |
| [10-30 13:26] aterrel@172-30-28-152:~/scratch (13.996 Mb) | |
$ cd BuildSystem/ | |
________________________________________________________________________________ | |
| [10-30 13:26] aterrel@172-30-28-152:~/scratch/BuildSystem (.232 Mb) | |
$ ls | |
RDict.py getsplicers.py regression | |
__init__.py graph.py retrieval.py | |
args.py help.py script.py | |
build install.old setsplicers.py | |
builder.py.old logger.py sidldllpath.py | |
checkdlllibs.py make.py sourceControl.py | |
client-python maker.py sourceDatabase.py | |
config nargs.py urlMappingInstalled.py | |
configure.py patch.py urlMappingLocal.py | |
docs project.py | |
emacsclient.py pythonpath.py | |
________________________________________________________________________________ | |
| [10-30 13:26] aterrel@172-30-28-152:~/scratch/BuildSystem (.232 Mb) | |
$ grep -ir petsc | |
grep: warning: recursive search of stdin | |
^C | |
________________________________________________________________________________ | |
| [10-30 13:26] aterrel@172-30-28-152:~/scratch/BuildSystem (.232 Mb) | |
$ grep -ir petsc . | |
Binary file ./.hg/dirstate matches | |
./.hg/hgrc:default = http://petsc.cs.iit.edu/petsc/BuildSystem | |
Binary file ./.hg/store/00manifest.d matches | |
Binary file ./.hg/store/data/config/packages/_m_p_i.py.i matches | |
Binary file ./.hg/store/data/config/packages/_u_m_f_p_a_c_k.py.i matches | |
Binary file ./.hg/store/data/make.py.i matches | |
Binary file ./.hg/store/data/project.py.i matches | |
./.hg/store/fncache:data/config/packages/PETSc.py.i | |
Binary file ./.hg/store/undo matches | |
./.hg/undo.desc:http://petsc.cs.iit.edu/petsc/BuildSystem | |
./build/framework.py: maker = self.getMakeModule(proj.getRoot()).PetscMake(None, self.argDB) | |
./build/framework.py: maker = self.getMakeModule(p.getRoot()).PetscMake(None, self.argDB) | |
./build/framework.py: maker = self.getMakeModule(v.getRoot()).PetscMake(None, self.argDB) | |
./build/framework.py: maker = self.getMakeModule(l.getRoot()).PetscMake(None, self.argDB) | |
./build/framework.py: #self.executeShellCommand('scp '+tarball+' petsc@terra.mcs.anl.gov://mcs/ftp/pub/petsc/sidl/'+tarball) | |
./config/atomics.py: self.headerPrefix = 'PETSC' | |
./config/base.py: err += '\nPETSc Error: No output file produced' | |
./config/compilers.py: '''Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does''' | |
./config/compilers.py: if self.checkCompile('namespace petsc {int dummy;}'): | |
./config/compilers.py: mess = ' See http://www.mcs.anl.gov/petsc/documentation/faq.html#gfortran' | |
./config/compilers.py: # Flag not used by PETSc - do do not flag a runtime error | |
./config/framework.py:module requires another, it merely executes a require(). For instance, the PETSc | |
./config/framework.py: self._tmpDir = tempfile.mkdtemp(prefix = 'petsc-') | |
./config/framework.py: if (itm != '--configModules=PETSc.Configure') and (itm != '--optionsModule=PETSc.compilerOptions'): | |
./config/framework.py: ' configure.petsc_configure(configure_options)\\n");'] | |
./config/package.py: self.headerPrefix = 'PETSC' | |
./config/package.py: self.substPrefix = 'PETSC' | |
./config/package.py: self.useddirectly = 1 # 1 indicates used by PETSc directly, 0 indicates used by a package used by PETSc | |
./config/package.py: raise RuntimeError('Package '+package.PACKAGE+' needed by '+self.name+' failed to configure.\nMail configure.log to petsc-maint@mcs.anl.gov.') | |
./config/package.py: '''Find an installation and check if it can work with PETSc''' | |
./config/package.py: or all of its methods (see config/PETSc/packages/hdf5.py, for example). | |
./config/package.py: raise RuntimeError('Package '+package.PACKAGE+' needed by '+self.name+' failed to configure.\nMail configure.log to petsc-maint@mcs.anl.gov.') | |
./config/package.py: '''Find an installation and check if it can work with PETSc''' | |
./config/packages/__init__.py:all = ['f2cblaslapack','BlasLapack', 'CHOLMOD', 'exodusii', 'scientificpython', 'fiat', 'MOAB', 'MPI', 'netcdf', 'PETSc', 'UMFPACK', 'boost', 'cusp', 'thrust', 'hdf5'] | |
./config/packages/BlasLapack.py: self.download= ['http://ftp.mcs.anl.gov/pub/petsc/externalpackages/fblaslapack-3.1.1.tar.gz'] | |
./config/packages/boost.py: self.download = ['http://ftp.mcs.anl.gov/pub/petsc/externalpackages/boost_minimal_1_42_0.tar.gz'] | |
./config/packages/CHOLMOD.py: if self.checkCompile('#ifdef PETSC_HAVE_LIMITS_H\n #include <limits.h>\n#endif\n', 'long long i=ULONG_MAX;\n\nif (i);\n'): | |
./config/packages/exodusii.py: self.download = ['http://ftp.mcs.anl.gov/pub/petsc/externalpackages/exodusii-5.14-petsc.tgz'] | |
./config/packages/exodusii.py: output,err,ret = config.base.Configure.executeShellCommand('cd '+self.packageDir+' && make -f Makefile.petsc clean && make -f Makefile.petsc && make -f Makefile.petsc install', timeout=2500, log = self.framework.log) | |
./config/packages/f2cblaslapack.py: self.download = ['http://ftp.mcs.anl.gov/pub/petsc/externalpackages/f2cblaslapack-3.4.1.q.tar.gz'] | |
./config/packages/fiat.py: self.download = ['http://launchpad.net/fiat/0.x/0.9.9/+download/fiat-0.9.9.tar.gz'] # 'http://ftp.mcs.anl.gov/pub/petsc/externalpackages/fiat-dev.tar.gz' | |
./config/packages/fiat.py: # Copy FIAT into $PETSC_ARCH/lib/python/site-packages | |
./config/packages/fiat.py: '''Find an installation ando check if it can work with PETSc''' | |
./config/packages/hdf5.py: self.download = ['http://ftp.mcs.anl.gov/pub/petsc/externalpackages/hdf5-1.8.8-p1.tar.gz'] | |
./config/packages/MOAB.py: self.downloadpath = 'http://ftp.mcs.anl.gov/pub/petsc/externalpackages/' | |
./config/packages/MPI.py: includes = '#ifdef PETSC_HAVE_STDLIB_H\n #include <stdlib.h>\n#endif\n#include <mpi.h>\n' | |
./config/packages/MPI.py: # Even though MPI-Uni is not an external package (it is in PETSc source) we need to stick the | |
./config/packages/MPI.py: # include path for its mpi.h and mpif.h so that external packages that are built with PETSc to | |
./config/packages/MPI.py: self.mpiexec = '${PETSC_DIR}/bin/mpiexec.uni' | |
./config/packages/MPI.py: self.addMakeMacro('MPIEXEC','${PETSC_DIR}/bin/mpiexec.uni') | |
./config/packages/MPI.py: self.version = 'PETSc MPIUNI uniprocessor MPI replacement' | |
./config/packages/MPI.py: '''Checks for missing prototypes, which it adds to petscfix.h''' | |
./config/packages/MPI.py: raise RuntimeError('Cannot install more than one of OpenMPI or MPICH-2 for a single configuration. \nUse different PETSC_ARCH if you want to be able to switch between two') | |
./config/packages/MPI.py: raise RuntimeError('Currently --download-openmpi option does not work with --prefix install.\nSuggest installing OpenMPI separately, and then configuring PETSc with --with-mpi-dir option.') | |
./config/packages/MPI.py: f = file(os.path.join(self.packageDir, 'args.petsc'), 'w') | |
./config/packages/MPI.py: if self.installNeeded('args.petsc'): | |
./config/packages/MPI.py: if os.path.isfile(os.path.join(self.packageDir, 'args.petsc')): | |
./config/packages/MPI.py: os.rename(os.path.join(self.packageDir, 'args.petsc'), os.path.join(self.packageDir, 'args.petsc.bkp')) | |
./config/packages/MPI.py: f = file(os.path.join(self.packageDir, 'args.petsc'), 'w') | |
./config/packages/MPI.py: if self.installNeeded('args.petsc'): | |
./config/packages/PETSc.py: There is a wierd role reversal that can happen. If we look for PETSc, but | |
./config/packages/PETSc.py:PETSc, we contribute objects to the PETSc which will be built. | |
./config/packages/PETSc.py:class InvalidPETScError(RuntimeError): | |
./config/packages/PETSc.py: desc = ['PETSc:'] | |
./config/packages/PETSc.py: help.addArgument('PETSc', '-with-petsc=<bool>', nargs.ArgBool(None, 1, 'Activate PETSc')) | |
./config/packages/PETSc.py: help.addArgument('PETSc', '-with-petsc-dir=<root dir>', nargs.ArgDir(None, None, 'Specify the root directory of the PETSc installation')) | |
./config/packages/PETSc.py: help.addArgument('PETSc', '-with-petsc-arch=<arch>', nargs.Arg(None, None, 'Specify PETSC_ARCH')) | |
./config/packages/PETSc.py: help.addArgument('PETSc', '-download-petsc=<bool>', nargs.ArgBool(None, 0, 'Install PETSc')) | |
./config/packages/PETSc.py: help.addArgument('PETSc', '-with-petsc-shared=<bool>', nargs.ArgBool(None, 1, 'Require that the PETSc library be shared')) | |
./config/packages/PETSc.py: petscConf = None | |
./config/packages/PETSc.py: for (name, (petscDir, petscArch)) in self.getLocations(): | |
./config/packages/PETSc.py: petscPythonDir = os.path.join(petscDir, 'python') | |
./config/packages/PETSc.py: sys.path.append(petscPythonDir) | |
./config/packages/PETSc.py: confPath = os.path.join(petscDir, petscArch,'conf') | |
./config/packages/PETSc.py: petscConf = framework.loadFramework(confPath) | |
./config/packages/PETSc.py: if petscConf: | |
./config/packages/PETSc.py: self.logPrint('Loaded PETSc-AS configuration ('+name+') from '+confPath) | |
./config/packages/PETSc.py: self.location = (petscDir, petscArch) | |
./config/packages/PETSc.py: self.logPrint('PETSc-AS has no cached configuration in '+confPath) | |
./config/packages/PETSc.py: sys.path.remove(petscPythonDir) | |
./config/packages/PETSc.py: if not petscConf: | |
./config/packages/PETSc.py: self.downloadPETSc() | |
./config/packages/PETSc.py: framework.addPackageDependency(petscConf, confPath) | |
./config/packages/PETSc.py: self.languages = framework.require('PETSc.utilities.languages', self) | |
./config/packages/PETSc.py: def getPETScArch(self, petscDir): | |
./config/packages/PETSc.py: '''Return the allowable PETSc architectures for a given root''' | |
./config/packages/PETSc.py: if 'with-petsc-arch' in self.framework.argDB: | |
./config/packages/PETSc.py: yield self.framework.argDB['with-petsc-arch'] | |
./config/packages/PETSc.py: elif 'PETSC_ARCH' in os.environ: | |
./config/packages/PETSc.py: yield os.environ['PETSC_ARCH'] | |
./config/packages/PETSc.py: raise InvalidPETScError('Must use setenv PETSC_ARCH or --with-petsc-arch') | |
./config/packages/PETSc.py: '''Return all allowable locations for PETSc''' | |
./config/packages/PETSc.py: raise InvalidPETScError('Configured PETSc is not usable') | |
./config/packages/PETSc.py: if self.framework.argDB['download-petsc'] == 1: | |
./config/packages/PETSc.py: yield self.downloadPETSc() | |
./config/packages/PETSc.py: raise InvalidPETScError('Downloaded PETSc is not usable') | |
./config/packages/PETSc.py: if 'with-petsc-dir' in self.framework.argDB: | |
./config/packages/PETSc.py: petscDir = self.framework.argDB['with-petsc-dir'] | |
./config/packages/PETSc.py: for petscArch in self.getPETScArch(petscDir): | |
./config/packages/PETSc.py: yield ('User specified installation root', (petscDir, petscArch)) | |
./config/packages/PETSc.py: raise InvalidPETScError('No working architecitures in '+str(petscDir)) | |
./config/packages/PETSc.py: elif 'PETSC_DIR' in os.environ: | |
./config/packages/PETSc.py: petscDir = os.environ['PETSC_DIR'] | |
./config/packages/PETSc.py: for petscArch in self.getPETScArch(petscDir): | |
./config/packages/PETSc.py: yield ('User specified installation root', (petscDir, petscArch)) | |
./config/packages/PETSc.py: raise InvalidPETScError('No working architecitures in '+str(petscDir)) | |
./config/packages/PETSc.py: for petscArch in self.getPETScArch(petscDir): | |
./config/packages/PETSc.py: yield ('Default compiler locations', ('', petscArch)) | |
./config/packages/PETSc.py: petscDirRE = re.compile(r'(PETSC|pets)c(-.*)?') | |
./config/packages/PETSc.py: if petscDirRE.match(d): | |
./config/packages/PETSc.py: if petscDirRE.match(d): | |
./config/packages/PETSc.py: if petscDirRE.match(d): | |
./config/packages/PETSc.py: def downloadPETSc(self): | |
./config/packages/PETSc.py: if self.framework.argDB['download-petsc'] == 0: | |
./config/packages/PETSc.py: raise RuntimeError('No functioning PETSc located') | |
./config/packages/PETSc.py: # Download and build PETSc | |
./config/packages/PETSc.py: dir = property(getDir, doc = 'The PETSc root directory') | |
./config/packages/PETSc.py: arch = property(getArch, doc = 'The PETSc architecture') | |
./config/packages/PETSc.py: found = property(getFound, doc = 'Did we find a valid PETSc installation') | |
./config/packages/PETSc.py: name = property(getName, doc = 'The PETSc installation type') | |
./config/packages/PETSc.py: include = property(getInclude, doc = 'The PETSc include directories') | |
./config/packages/PETSc.py: lib = property(getLib, doc = 'The PETSc libraries') | |
./config/packages/PETSc.py: version = property(getVersion, doc = 'The PETSc version') | |
./config/packages/PETSc.py: otherIncludes = property(getOtherIncludes, setOtherIncludes, doc = 'Includes needed to compile PETSc') | |
./config/packages/PETSc.py: otherLibs = property(getOtherLibs, setOtherLibs, doc = 'Libraries needed to link PETSc') | |
./config/packages/PETSc.py: '''Check for PETSc creation functions in libraries, which can be a list of libraries or a single library | |
./config/packages/PETSc.py: - PetscInitialize from libpetsc | |
./config/packages/PETSc.py: - VecCreate from libpetscvec | |
./config/packages/PETSc.py: - MatCreate from libpetscmat | |
./config/packages/PETSc.py: - DMDestroy from libpetscdm | |
./config/packages/PETSc.py: - KSPCreate from libpetscksp | |
./config/packages/PETSc.py: - SNESCreate from libpetscsnes | |
./config/packages/PETSc.py: - TSCreate from libpetscts | |
./config/packages/PETSc.py: found = (self.libraries.check(libraries, 'PetscInitializeNoArguments', otherLibs = self.otherLibs, prototype = 'int PetscInitializeNoArguments(void);', cxxMangle = not self.languages.cSupport) and | |
./config/packages/PETSc.py: self.libraries.check(libraries, 'KSPDestroy', otherLibs = self.otherLibs, prototype = 'typedef struct _p_KSP *KSP;int KSPDestroy(KSP*);', call = 'KSPDestroy((KSP*) 0)', cxxMangle = not self.languages.cSupport) andPetscViewerASCIISynchronizedAllow | |
./config/packages/PETSc.py: '''Check that petsc.h is present''' | |
./config/packages/PETSc.py: found = self.checkPreprocess('#include <petsc.h>\n') | |
./config/packages/PETSc.py: def checkPETScLink(self, includes, body, cleanup = 1, codeBegin = None, codeEnd = None, shared = None): | |
./config/packages/PETSc.py: '''Analogous to checkLink(), but the PETSc includes and libraries are automatically provided''' | |
./config/packages/PETSc.py: '''Checking that we can link a PETSc executable''' | |
./config/packages/PETSc.py: if not self.checkPETScLink('#include <petsclog.h>\n', 'PetscLogDouble time;\nPetscErrorCode ierr;\n\nierr = PetscGetTime(&time); CHKERRQ(ierr);\n'): | |
./config/packages/PETSc.py: self.logPrint('PETSc cannot link, which indicates a problem with the PETSc installation') | |
./config/packages/PETSc.py: self.logPrint('PETSc can link with '+self.languages.clanguage) | |
./config/packages/PETSc.py: if not self.checkPETScLink('#define PETSC_USE_EXTERN_CXX\n#include <petsc.h>\n', 'PetscLogDouble time;\nPetscErrorCode ierr;\n\nierr = PetscGetTime(&time); CHKERRQ(ierr);\n'): | |
./config/packages/PETSc.py: self.logPrint('PETSc cannot link C++ but can link C, which indicates a problem with the PETSc installation') | |
./config/packages/PETSc.py: self.logPrint('PETSc can link with C++') | |
./config/packages/PETSc.py: if not self.checkPETScLink('', ' integer ierr\n real time\n call PetscGetTime(time, ierr)\n'): | |
./config/packages/PETSc.py: self.logPrint('PETSc cannot link Fortran, but can link C, which indicates a problem with the PETSc installation\nRun with -with-fc=0 if you do not wish to use Fortran') | |
./config/packages/PETSc.py: self.logPrint('PETSc can link with Fortran') | |
./config/packages/PETSc.py: '''Check that the libraries for PETSc are shared libraries''' | |
./config/packages/PETSc.py: # since they are already copied into the PETSc dynamic library. | |
./config/packages/PETSc.py: isShared = self.libraries.checkShared('#include <petsc.h>\n', 'PetscInitialize', 'PetscInitialized', 'PetscFinalize', checkLink = self.checkPETScLink, libraries = libraries, initArgs = '&argc, &argv, 0, 0', boolType = 'PetscBool ', executor = self.mpi.mpiexec) | |
./config/packages/PETSc.py: '''Determine the PETSc version''' | |
./config/packages/PETSc.py: majorRE = re.compile(r'^#define PETSC_VERSION_MAJOR([\s]+)(?P<versionNum>\d+)[\s]*$'); | |
./config/packages/PETSc.py: minorRE = re.compile(r'^#define PETSC_VERSION_MINOR([\s]+)(?P<versionNum>\d+)[\s]*$'); | |
./config/packages/PETSc.py: subminorRE = re.compile(r'^#define PETSC_VERSION_SUBMINOR([\s]+)(?P<versionNum>\d+)[\s]*$'); | |
./config/packages/PETSc.py: patchRE = re.compile(r'^#define PETSC_VERSION_PATCH([\s]+)(?P<patchNum>\d+)[\s]*$'); | |
./config/packages/PETSc.py: dateRE = re.compile(r'^#define PETSC_VERSION_DATE([\s]+)"(?P<date>(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \d\d?, \d\d\d\d)"[\s]*$'); | |
./config/packages/PETSc.py: input = file(os.path.join(self.dir, 'include', 'petscversion.h')) | |
./config/packages/PETSc.py: lines.append('#define PETSC_VERSION_PATCH'+m4.group(1)+str(patchNum)+'\n') | |
./config/packages/PETSc.py: lines.append('#define PETSC_VERSION_DATE'+m5.group(1)+'"'+self.date+'"\n') | |
./config/packages/PETSc.py: self.logPrint('Found PETSc version (%s,%s,%s) patch %s on %s' % (majorNum, minorNum, subminorNum, patchNum, self.date)) | |
./config/packages/PETSc.py: self.logPrint('', 3, 'petsc') | |
./config/packages/PETSc.py: yield [os.path.join(d, 'libpetsc'+lib+'.a') for lib in libs] | |
./config/packages/PETSc.py: yield ['libpetsc'+lib+'.a' for lib in libs] | |
./config/packages/PETSc.py: '''Find a working PETSc | |
./config/packages/PETSc.py: - Right now, C++ builds are required to use PETSC_USE_EXTERN_CXX''' | |
./config/packages/PETSc.py: self.framework.logPrint('Checking for a functional PETSc in '+name+', location/origin '+str(location)) | |
./config/packages/PETSc.py: self.framework.logPrint('PETSc in '+name+', location/origin '+str(location)+' failed checkWorkingLink test') | |
./config/packages/PETSc.py: self.framework.logPrint('PETSc in '+name+', location/origin '+str(location)+' failed checkInclude test with includeDir: '+str(includeDir)) | |
./config/packages/PETSc.py: self.framework.logPrint('PETSc in '+name+', location/origin '+str(location)+' failed checkIncludes test') | |
./config/packages/PETSc.py: self.framework.logPrint('PETSc in '+name+', location/origin '+str(location)+' failed checkLib test with libraries: '+str(libraries)) | |
./config/packages/PETSc.py: if self.framework.argDB['with-petsc-shared']: | |
./config/packages/PETSc.py: self.framework.logPrint('PETSc in '+name+', location/origin '+str(location)+' failed checkSharedLibrary test with libraries: '+str(libraries)) | |
./config/packages/PETSc.py: self.logPrint('Choose PETSc '+self.version+' in '+self.name) | |
./config/packages/PETSc.py: raise RuntimeError('Could not locate any functional PETSc') | |
./config/packages/PETSc.py: - HAVE_PETSC is defined if a working PETSc is found | |
./config/packages/PETSc.py: - PETSC_INCLUDE and PETSC_LIB are command line arguments for the compile and link''' | |
./config/packages/PETSc.py: self.addDefine('HAVE_PETSC', 1) | |
./config/packages/PETSc.py: self.addSubstitution('PETSC_INCLUDE', ' '.join([self.headers.getIncludeArgument(inc) for inc in self.include])) | |
./config/packages/PETSc.py: self.addSubstitution('PETSC_LIB', ' '.join(map(self.libraries.getLibArgument, self.lib))) | |
./config/packages/scientificpython.py: self.download = ['http://ftp.mcs.anl.gov/pub/petsc/externalpackages/ScientificPythonSimple.tar.gz'] | |
./config/packages/scientificpython.py: self.logPrintBox('Installing Scientific Python (PETSc version)') | |
./config/packages/scientificpython.py: # Copy ScientificPython into $PETSC_ARCH/lib/python2.*/site-packages | |
./config/packages/scientificpython.py: '''Find an installation ando check if it can work with PETSc''' | |
./config/packages/UMFPACK.py: self.download = ['http://ftp.mcs.anl.gov/pub/petsc/externalpackages/UMFPACK-5.5.1.tar.gz'] | |
./config/packages/UMFPACK.py: if self.checkCompile('#ifdef PETSC_HAVE_LIMITS_H\n #include <limits.h>\n#endif\n', 'long long i=ULONG_MAX;\n\nif (i);\n'): | |
./config/programs.py: help.addArgument('PETSc', '-with-make=<prog>', nargs.Arg(None, 'make', 'Specify make')) | |
./config/programs.py: help.addArgument('PETSc', '-with-make-np=<np>', nargs.ArgInt(None, None, min=1, help='Default number of threads to use for parallel builds')) | |
./config/programs.py: '''Check for the programs needed to build and run PETSc''' | |
./config/python.py: raise RuntimeError('Python shared library check failed, probably due to inability to link Python libraries or a bad interaction with the shared linker.\nSuggest running with --with-python=0 if you do not need Python. Otherwise send configure.log to petsc-maint@mcs.anl.gov') | |
./config/setCompilers.py: msg = msg + 'See http://www.mcs.anl.gov/petsc/documentation/faq.html#libimf' | |
./config/setCompilers.py: raise RuntimeError('MPI compiler wrappers in '+self.framework.argDB['with-mpi-dir']+'/bin do not work. See http://www.mcs.anl.gov/petsc/documentation/faq.html#mpi-compilers') | |
./config/setCompilers.py: output.find('PETSc Error') >= 0 or | |
./docs/manual.xml:<varname>sys.path</varname>, as is done for PETSc. In fact, the PETSc driver | |
./docs/manual.xml: <listitem><para>Verifies <envar>PETSC_ARCH</envar></para></listitem> | |
./docs/manual.xml: <listitem><para>Adds the default PETSc configure module</para></listitem> | |
./docs/manual.xml:TEST checkDot from examples.blasTest(/PETSc3/sidl/BuildSystem/docs/examples/blasTest.py:10) | |
./docs/manual.xml:TESTING: checkDot from examples.blasTest(/PETSc3/sidl/BuildSystem/docs/examples/blasTest.py:10) | |
./docs/manual.xml:TEST checkCurses from examples.cursesTest(/PETSc3/sidl/BuildSystem/docs/examples/cursesTest.py:9) | |
./docs/manual.xml:TESTING: checkCurses from examples.cursesTest(/PETSc3/sidl/BuildSystem/docs/examples/cursesTest.py:9) | |
./docs/manual.xml:taken from the MPI configure module in PETSc. | |
./docs/manual.xml: PARMETIS_INCLUDE = -I/home/knepley/petsc-dev/externalpackages/parmetis/build/Darwin-x86_64/include | |
./docs/manual.xml: PARMETIS_LIB = -L/home/knepley/petsc-dev/externalpackages/parmetis/build/Darwin-x86_64/lib -lparmetis -lmetis | |
./docs/manual.xml:<prompt>petsc-dev$</prompt> <command>./config/configure.py --with-batch</command> | |
./docs/manual.xml:<prompt>petsc-dev$</prompt> <command>./make.py</command> | |
./docs/manual.xml:<prompt>petsc-dev$</prompt> <command>./make.py -help</command> | |
Binary file ./docs/tutorials/GettingStartedwithSIDL.ppt matches | |
./docs/website/faq.html:<title>PETSc 3</title> | |
./docs/website/faq.html: are rewriting all of PETSc to use SIDL and plan to do all future software | |
./docs/website/index.html:<title>PETSc-CS</title> | |
./docs/website/index.html:<p align="left">If you have any problems please send mail to <a href="mailto:petsc-maint@mcs.anl.gov">petsc-maint@mcs.anl.gov</a> | |
./docs/website/projects.html:<title>PETSc 3</title> | |
./install.old/aseBootstrap.py: help.addArgument('Bootstrapper', 'compilerRepository', nargs.Arg(None, 'http://ftp.mcs.anl.gov/pub/petsc/ase/Compiler.tgz', 'The repository containing the SIDL compiler', isTemporary = 1)) | |
./install.old/bootstrap.py: '''The installation directory defaults to the current directory, unless we are in HOME, in which case we create "petsc-3.0" | |
./install.old/bootstrap.py: self.installPath = os.path.join(self.installPath, 'petsc-3.0') | |
./install.old/bootstrap.py: if self.OpenURL('http://www.mcs.anl.gov/petsc'): | |
./install.old/bootstrap.py: CursesInstall.CenterAddStr(stdscr,2,'Hit y if your browser opened to the PETSc web page, otherwise hit n') | |
./install.old/bootstrap.py: '''The installation directory defaults to the current directory, unless we are in HOME, in which case we create "petsc-3.0" | |
./install.old/bootstrap.py: path = os.path.join(path, 'petsc-3.0') | |
./install.old/build.py: m = self.getMakeModule(self.retriever.retrieve(url)).PetscMake(sys.argv[1:], self.argDB) | |
./install.old/build.py: maker = self.getMakeModule(p.getRoot()).PetscMake(sys.argv[1:], self.argDB) | |
./install.old/build.py: maker = self.getMakeModule(root).PetscMake(sys.argv[1:], self.argDB) | |
./install.old/gui.py: for l in ['http://tops.bkbits.net/index.html','http://petsc.bkbits.net/index.html','http://sidl.bkbits.net/index.html','http://mpib.bkbits.net/index.html']: | |
./install.old/gui.py: if not i.url.find('-release') == -1: self.iprojects.remove(i) # remove PETSc 2 releases | |
./install.old/gui.py: if not i.url.find('petsc-dev') == -1: self.iprojects.remove(i) # remove PETSc 2 | |
./install.old/urlMapping.py: path = os.path.join('/pub', 'petsc', self.getRepositoryPath(url)) | |
./install.old/urlMapping.py: path = os.path.join('/pub', 'petsc', UrlMappingNew.getRepositoryPath(url)) | |
./make.py: self.project = project.Project('http://petsc.cs.iit.edu/petsc/BuildSystem', self.getRoot()) | |
./make.py: self.project.setWebDirectory('petsc@login.mcs.anl.gov://mcs/www-unix/ase') | |
./make.py: dir = os.path.join('/mcs','ftp', 'pub', 'petsc', 'sidl') | |
./make.py: try: self.executeShellCommand('ssh petsc@login.mcs.anl.gov mv '+fullPath+' '+fullPath+'.old') | |
./make.py: self.cpFile(tarball, 'petsc@login.mcs.anl.gov:/'+dir) | |
./project.py: self.webdirectory = 'petsc@terra.mcs.anl.gov://mcs/www-unix/sidl/' | |
./project.py: '''Return the project URL, e.g. http://petsc.cs.iit.edu/petsc/petsc-dev''' | |
./project.py: '''Sets the project Website directory path petsc@terra.mcs.anl.gov://mcs/www-unix/sidl/''' | |
./project.py: '''Returns the project Website directory path petsc@terra.mcs.anl.gov://mcs/www-unix/sidl/''' | |
./regression/buildtest.py: def __init__(self, host, dir = os.path.join('/sandbox', 'petsc', 'petsc-3'), rsh = 'ssh', rcp = 'scp -q -B'): | |
./regression/buildtest.py: - "host" is the host account, e.g. petsc@smash.mcs.anl.gov | |
./regression/buildtest.py: '''Remove all PETSc 3 files''' | |
./regression/buildtest.py: '''Right now, we get bootstrap.py from our PETSc 2 repository, but later we should get it from the webpage''' | |
./regression/buildtest.py: command = [self.rcp, os.path.join('/sandbox', 'petsc', 'petsc-test', 'python', 'BuildSystem', 'install', 'bootstrap.py'), self.host+':'+self.dir] | |
./regression/buildtest.py: self.install('http://petsc.cs.iit.edu/petsc/mpib-dev', ['--with-mpi-dir=/home/petsc/soft/linux-rh73/mpich-1.2.4']) | |
./regression/buildtest.py: command = [self.rcp, self.host+':'+os.path.join(self.dir, 'bootstrap.log'), os.path.join('/home', 'petsc', 'logs', 'nightly')] | |
./regression/buildtest.py: command = [self.rcp, self.host+':'+os.path.join(self.dir, 'installer.log'), os.path.join('/home', 'petsc', 'logs', 'nightly')] | |
./regression/buildtest.py: command = [self.rcp, self.host+':'+os.path.join(self.dir, 'make.log'), os.path.join('/home', 'petsc', 'logs', 'nightly')] | |
./regression/buildtest.py: RemoteBuild(Machine('petsc@smash.mcs.anl.gov'), sys.argv[1:]).run() | |
./regression/testCase.py:class PETScTest (MPITest): | |
./regression/testCase.py: petsc = None | |
./regression/testCase.py: def setUpPETSc(baseClass): | |
./regression/testCase.py: '''Initialize PETSc''' | |
./regression/testCase.py: if PETScTest.petsc is None: | |
./regression/testCase.py: import PETSc.Base | |
./regression/testCase.py: PETScTest.petsc = PETSc.Base.Base(ASE.Loader.Loader.createClass(baseClass)) | |
./regression/testCase.py: PETScTest.petsc.Initialize() | |
./regression/testCase.py: atexit.register(PETScTest.petsc.Finalize) | |
./regression/testCase.py: setUpPETSc = staticmethod(setUpPETSc) | |
./regression/testCase.py: def setUp(self, baseClass = 'PETSc.Base', mpiBaseClass = 'MPIB.Default.Base'): | |
./regression/testCase.py: '''Initialize PETSc''' | |
./regression/testCase.py: PETScTest.setUpPETSc(baseClass) | |
./regression/testCase.py: '''Cannot finalize PETSc since it can only be initialized once''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment