Lines Matching full:petsc_arch

15     return '  PETSC_ARCH: '+str(self.arch)+'\n'
19 …help.addArgument('PETSc', '-PETSC_ARCH=<string>', nargs.Arg(None, None, 'The configuration nam…
43 '''Checks if PETSC_ARCH is set and sets it if not set'''
44 # Warn if PETSC_ARCH doesn't match env variable
45 …if 'PETSC_ARCH' in self.framework.argDB and 'PETSC_ARCH' in os.environ and self.framework.argDB['P…
47 PETSC_ARCH from environment does not match command-line or name of script. Using from command-line …
48 os.environ['PETSC_ARCH'] = self.framework.argDB['PETSC_ARCH']
52 elif 'PETSC_ARCH' in self.framework.argDB:
53 self.arch = self.framework.argDB['PETSC_ARCH']
54 msg = 'option PETSC_ARCH='+str(self.arch)
55 elif 'PETSC_ARCH' in os.environ:
56 self.arch = os.environ['PETSC_ARCH']
57 msg = 'environment variable PETSC_ARCH='+str(self.arch)
61 …raise RuntimeError('PETSC_ARCH should not contain path characters, but you have specified with '+m…
63 raise RuntimeError('PETSC_ARCH should not start with "-", but you have specified with '+msg)
65 raise RuntimeError('PETSC_ARCH should not start with ".", but you have specified with '+msg)
67 …raise RuntimeError('PETSC_ARCH cannot be empty string. Use a valid string or do not set one. Curre…
92 ''' * sets self.arch and PETSC_ARCH to arch-<hashvalue>'''
131 if hasattr(self.argDB,'PETSC_ARCH'):
132 raise RuntimeError('Cannot provide PETSC_ARCH and --arch-hash')
135 if os.getenv('PETSC_ARCH'):
136 raise RuntimeError('Do not set the environmental variable PETSC_ARCH and use --arch-hash')
144 self.argDB['PETSC_ARCH'] = 'arch-'+hprefix[0:6]
172 … --force with --package-prefix-hash=directory; you need to delete the $PETSC_ARCH directory and ru…
202 g.write('PETSC_ARCH='+self.arch+'\n')
204 g.write('include $(PETSC_DIR)/$(PETSC_ARCH)/lib/petsc/conf/petscvariables\n')
218 …print(' %s PETSC_DIR=%s PETSC_ARCH=%s all' % (getMakeUserPath(self.arch), self.petscdir.dir, sel…