Lines Matching refs:argDB
693 if ('with-cc' in self.argDB and self.argDB['with-cc'] != '0') or 'CC' in self.argDB:
695 if ('with-cxx' in self.argDB and self.argDB['with-cxx'] != '0') or 'CXX' in self.argDB:
697 if ('with-fc' in self.argDB and self.argDB['with-fc'] != '0') or 'FC' in self.argDB:
699 if self.argDB['download-mpich'] or self.argDB['download-openmpi']:
701 if 'with-mpi-include' in self.argDB and self.argDB['with-mpi-include']:
703 if 'with-mpi' in self.argDB and self.argDB['with-mpi'] and self.argDB['with-mpi-compilers']:
712 if flagsArg in self.argDB:
713 …argDB[flagsArg] + '". Are you sure you want to do this? Generally it is best to let PETSc ./config…
715 if flagsArg in self.argDB: setattr(self, flagsArg, self.argDB[flagsArg])
720 if flagsArg in self.argDB: setattr(self, flagsArg, self.argDB[flagsArg])
726 if isinstance(self.argDB[flagsArg],str): val = [self.argDB[flagsArg]]
727 else: val = self.argDB[flagsArg]
730 if 'LIBS' in self.argDB:
731 self.LIBS = self.argDB['LIBS']
973 withLangDialect = self.argDB.get(configureArg).upper().replace('X','+')
1241 if not self.argDB['with-batch']:
1306 if self.argDB['download-mpich']: mesg ='with downloaded MPICH'
1307 elif self.argDB['download-openmpi']: mesg ='with downloaded Open MPI'
1310 elif 'with-cc' in self.argDB:
1311 yield self.argDB['with-cc']
1312 …raise RuntimeError('C compiler you provided with -with-cc='+self.argDB['with-cc']+' cannot be foun…
1313 elif 'CC' in self.argDB:
1314 yield self.argDB['CC']
1315 …raise RuntimeError('C compiler you provided with -CC='+self.argDB['CC']+' cannot be found or does …
1316 …if self.useMPICompilers() and 'with-mpi-dir' in self.argDB and os.path.isdir(os.path.join(self.arg…
1318 yield os.path.join(self.argDB['with-mpi-dir'], 'bin', 'mpincc')
1319 yield os.path.join(self.argDB['with-mpi-dir'], 'bin', 'mpiicc')
1320 yield os.path.join(self.argDB['with-mpi-dir'], 'bin', 'mpicc')
1321 yield os.path.join(self.argDB['with-mpi-dir'], 'bin', 'mpcc')
1322 yield os.path.join(self.argDB['with-mpi-dir'], 'bin', 'hcc')
1323 yield os.path.join(self.argDB['with-mpi-dir'], 'bin', 'mpcc_r')
1325 …raise RuntimeError('MPI compiler wrappers in '+self.argDB['with-mpi-dir']+'/bin cannot be found or…
1327 if self.useMPICompilers() and 'with-mpi-dir' in self.argDB:
1330 …self.logPrintWarning(os.path.join(self.argDB['with-mpi-dir'], 'bin')+ ' dir does not exist! Skippi…
1332 self.argDB['with-mpi-compilers'] = 0
1379 if 'with-cc' in self.argDB and self.argDB['with-cc'] == '0':
1409 self.argDB['with-mpi-compilers'] = 1
1414 if 'with-cpp' in self.argDB:
1415 yield self.argDB['with-cpp']
1416 elif 'CPP' in self.argDB:
1417 yield self.argDB['CPP']
1443 elif 'with-cudac' in self.argDB:
1444 yield self.argDB['with-cudac']
1445 …raise RuntimeError('CUDA compiler you provided with -with-cudac='+self.argDB['with-cudac']+' canno…
1446 elif 'CUDAC' in self.argDB:
1447 yield self.argDB['CUDAC']
1448 …raise RuntimeError('CUDA compiler you provided with -CUDAC='+self.argDB['CUDAC']+' cannot be found…
1449 elif 'with-cuda-dir' in self.argDB:
1450 nvccPath = os.path.join(self.argDB['with-cuda-dir'], 'bin','nvcc')
1478 if 'with-cudacpp' in self.argDB:
1479 yield self.argDB['with-cudapp']
1480 elif 'CUDAPP' in self.argDB:
1481 yield self.argDB['CUDAPP']
1506 elif 'with-hipc' in self.argDB:
1507 yield self.argDB['with-hipc']
1508 …raise RuntimeError('HIPC compiler you provided with -with-hipc='+self.argDB['with-hipc']+' cannot …
1509 elif 'HIPC' in self.argDB:
1510 yield self.argDB['HIPC']
1511 …raise RuntimeError('HIP compiler you provided with -HIPC='+self.argDB['HIPC']+' cannot be found or…
1512 elif 'with-hip-dir' in self.argDB:
1513 hipPath = os.path.join(self.argDB['with-hip-dir'], 'bin','hipcc')
1539 if 'with-hipcpp' in self.argDB:
1540 yield self.argDB['with-hippp']
1541 elif 'HIPPP' in self.argDB:
1542 yield self.argDB['HIPPP']
1567 elif 'with-syclc' in self.argDB:
1568 yield self.argDB['with-syclc']
1569 …raise RuntimeError('SYCLC compiler you provided with -with-syclxx='+self.argDB['with-syclxx']+' ca…
1570 elif 'SYCLC' in self.argDB:
1571 yield self.argDB['SYCLC']
1572 …raise RuntimeError('SYCLC compiler you provided with -SYCLC='+self.argDB['SYCLC']+' cannot be foun…
1573 elif 'with-sycl-dir' in self.argDB:
1574 syclPath = os.path.join(self.argDB['with-sycl-dir'], 'bin','dpcpp')
1596 if 'with-syclpp' in self.argDB:
1597 yield self.argDB['with-syclpp']
1598 elif 'SYCLPP' in self.argDB:
1599 yield self.argDB['SYCLPP']
1623 if self.argDB['download-mpich']: mesg ='with downloaded MPICH'
1624 elif self.argDB['download-openmpi']: mesg ='with downloaded Open MPI'
1627 elif 'with-c++' in self.argDB:
1629 if 'with-CC' in self.argDB:
1632 if 'with-cxx' in self.argDB:
1633 …if self.argDB['with-cxx'] == 'gcc': raise RuntimeError('Cannot use C compiler gcc as the C++ compi…
1634 yield self.argDB['with-cxx']
1635 …raise RuntimeError('C++ compiler you provided with -with-cxx='+self.argDB['with-cxx']+' cannot be …
1636 elif 'CXX' in self.argDB:
1637 yield self.argDB['CXX']
1638 …raise RuntimeError('C++ compiler you provided with -CXX='+self.argDB['CXX']+' cannot be found or d…
1639 …lif self.usedMPICompilers and 'with-mpi-dir' in self.argDB and os.path.isdir(os.path.join(self.arg…
1640 yield os.path.join(self.argDB['with-mpi-dir'], 'bin', 'mpinc++')
1641 yield os.path.join(self.argDB['with-mpi-dir'], 'bin', 'mpiicpc')
1642 yield os.path.join(self.argDB['with-mpi-dir'], 'bin', 'mpicxx')
1643 yield os.path.join(self.argDB['with-mpi-dir'], 'bin', 'hcp')
1644 yield os.path.join(self.argDB['with-mpi-dir'], 'bin', 'mpic++')
1646 yield os.path.join(self.argDB['with-mpi-dir'], 'bin', 'mpiCC')
1647 yield os.path.join(self.argDB['with-mpi-dir'], 'bin', 'mpCC_r')
1648 …ror('bin/<mpiCC,mpicxx,hcp,mpCC_r> you provided with -with-mpi-dir='+self.argDB['with-mpi-dir']+' …
1728 if 'with-cxxpp' in self.argDB:
1729 yield self.argDB['with-cxxpp']
1730 elif 'CXXPP' in self.argDB:
1731 yield self.argDB['CXXPP']
1761 if self.argDB['download-mpich']: mesg ='with downloaded MPICH'
1762 elif self.argDB['download-openmpi']: mesg ='with downloaded Open MPI'
1765 elif 'with-fc' in self.argDB:
1766 yield self.argDB['with-fc']
1767 …raise RuntimeError('Fortran compiler you provided with --with-fc='+self.argDB['with-fc']+' cannot …
1768 elif 'FC' in self.argDB:
1769 yield self.argDB['FC']
1770 yield self.argDB['FC']
1771 …raise RuntimeError('Fortran compiler you provided with -FC='+self.argDB['FC']+' cannot be found or…
1772 …lif self.usedMPICompilers and 'with-mpi-dir' in self.argDB and os.path.isdir(os.path.join(self.arg…
1773 yield os.path.join(self.argDB['with-mpi-dir'], 'bin', 'mpinfort')
1774 yield os.path.join(self.argDB['with-mpi-dir'], 'bin', 'mpiifort')
1775 yield os.path.join(self.argDB['with-mpi-dir'], 'bin', 'mpif90')
1776 yield os.path.join(self.argDB['with-mpi-dir'], 'bin', 'mpf90')
1777 yield os.path.join(self.argDB['with-mpi-dir'], 'bin', 'mpxlf95_r')
1778 yield os.path.join(self.argDB['with-mpi-dir'], 'bin', 'mpxlf90_r')
1779 yield os.path.join(self.argDB['with-mpi-dir'], 'bin', 'mpxlf_r')
1780 if os.path.isfile(os.path.join(self.argDB['with-mpi-dir'], 'bin', 'mpif90')):
1781 …raise RuntimeError('bin/mpif90 you provided with --with-mpi-dir='+self.argDB['with-mpi-dir']+' can…
1832 if 'with-fc' in self.argDB and self.argDB['with-fc'] == '0':
1833 if 'FC' in self.argDB:
1834 del self.argDB['FC']
1857 if 'with-fpp' in self.argDB:
1858 yield self.argDB['with-fpp']
1859 elif 'FPP' in self.argDB:
1860 yield self.argDB['FPP']
2032 … useSharedLibraries = 'with-shared-libraries' in self.argDB and self.argDB['with-shared-libraries']
2034 if not self.argDB['with-pic'] and not useSharedLibraries:
2037 if self.argDB['with-pic'] and not useSharedLibraries:
2090 if not self.argDB['with-large-file-io']:
2110 if 'AR_FLAGS' in self.argDB:
2111 flag = self.argDB['AR_FLAGS']
2125 if 'with-ar' in self.argDB:
2126 defaultAr = self.argDB['with-ar']
2128 if 'AR' in self.argDB:
2129 envAr = self.argDB['AR']
2131 if 'with-ranlib' in self.argDB:
2132 defaultRanlib = self.argDB['with-ranlib']
2134 if 'RANLIB' in self.argDB:
2135 envRanlib = self.argDB['RANLIB']
2240 if 'with-ar' in self.argDB:
2241 raise RuntimeError('Archiver set with --with-ar='+self.argDB['with-ar']+' does not exist')
2284 …etSharedLinkerObject(language, self.framework.getLanguageModule(language).StaticLinker(self.argDB))
2287 if not self.argDB['with-shared-libraries']:
2294 if 'with-shared-ld' in self.argDB:
2295 yield (self.argDB['with-shared-ld'], [], 'so')
2296 if 'LD_SHARED' in self.argDB:
2297 yield (self.argDB['LD_SHARED'], [], 'so')
2299 if 'with-shared-ld' in self.argDB:
2300 …yield (self.argDB['with-shared-ld'], ['-dynamiclib', '-undefined dynamic_lookup', '-no_compact_unw…
2329 self.argDB['with-shared-libraries'] = 0
2525 if 'with-dynamic-ld' in self.argDB:
2526 yield (self.argDB['with-dynamic-ld'], [], 'so')
2529 if 'with-dynamic-ld' in self.argDB:
2530 yield (self.argDB['with-dynamic-ld'], ['-dynamiclib -undefined dynamic_lookup'], 'dylib')
2668 if 'with-mpi-dir' in self.argDB and self.argDB['with-mpi-compilers']:
2674 if (opt in self.argDB and self.argDB[opt] != '0'):
2677 …for mpicplr in [os.path.join(self.argDB['with-mpi-dir'], 'bin', cplr),os.path.join(self.argDB['wit…
2679 …msg = '--'+opt+'='+self.argDB[opt]+' is specified along with --with-mpi-dir='+self.argDB['with-mpi…
2687 if 'with-mpi-dir' in self.argDB:
2688 libdir = os.path.join(self.argDB['with-mpi-dir'], 'lib')
2704 elif self.argDB['with-environment-variables']:
2717 self.argDB[ev] = os.environ[ev]
2720 if 'FFLAGS' in self.argDB and 'FCFLAGS' in self.argDB:
2721 if self.argDB['FCFLAGS'] != self.argDB['FFLAGS']:
2722 … set, but with different values (FCFLAGS=%s, FFLAGS=%s)'%(self.argDB['FCFLAGS'],self.argDB['FFLAGS…
2762 argdbVal = self.argDB.get(argdbName)
2766 if COMPILER_NAME in self.argDB:
2767 del self.argDB[COMPILER_NAME]