Home
last modified time | relevance | path

Searched refs:log (Results 1 – 25 of 157) sorted by relevance

1234567

/petsc/config/BuildSystem/config/
H A DcompilerOptions.py17 output = self.executeShellCommand(compiler + ' -show', log = self.log)[0]
26 …setCompilers.Configure.isGNU(compiler, self.log) or config.setCompilers.Configure.isClang(compiler…
29 if config.setCompilers.Configure.isClang(compiler, self.log):
32 if config.setCompilers.Configure.isDarwinCatalina(self.log):
36 if config.setCompilers.Configure.isGcc110plus(compiler, self.log):
38 if config.setCompilers.Configure.isARM(self.log):
41 …isDarwin(self.log) or config.setCompilers.Configure.isMINGW(compiler, self.log)) and config.setCom…
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…
95 elif config.setCompilers.Configure.isNVCC(compiler, self.log):
[all …]
H A DsetCompilers.py210 def isNAG(compiler, log): argument
213 …atus) = config.base.Configure.executeShellCommand(compiler+' -V',checkCommand = noCheck, log = log)
217 if log: log.write('Detected NAG Fortran compiler\n')
223 def isMINGW(compiler, log): argument
226 …atus) = config.base.Configure.executeShellCommand(compiler+' -v',checkCommand = noCheck, log = log)
229 if log: log.write('Detected MINGW compiler\n')
235 def isGNU(compiler, log): argument
238 …r, status) = config.base.Configure.executeShellCommand(compiler+' --help | head -n 20 ', log = log)
255 if not found and Configure.isCrayPEWrapper(compiler,log):
256 …utput, error, status) = config.base.Configure.executeShellCommand(compiler+' --version', log = log)
[all …]
/petsc/config/BuildSystem/config/packages/
H A DCMake.py41 if not config.setCompilers.Configure.isSolaris(self.log):
48 self.log.write('CMake build - adding make location to PATH: '+make_loc+'\n')
56 self.log.write('Looking for specified CMake executable '+self.argDB['with-cmake-exec']+'\n')
59 self.log.write('Looking for default CMake executable\n')
62 self.log.write('Looking for specified Ctest executable '+self.argDB['with-ctest-exec']+'\n')
65 self.log.write('Looking for default CTest executable\n')
75 self.log.write('Building CMake\n')
77 self.log.write('Looking for CMake in '+os.path.join(self.installDir,'bin')+'\n')
83 self.log.write('Not checking for CMake\n')
87 …error, status) = config.base.Configure.executeShellCommand(self.cmake+' --version', log = self.log)
[all …]
H A DTriangle.py75 …g.setCompilers.Configure.isSolaris(self.log) and config.setCompilers.Configure.isGNU(self.getCompi…
122 … make libtriangle.'+self.setCompilers.AR_LIB_SUFFIX+' && make clean', timeout=2500, log = self.log)
126 …ge.executeShellCommand('mkdir -p '+os.path.join(self.installDir,'lib'), timeout=2500, log=self.log)
127 …xecuteShellCommand('mkdir -p '+os.path.join(self.installDir,'include'), timeout=2500, log=self.log)
128 …ge.executeShellCommand('mkdir -p '+os.path.join(self.installDir,'bin'), timeout=2500, log=self.log)
129 …lf.setCompilers.AR_LIB_SUFFIX)+' '+os.path.join(self.installDir,'lib'), timeout=60, log = self.log)
130 …-f '+os.path.join(self.packageDir, 'src', 'triangle.h')+' '+includeDir, timeout=60, log = self.log)
133 …gs+' -DNO_PETSC_MALLOC src/triangle.c -o triangle -lm && make clean', timeout=2500, log = self.log)
136 …in(self.packageDir,'triangle')+' '+os.path.join(self.installDir,'bin'), timeout=60, log = self.log)
H A Dboost.py39 config.base.Configure.executeShellCommand(cmd, timeout=6000, log=self.log)
53 if config.setCompilers.Configure.isGNU(cxx, self.log):
56 …nfig.setCompilers.Configure.isOneAPI(cxx, self.log) or config.setCompilers.Configure.isIntel(cxx, …
59 elif config.setCompilers.Configure.isClang(cxx, self.log):
76 …ut, err, ret = config.base.Configure.executeShellCommand(bootstrap_cmd, timeout=6000, log=self.log)
79 … out, err, ret = config.base.Configure.executeShellCommand(build_cmd, timeout=6000, log=self.log)
82 … out, err, ret = config.base.Configure.executeShellCommand(install_cmd, timeout=6000, log=self.log)
H A DKS.py64 …g.setCompilers.Configure.isSolaris(self.log) and config.setCompilers.Configure.isGNU(self.getCompi…
111 …ean && make libks.'+self.setCompilers.AR_LIB_SUFFIX+' && make clean', timeout=2500, log = self.log)
115 …ge.executeShellCommand('mkdir -p '+os.path.join(self.installDir,'lib'), timeout=2500, log=self.log)
116 …xecuteShellCommand('mkdir -p '+os.path.join(self.installDir,'include'), timeout=2500, log=self.log)
117 …lf.setCompilers.AR_LIB_SUFFIX)+' '+os.path.join(self.installDir,'lib'), timeout=60, log = self.log)
118 …join(self.packageDir, 'src', 'KolmogorovSmirnovDist.h')+' '+includeDir, timeout=60, log = self.log)
H A DPython.py41 …lf.pyexe,'-c','import sysconfig;print(sysconfig.get_python_version())'],timeout=60, log = self.log)
46 …and([self.pyexe,'-c','import setuptools;print(setuptools.__version__)'],timeout=60, log = self.log)
52 …hellCommand([self.pyexe,'-c','import cython;print(cython.__version__)'],timeout=60, log = self.log)
62 …g.package.Package.executeShellCommand(self.pyexe + ' -c "import numpy"',timeout=60, log = self.log)
H A Dspai.py44 …ge.executeShellCommand('mkdir -p '+os.path.join(self.installDir,'lib'), timeout=2500, log=self.log)
45 …e && cp -f libspai.a '+os.path.join(self.installDir,'lib','libspai.a'),timeout=250, log = self.log)
46 …ageDir,'lib')+' && cp -f *.h '+os.path.join(self.installDir,'include'),timeout=250, log = self.log)
48 …Compilers.RANLIB+' '+os.path.join(self.installDir,'lib')+'/libspai.a', timeout=250, log = self.log)
60 self.log.write('Found dormqr() in Lapack library as needed by SPAI\n')
H A Dpflotran.py63 …('cd '+self.packageDir+' && '+PARCH+' '+PDIR+' ./configure all '+PREFIX,timeout=60, log = self.log)
64 self.log.write(output+err)
67 …e.GNUPackage.executeShellCommand('cd '+self.packageDir+' && make all',timeout=1000, log = self.log)
68 self.log.write(output+err)
71 …NUPackage.executeShellCommand('cd '+self.packageDir+' && make install',timeout=100, log = self.log)
72 self.log.write(output+err)
H A DBison.py34 self.log.write('Looking for specified Bison executable '+self.argDB['with-bison-exec']+'\n')
37 self.log.write('Looking for default Bison executable\n')
51 self.log.write('Building Bison\n')
53 self.log.write('Looking for Bison in '+os.path.join(self.installDir,'bin')+'\n')
58 self.log.write('Not checking for Bison\n')
63 …error, status) = config.base.Configure.executeShellCommand(self.bison+' --version', log = self.log)
71 self.log.write('Bison check failed: '+str(e)+'\n')
H A Dmpi4py.py37 if self.setCompilers.isDarwin(self.log):
44 if self.setCompilers.isDarwin(self.log):
45 if self.setCompilers.isARM(self.log):
55 …ncmd, cwd=self.packageDir, checkCommand=script.Script.passCheckCommand, timeout=100, log=self.log)
63 if config.setCompilers.Configure.isIntel(self.getCompiler(), self.log):
66 …ildcmd, cwd=self.packageDir, checkCommand=script.Script.passCheckCommand,timeout=100, log=self.log)
71 …allcmd, cwd=self.packageDir,checkCommand=script.Script.passCheckCommand, timeout=100, log=self.log)
H A Degads.py257 …etscdir.dir + ' clean lib PCC_FLAGS="' + cflags + '"', timeout=1000, log = self.log, cwd=self.pack…
258 self.log.write(output+err)
260 …tscdir.dir+' prefix='+self.installDir+' install-egads',timeout=1000, log = self.log, cwd=self.pack…
261 self.log.write(output+err)
271 …etscdir.dir + ' clean lib PCC_FLAGS="' + cflags + '"', timeout=1000, log = self.log, cwd=self.pack…
272 self.log.write(output+err)
274 …tscdir.dir+' prefix='+self.installDir+' install-egads',timeout=1000, log = self.log, cwd=self.pack…
275 self.log.write(output+err)
H A DMAGMA.py183 if self.setCompilers.isDarwin(self.log):
189 ….package.Package.executeShellCommand('make clean', cwd=self.packageDir, timeout=60, log = self.log)
196 …elf.make.make_jnp + self.makerulename + codegen, cwd=self.packageDir, timeout=2500, log = self.log)
200 self.executeShellCommand('echo "!dummy mod" > '+dummymod,cwd=self.packageDir,log=self.log)
207 …teShellCommand(self.make.make + ' install_dirs', cwd=self.packageDir, timeout=2500, log = self.log)
208 …ecuteShellCommand(self.make.make + ' pkgconfig', cwd=self.packageDir, timeout=2500, log = self.log)
209 …lCommand('cp '+os.path.join(self.packageDir,'include','*.h')+' '+incDir, timeout=100, log=self.log)
210 …ommand('cp '+os.path.join(self.packageDir,'include','*.mod')+' '+incDir, timeout=100, log=self.log)
211 …mmand('cp '+os.path.join(self.packageDir,'lib','libmagma.*')+' '+libDir, timeout=100, log=self.log)
213 …executeShellCommand(self.make.make + ' install', cwd=self.packageDir, timeout=2500, log = self.log)
H A DMatlab.py51 self.log.write('Testing MATLAB at '+matlab+'\n')
58 …eShellCommand(interpreter+' -nodisplay -r "display([\'Version \' version]); exit"', log = self.log)
60 self.log.write('WARNING: Found MATLAB at '+matlab+' but unable to run'+str(e)+'\n')
66 self.log.write('WARNING: MATLAB version must be at least 6; yours is '+str(r))
70 self.log.write('WARNING:'+matlab+' is not the root directory for MATLAB\n')
71 self.log.write(' Run with --with-matlab-dir=Matlabrootdir if you know where it is\n')
79 …self.log.write('WARNING: You indicated --with-matlab-arch='+self.matlab_arch+' but that arch does …
83 …self.log.write('Configuring PETSc to use the MATLAB at '+matlab+' MATLAB arch '+self.matlab_arch+'…
109 …self.log.write('WARNING:Unable to use MATLAB because cannot locate MATLAB external libraries at '+…
H A Dhpl.py73 …ean && make libhpl.'+self.setCompilers.AR_LIB_SUFFIX+' && make clean', timeout=250, log = self.log)
77 …kage.executeShellCommand('mkdir -p '+os.path.join(self.installDir,'lib'), timeout=25, log=self.log)
78 ….executeShellCommand('mkdir -p '+os.path.join(self.installDir,'include'), timeout=25, log=self.log)
79 …lf.setCompilers.AR_LIB_SUFFIX)+' '+os.path.join(self.installDir,'lib'), timeout=60, log = self.log)
80 …cp -f '+os.path.join(self.packageDir, 'include', '*.h')+' '+includeDir, timeout=60, log = self.log)
H A Dgmsh.py23 self.log.write('Looking for specified Gmsh executable '+gmsh+'\n')
26 self.log.write('Looking for default Gmsh executable\n')
29 …ret = config.package.Package.executeShellCommand(self.gmsh + ' -info', timeout=60, log = self.log)
32 self.log.write('Unable to run Gmsh executable '+self.gmsh+'\n'+str(e)+'\n')
H A DGLVis.py30 …ecuteShellCommand([self.sourceControl.git, 'submodule', 'update', '--init'], cwd=Dir, log=self.log)
72 …elf.make.make_jnp+' serial '+mfem_flags, cwd=self.packageDir+'/mfem', timeout=2500, log = self.log)
73 …ake.make_jnp+' GLVIS_CONFIG_MK=glvis_config.mk', cwd=self.packageDir, timeout=2500, log = self.log)
80 ], cwd=self.packageDir, timeout=60, log = self.log)
H A DTetGen.py79 …ge.executeShellCommand('mkdir -p '+os.path.join(self.installDir,'lib'), timeout=2500, log=self.log)
80 …xecuteShellCommand('mkdir -p '+os.path.join(self.installDir,'include'), timeout=2500, log=self.log)
81 …="' + predcflags + '" tetlib && cp *.a ' + libDir + ' && rm *.a *.o', timeout=2500, log = self.log)
83 …' + predcflags + '" tetgen && cp tetgen ' + binDir + ' && rm tetgen', timeout=2500, log = self.log)
86 …mand('cp -f '+os.path.join(self.packageDir, 'tetgen.h')+' '+includeDir, timeout=60, log = self.log)
/petsc/config/PETSc/options/
H A Dpetscclone.py26 …sourceControl.git, 'describe', '--match=v*'],checkCommand = noCheck, log = self.log, cwd=self.pets…
27 …trol.git, 'log', '-1', '--pretty=format:%H'],checkCommand = noCheck, log = self.log, cwd=self.pets…
28 …rol.git, 'log', '-1', '--pretty=format:%ci'],checkCommand = noCheck, log = self.log, cwd=self.pets…
29 …ol.git, 'rev-parse', '--abbrev-ref', 'HEAD'],checkCommand = noCheck, log = self.log, cwd=self.pets…
30 …rceControl.git, 'status', '--short', '-uno'],checkCommand = noCheck, log = self.log, cwd=self.pets…
/petsc/src/binding/petsc4py/test/
H A Dtest_pc_py.py73 self.log = {}
76 self.log.setdefault(method, 0)
77 self.log[method] += 1
150 self.assertTrue(self._getCtx().log['create'] == 1)
151 self.assertTrue(self._getCtx().log['setFromOptions'] == 1)
164 self.assertTrue(ctx.log['destroy'] == 1)
192 if 'reset' not in self._getCtx().log:
193 self.assertTrue(self._getCtx().log['setUp'] == 1)
194 self.assertTrue(self._getCtx().log[meth] == 1)
196 nreset = self._getCtx().log['reset']
[all …]
H A Dtest_tao_py.py22 self.log = {}
25 self.log.setdefault(method, 0)
26 self.log[method] += 1
67 self.assertEqual(self._getCtx().log['create'], 1)
72 self.assertTrue('destroy' not in self._getCtx().log)
77 self.assertEqual(ctx.log['destroy'], 1)
132 self.assertTrue(ctx.log['monitor'] == 2 * (n + 1))
133 self.assertTrue(ctx.log['preStep'] == 2 * n)
134 self.assertTrue(ctx.log['postStep'] == 2 * n)
135 self.assertTrue(ctx.log['solve'] == 1)
[all …]
/petsc/config/BuildSystem/config/utilities/
H A Ddebuggers.py30 if config.setCompilers.Configure.isDarwin(self.log):
43 if config.setCompilers.Configure.isDarwin(self.log):
49 if config.setCompilers.Configure.isDarwin(self.log):
69 …) = config.base.Configure.executeShellCommand(self.dbx+' -c conftest -p '+str(pid), log = self.log)
79 …) = config.base.Configure.executeShellCommand(self.dbx+' -c conftest -a '+str(pid), log = self.log)
89 …= config.base.Configure.executeShellCommand(self.dbx+' -c conftest -pid '+str(pid), log = self.log)
/petsc/src/benchmarks/streams/
H A Dmakefile44 -@printf "" > scaling.log
49 ${MPIEXEC} ${MPI_BINDING} ${MPI_BINDING_VIEW} -n $${i} ./MPIVersion | tee -a scaling.log; \
57 -@printf "" > scaling.log
60 ${MPIEXEC} ${MPI_BINDING} -n 1 -c$${i} -a$${i} -g1 ./CUDAVersion | tee -a scaling.log; \
64 ${MPIEXEC} ${MPI_BINDING} -n $${n} -c$${c} -a$${c} -g1 ./CUDAVersion | tee -a scaling.log; \
71 -@printf "" > scaling.log
75 OMP_NUM_THREADS=$${i} ./OpenMPVersion | tee -a scaling.log;\
81 -@printf "" > scaling.log
84 OMP_NUM_THREADS=$${i} ./OpenMPVersionLikeMPI | tee -a scaling.log;\
/petsc/
H A Dmakefile39 …C_ARCH=${PETSC_ARCH} PETSC_DIR=${PETSC_DIR} chk_upgrade | tee ${PETSC_ARCH}/lib/petsc/conf/make.log
40 @ln -sf ${PETSC_ARCH}/lib/petsc/conf/make.log make.log
41 …echo "$$?" > ${PETSC_ARCH}/lib/petsc/conf/error.log) 2>&1 | tee -a ${PETSC_ARCH}/lib/petsc/conf/ma…
43 …program f951)' ${PETSC_ARCH}/lib/petsc/conf/make.log | tee ${PETSC_ARCH}/lib/petsc/conf/memoryerro…
44 if test -s ${PETSC_ARCH}/lib/petsc/conf/memoryerror.log; then\
45 …ERROR*************************************\n" 2>&1 | tee -a ${PETSC_ARCH}/lib/petsc/conf/make.log;\
46 …se the memory allocated to the VM and rerun " 2>&1 | tee -a ${PETSC_ARCH}/lib/petsc/conf/make.log;\
47 …********************"${PETSC_TEXT_NORMAL}"\n" 2>&1 | tee -a ${PETSC_ARCH}/lib/petsc/conf/make.log;\
49 …ERROR*************************************\n" 2>&1 | tee -a ${PETSC_ARCH}/lib/petsc/conf/make.log;\
50 … check ${PETSC_ARCH}/lib/petsc/conf/make.log" 2>&1 | tee -a ${PETSC_ARCH}/lib/petsc/conf/make.log;\
[all …]
/petsc/config/BuildSystem/
H A Dscript.py53 def __init__(self, clArgs = None, argDB = None, log = None): argument
55 logger.Logger.__init__(self, clArgs, argDB, log)
124 self.actions.output(self.log)
160 def runShellCommand(command, log=None, cwd=None, env=None): argument
161 return Script.runShellCommandSeq([command], log=log, cwd=cwd, env=env)
164 def runShellCommandSeq(commandseq, log=None, cwd=None, env=None): argument
172 if log: log.write('Executing: %s\n' % (command,))
209 …def executeShellCommand(command, checkCommand = None, timeout = 600.0, log = None, lineLimit = 0, … argument
213 …teShellCommandSeq([command], checkCommand=checkCommand, timeout=timeout, log=log, lineLimit=lineLi…
216 …def executeShellCommandSeq(commandseq, checkCommand = None, timeout = 600.0, log = None, lineLimit… argument
[all …]

1234567