| /petsc/config/BuildSystem/config/ |
| H A D | compilerOptions.py | 11 def getCFlags(self, compiler, bopt, language): argument 15 if [s for s in ['mpicc','mpiicc','mpiicx'] if os.path.basename(compiler).find(s)>=0]: 17 output = self.executeShellCommand(compiler + ' -show', log = self.log)[0] 26 …if config.setCompilers.Configure.isGNU(compiler, self.log) or config.setCompilers.Configure.isClan… 29 if config.setCompilers.Configure.isClang(compiler, self.log): 36 if config.setCompilers.Configure.isGcc110plus(compiler, self.log): 41 … or config.setCompilers.Configure.isMINGW(compiler, self.log)) and config.setCompilers.Configure.i… 51 if config.setCompilers.Configure.isClang(compiler, self.log): 57 …if config.setCompilers.Configure.isIntel(compiler, self.log) and not re_win32fe_icl.search(compile… 68 elif re_win32fe_icl.search(compiler): [all …]
|
| H A D | setCompilers.py | 99 def _setupCompiler(self,compiler,desc): argument 101 clabel=' '+compiler+' ' 102 if compiler == 'Cxx': clabel=' C++ ' 103 if compiler == 'FC': clabel=' Fortran ' 104 self.pushLanguage(compiler) 106 if self.compilerflags.version[compiler]: 107 desc.append(' Version: '+self.compilerflags.version[compiler]) 210 def isNAG(compiler, log): argument 213 …(output, error, status) = config.base.Configure.executeShellCommand(compiler+' -V',checkCommand = … 223 def isMINGW(compiler, log): argument [all …]
|
| H A D | base.py | 357 compiler = self.framework.getCompilerObject(self.language[-1]) 358 compiler.checkSetup() 359 self.compilerSource = os.path.join(self.tmpDir, 'conftest'+compiler.sourceExtension) 360 self.compilerObj = os.path.join(self.tmpDir, compiler.getTarget(self.compilerSource)) 361 return compiler.getProcessor() 408 compiler = self.framework.getCompilerObject(self.language[-1]) 409 compiler.checkSetup() 410 compiler.includeDirectories.add(self.tmpDir) 411 return compiler.getCommand(self.compilerSource, self.compilerObj)
|
| /petsc/config/BuildSystem/config/compile/ |
| H A D | C.py | 55 self.compiler = Compiler(argDB, usePreprocessorFlags = False) 57 …config.compile.processor.Processor.__init__(self, argDB, ['CC_LD', 'LD', self.compiler.name], ['LD… 63 other.compiler = self.compiler 70 self.compiler.argDB = argDB 80 if self.name == self.compiler.name: 81 flagsName.extend(self.compiler.flagsName) 108 self.compiler = Compiler(argDB, usePreprocessorFlags = False) 110 …config.compile.processor.Processor.__init__(self, argDB, ['LD_SHARED', self.compiler.name], ['LDFL… 117 self.compiler.argDB = argDB 124 other.compiler = self.compiler [all …]
|
| H A D | Cxx.py | 48 self.compiler = Compiler(argDB, usePreprocessorFlags = False) 50 …config.compile.processor.Processor.__init__(self, argDB, ['CXX_LD', 'LD', self.compiler.name], ['L… 57 other.compiler = self.compiler 64 self.compiler.argDB = argDB 74 if self.name == self.compiler.name: 75 flagsName.append(self.compiler.flagsName[0]) 102 self.compiler = Compiler(argDB, usePreprocessorFlags = False) 104 …config.compile.processor.Processor.__init__(self, argDB, ['LD_SHARED', self.compiler.name], ['LDFL… 112 self.compiler.argDB = argDB 119 other.compiler = self.compiler [all …]
|
| H A D | FC.py | 37 self.compiler = Compiler(argDB, usePreprocessorFlags = False) 39 …config.compile.processor.Processor.__init__(self, argDB, ['FC_LD', 'LD', self.compiler.name], ['LD… 46 other.compiler = self.compiler 53 self.compiler.argDB = argDB 63 if self.name == self.compiler.name: 64 flagsName.extend(self.compiler.flagsName)
|
| H A D | HIP.py | 62 self.compiler = Compiler(argDB, usePreprocessorFlags = False) 64 …config.compile.processor.Processor.__init__(self, argDB, [self.compiler.name], ['HIPC_LINKER_FLAGS…
|
| H A D | CUDA.py | 49 self.compiler = Compiler(argDB, usePreprocessorFlags = False) 51 …config.compile.processor.Processor.__init__(self, argDB, [self.compiler.name], ['CUDAC_LINKER_FLAG…
|
| H A D | HC.py | 49 self.compiler = Compiler(argDB, usePreprocessorFlags = False) 51 …config.compile.processor.Processor.__init__(self, argDB, [self.compiler.name], ['HCC_LINKER_FLAGS'…
|
| H A D | SYCL.py | 62 self.compiler = Compiler(argDB, usePreprocessorFlags = False) 65 … [self.compiler.name], ['SYCLC_LINKER_FLAGS'], '.o', '.a')
|
| /petsc/src/ksp/ksp/tests/benchmarkscatters/ |
| H A D | Baseline-MPICH-8 | 12 Using C compiler: /home/bsmith/petsc/arch-opt-mpich/bin/mpicc -Wall -Wwrite-strings -Wno-strict-… 13 Using Fortran compiler: /home/bsmith/petsc/arch-opt-mpich/bin/mpif90 -Wall -Wno-unused-variable … 21 …compiler/lib/intel64 -L/soft/compilers/intel/compilers_and_libraries_2016.0.109/linux/compiler/lib…
|
| H A D | Baseline-MPICH-16 | 12 Using C compiler: /home/bsmith/petsc/arch-opt-mpich/bin/mpicc -Wall -Wwrite-strings -Wno-strict-… 13 Using Fortran compiler: /home/bsmith/petsc/arch-opt-mpich/bin/mpif90 -Wall -Wno-unused-variable … 21 …compiler/lib/intel64 -L/soft/compilers/intel/compilers_and_libraries_2016.0.109/linux/compiler/lib…
|
| H A D | Baseline-Intel-8 | 12 Using C compiler: mpicc -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g … 13 Using Fortran compiler: mpiifort -fPIC -g -O3 21 …compiler/lib/intel64 -L/soft/compilers/intel/compilers_and_libraries_2016.0.109/linux/compiler/lib…
|
| H A D | Baseline-Intel-16 | 12 Using C compiler: mpicc -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g … 13 Using Fortran compiler: mpiifort -fPIC -g -O3 21 …compiler/lib/intel64 -L/soft/compilers/intel/compilers_and_libraries_2016.0.109/linux/compiler/lib…
|
| /petsc/config/BuildSystem/config/packages/ |
| H A D | OpenMP.py | 45 … for language, compiler in [('C','CC'),('Cxx','CXX'),('FC','FC'),('HIP','HIPC'),('SYCL','SYCLC')]: 46 if hasattr(self.compilers, compiler): 58 …f defined(_OPENMP)\nompv=_OPENMP\n#else\n#error "No _OPENMP macro for '+compiler+', something is w… 76 raise RuntimeError(compiler + ' Compiler has no support for OpenMP')
|
| H A D | SYCL.py | 108 compiler = self.setCompilers.getCompiler(self.languages.clanguage) # ex. 'mpicc' 109 if not self.setCompilers.isSYCL(compiler,self.log): 110 …raise RuntimeError(compiler + ' is not a SYCL compiler. When --with-sycl is enabled, you also need…
|
| /petsc/doc/install/ |
| H A D | install.md | 34 - If you do not have a Fortran compiler or [MPICH](https://www.mpich.org/) installed 48 installed in default system/compiler locations and `mpicc`, `mpif90`, mpiexec are available 82 - Build Complex version of PETSc (using c++ compiler): 120 It's best to use MPI compiler wrappers [^id9]. This can be done by either specifying 133 See {any}`doc_config_mpi` for details on how to select specific MPI compiler wrappers or the 134 specific compiler used by the MPI compiler wrapper. 137 - If a Fortran compiler is not available or not needed - disable using: 143 - If a c++ compiler is not available or not needed - disable using: 165 `configure` cannot detect compiler libraries for certain set of compilers. In this 166 case one can specify additional system/compiler libraries using the `LIBS` option: [all …]
|
| H A D | windows.md | 78 and use `win32fe` [^win32] compiler wrapper, to use the Microsoft/Intel compilers. 93 Cygwin link.exe can conflict with Intel ifort compiler. If you are using ifort - 117 …4. Now run `configure` with compiler wrapper script `win32fe_cl` that uses `win32fe` [^win32] and … 135 - One can use Intel oneAPI C/C++ compiler `icl` or `icx` instead of Microsoft `cl`, for ex: `--with… 177 compiler versions etc. used for any given build of PETSc, so they are potentially 191 3. If the above works - then make sure all the compiler/linker options used by `make` 254 Make sure your environment is properly configured to use the appropriate debugger for your compiler.
|
| /petsc/doc/changes/ |
| H A D | 2022.md | 7 work with the IBM Fortran compiler, the SGI Fortran 90 compiler, 8 and the Cray T3E Fortran compiler. 178 work with the IBM Fortran compiler, the SGI Fortran 90 compiler, 179 and the Cray T3E Fortran compiler.
|
| H A D | 31.md | 21 - win32fe [used for MS/Intel compiler builds on windows] now 173 - Removed the old compiler dependent implementation of f90 interface 174 sources in favor of the new compiler independent implementation. 176 And the f90 interface is automatically built - if an f90 compiler
|
| /petsc/src/binding/petsc4py/conf/ |
| H A D | confpetsc.py | 246 def configure(self, extension, compiler=None): argument 248 if compiler is not None: 249 self.configure_compiler(compiler) 337 def configure_compiler(self, compiler): argument 338 if compiler.compiler_type != 'unix': 393 compiler.set_executables( 394 compiler=PCC, 400 compiler.shared_lib_extension = so_ext 412 compiler = self['PCC'] 421 log.info('compiler: %s' % compiler) [all …]
|
| /petsc/share/petsc/ |
| H A D | CMakeLists.txt | 11 # By default it gets both the compiler information and the library information from PETSc 18 # Dummy project to determine compiler names and version
|
| H A D | Makefile.basic.user | 13 # This will use all the compiler flags that PETSc was compiled with, if you do not want the flags … 46 …ource files in the "src" dir, include files in the "include" dir, and desire the compiler-generated 65 # Access variables for the build, including compilers, compiler flags, libraries etc
|
| /petsc/lib/petsc/conf/ |
| H A D | variables | 43 # The following variables specify PETSc related compiler info 81 # Similar for other compiler/preprocessor flags. 90 …LUDES) ${CUDAC_FLAGS} ${CUDAFLAGS} ${CUDAC_HOSTFLAGS} ${CUDACPPFLAGS} --compiler-options=\"${CXXCP…
|
| /petsc/config/PETSc/ |
| H A D | Configure.py | 275 compiler = self.setCompilers.getCompiler() 276 if [s for s in ['mpicc','mpiicc'] if os.path.basename(compiler).find(s)>=0]: 278 output = self.executeShellCommand(compiler + ' -show', log = self.log)[0] 279 compiler = output.split(' ')[0] 953 compiler = self.getCompiler(lang=lang) 954 if self.setCompilers.isGNU(compiler, self.log): 956 elif self.setCompilers.isClang(compiler, self.log): 963 … add coverage for gnu-like compilers (either gcc or clang). Skipping it!'.format(quoted(compiler))) 981 'Compiler {} did not accept coverage flag {}'.format(quoted(compiler), quoted(flag)) 987 quoted(compiler), coverage_flags [all …]
|