Home
last modified time | relevance | path

Searched refs:arch (Results 1 – 25 of 82) sorted by relevance

1234

/petsc/src/binding/petsc4py/src/petsc4py/lib/
H A D__init__.py28 def ImportPETSc(arch=None): argument
32 path, arch = getPathArchPETSc(arch)
33 return Import('petsc4py', 'PETSc', path, arch)
36 def getPathArchPETSc(arch=None): argument
44 path, arch = getPathArch(path, arch, rcvar, rcfile)
45 return (path, arch)
51 def Import(pkg, name, path, arch): argument
71 def import_module(pkg, name, path, arch): argument
73 pathlist = [os.path.join(path, arch)]
92 if arch is not None and arch != module.__arch__:
[all …]
H A D__init__.pyi4 def ImportPETSc(arch: str | None = ...) -> ModuleType: ...
5 def getPathArchPETSc(arch: str | None = ...) -> tuple[str, str]: ...
8 def Import(pkg: str, name: str, path: str, arch: str) -> ModuleType: ...
9 def getPathArch(path: str, arch: str, rcvar: str = ..., rcfile: str = ...) -> tuple[str, str]: ...
/petsc/config/PETSc/options/
H A Darch.py15 return ' PETSC_ARCH: '+str(self.arch)+'\n'
32 arch = 'arch-' + sys.platform.replace('cygwin','mswin')
34 arch+= '-'+self.framework.argDB['with-clanguage'].lower().replace('+','x')
36 arch += '-debug'
38 arch += '-opt'
39 self.nativeArch = arch
50 self.arch = self.framework.argDB['with-petsc-arch']
51 msg = 'option -with-petsc-arch='+str(self.arch)
53 self.arch = self.framework.argDB['PETSC_ARCH']
54 msg = 'option PETSC_ARCH='+str(self.arch)
[all …]
H A DinstallDir.py28 self.arch = framework.require('PETSc.options.arch', self)
46 self.dir = os.path.abspath(os.path.join(self.petscdir.dir, self.arch.arch))
48 self.petscArch = self.arch.arch
50 self.confDir = os.path.abspath(os.path.join(self.petscdir.dir, self.arch.arch))
54 dir = os.path.abspath(os.path.join(self.petscdir.dir, self.arch.arch))
78 ….reconfigure_file = os.path.join(self.dir,'lib','petsc','conf','reconfigure-'+self.arch.arch+'.py')
81 self.save_reconfigure_file = '.save.reconfigure-'+self.arch.arch+'.py'
H A Dexternalpackagesdir.py12 self.arch = framework.require('PETSc.options.arch',self)
18 self.dir = os.path.join(os.path.abspath(os.path.join(self.arch.arch)), 'externalpackages')
20 self.dir = os.path.join(self.framework.externalPackagesDir,self.arch.arch)
/petsc/src/benchmarks/
H A DbenchmarkExample.py18 def arch(self): member in PETSc
25 mpiexec = os.path.join(self.dir(), self.arch(), 'bin', 'mpiexec')
32 return os.path.join(self.dir(), self.arch(), 'lib', library.lower(), 'ex'+str(num))
184 for arch in arches:
185 data.append(sizes[arch])
186 data.append(times[arch])
205 for arch, style in zip(arches, ['-', ':']):
206 if event in events[arch][bs]:
207 names.append(arch+'-'+str(bs)+' '+event)
208 data.append(sizes[arch][bs])
[all …]
/petsc/systems/Apple/OSX/bin/
H A Dmakeall17 export PETSC_ARCH=arch-osx-debug
18 rm -rf arch-osx-debug
19 ./systems/Apple/OSX/bin/arch-osx-debug.py
23 export PETSC_ARCH=arch-osx-release
24 rm -rf arch-osx-release
25 ./systems/Apple/OSX/bin/arch-osx-release.py
/petsc/lib/petsc/bin/maint/
H A Drunjobs.py72 for arch in arches.copy():
73 if ci.find('TEST_ARCH: arch-ci-'+arch) > -1:
74 arches.remove(arch)
106 arch = a[test_arch+19:] variable
107 n = arch.find('\n')
109 arch = arch[:n] variable
110 if arch in jobs:
H A Dexampleslog.py184 def getLogLink(self,arch): argument
188 return '<td class="border"><a href=\"examples_'+arch+'.log\">[log]</a></td>'
253 archstr=[arch.replace(branch+'_','').replace("arch-",'') for arch in arches]
319 archstr=[arch.replace(branch+'_','').replace("arch-",'') for arch in arches]
369 archstr=[arch.replace(branch+'_','').replace("arch-",'') for arch in arches]
/petsc/src/ksp/ksp/tests/benchmarkscatters/
H A DBaseline-MPICH-82 ./ex1 on a arch-opt-mpich named thing05.ftm.alcf.anl.gov with 8 processors, by bsmith Thu Nov 12 23…
4 …download-fblaslapack --download-hwloc --download-mpich --with-debugging=0 PETSC_ARCH=arch-opt-mpich
9 Using PETSc arch: arch-opt-mpich
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 …
16 …: -I/home/bsmith/petsc/arch-opt-mpich/include -I/home/bsmith/petsc/include -I/home/bsmith/petsc/in…
19 Using C linker: /home/bsmith/petsc/arch-opt-mpich/bin/mpicc
20 Using Fortran linker: /home/bsmith/petsc/arch-opt-mpich/bin/mpif90
21arch-opt-mpich/lib -L/home/bsmith/petsc/arch-opt-mpich/lib -lpetsc -Wl,-rpath,/home/bsmith/petsc/a…
23 …g -O -I/home/bsmith/petsc/arch-opt-mpich/include -L/home/bsmith/petsc/arch-opt-mpich/lib -Wl,-rpat…
H A DBaseline-MPICH-162 ./ex1 on a arch-opt-mpich named thing05.ftm.alcf.anl.gov with 16 processors, by bsmith Thu Nov 12 2…
4 …download-fblaslapack --download-hwloc --download-mpich --with-debugging=0 PETSC_ARCH=arch-opt-mpich
9 Using PETSc arch: arch-opt-mpich
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 …
16 …: -I/home/bsmith/petsc/arch-opt-mpich/include -I/home/bsmith/petsc/include -I/home/bsmith/petsc/in…
19 Using C linker: /home/bsmith/petsc/arch-opt-mpich/bin/mpicc
20 Using Fortran linker: /home/bsmith/petsc/arch-opt-mpich/bin/mpif90
21arch-opt-mpich/lib -L/home/bsmith/petsc/arch-opt-mpich/lib -lpetsc -Wl,-rpath,/home/bsmith/petsc/a…
23 …g -O -I/home/bsmith/petsc/arch-opt-mpich/include -L/home/bsmith/petsc/arch-opt-mpich/lib -Wl,-rpat…
H A Dex1.c79 …char arch[128], hostname[128], username[128], pname[PETSC_MAX_PATH_LEN], date[128], … in PetscLogView_VecScatter() local
88 PetscCall(PetscGetArchType(arch, sizeof(arch))); in PetscLogView_VecScatter()
94 …intf(viewer, "%s on a %s named %s with %d processors, by %s %s\n", pname, arch, hostname, size, us… in PetscLogView_VecScatter()
H A DBaseline-Intel-82 ./ex1 on a arch-opt named thing05.ftm.alcf.anl.gov with 8 processors, by bsmith Thu Nov 12 23:28:12…
9 Using PETSc arch: arch-opt
16 …ths: -I/home/bsmith/petsc/arch-opt/include -I/home/bsmith/petsc/include -I/home/bsmith/petsc/inclu…
21arch-opt/lib -L/home/bsmith/petsc/arch-opt/lib -lpetsc -Wl,-rpath,/soft/compilers/intel/compilers_…
/petsc/config/PETSc/
H A DConfigure.py32 …(' %s PETSC_DIR=%s PETSC_ARCH=%s all' % (self.make.make_user, self.petscdir.dir, self.arch.arch))
64 utilityObj.archProvider = self.arch
80 self.arch = framework.require('PETSc.options.arch', self.setCompilers)
81 self.petscdir = framework.require('PETSc.options.petscdir', self.arch)
165 if not os.path.exists(os.path.join(self.petscdir.dir,self.arch.arch,'lib','pkgconfig')):
166 os.makedirs(os.path.join(self.petscdir.dir,self.arch.arch,'lib','pkgconfig'))
167 with open(os.path.join(self.petscdir.dir,self.arch.arch,'lib','pkgconfig',petsc_pc),'w') as fd:
172 fd.write('prefix='+os.path.join(self.petscdir.dir, self.arch.arch)+'\n')
222 …if not os.path.exists(os.path.join(self.petscdir.dir,self.arch.arch,'lib','petsc','conf','modules'…
223 os.makedirs(os.path.join(self.petscdir.dir,self.arch.arch,'lib','petsc','conf','modules'))
[all …]
/petsc/src/sys/tests/
H A Dex5f.F9011 character*(80) arch
17 PetscCallA(PetscGetArchType(arch, ierr))
18 write (6, 100) arch
/petsc/src/snes/tutorials/output/
H A Dex19_tut_4.out9 ./ex19 on a arch-ubuntu-mb-double-extra-opt named pdsbox with 1 processor, by patrick Fri Jul 27 15…
120 Configure options: PETSC_DIR=/home/patrick/petsc-mb PETSC_ARCH=arch-ubuntu-mb-double-extra-opt --wi…
125 Using PETSc arch: arch-ubuntu-mb-double-extra-opt
128 Using C compiler: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpicc -Wall -Wwrite…
129 Using Fortran compiler: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpif90 -Wall -…
132 Using include paths: -I/home/patrick/petsc-mb/include -I/home/patrick/petsc-mb/arch-ubuntu-mb-doubl…
135 Using C linker: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpicc
136 Using Fortran linker: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpif90
137arch-ubuntu-mb-double-extra-opt/lib -L/home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/lib -…
H A Dex19_tut_6.out9 ./ex19 on a arch-ubuntu-mb-double-extra-opt named pdsbox with 4 processors, by patrick Fri Jul 27 1…
125 Configure options: PETSC_DIR=/home/patrick/petsc-mb PETSC_ARCH=arch-ubuntu-mb-double-extra-opt --wi…
130 Using PETSc arch: arch-ubuntu-mb-double-extra-opt
133 Using C compiler: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpicc -Wall -Wwrite…
134 Using Fortran compiler: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpif90 -Wall -…
137 Using include paths: -I/home/patrick/petsc-mb/include -I/home/patrick/petsc-mb/arch-ubuntu-mb-doubl…
140 Using C linker: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpicc
141 Using Fortran linker: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpif90
142arch-ubuntu-mb-double-extra-opt/lib -L/home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/lib -…
H A Dex19_tut_5.out9 ./ex19 on a arch-ubuntu-mb-double-extra-opt named pdsbox with 1 processor, by patrick Fri Jul 27 15…
129 Configure options: PETSC_DIR=/home/patrick/petsc-mb PETSC_ARCH=arch-ubuntu-mb-double-extra-opt --wi…
134 Using PETSc arch: arch-ubuntu-mb-double-extra-opt
137 Using C compiler: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpicc -Wall -Wwrite…
138 Using Fortran compiler: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpif90 -Wall -…
141 Using include paths: -I/home/patrick/petsc-mb/include -I/home/patrick/petsc-mb/arch-ubuntu-mb-doubl…
144 Using C linker: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpicc
145 Using Fortran linker: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpif90
146arch-ubuntu-mb-double-extra-opt/lib -L/home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/lib -…
H A Dex19_tut_7.out9 ./ex19 on a arch-ubuntu-mb-double-extra-opt named pdsbox with 4 processors, by patrick Fri Jul 27 1…
138 Configure options: PETSC_DIR=/home/patrick/petsc-mb PETSC_ARCH=arch-ubuntu-mb-double-extra-opt --wi…
143 Using PETSc arch: arch-ubuntu-mb-double-extra-opt
146 Using C compiler: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpicc -Wall -Wwrite…
147 Using Fortran compiler: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpif90 -Wall -…
150 Using include paths: -I/home/patrick/petsc-mb/include -I/home/patrick/petsc-mb/arch-ubuntu-mb-doubl…
153 Using C linker: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpicc
154 Using Fortran linker: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpif90
155arch-ubuntu-mb-double-extra-opt/lib -L/home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/lib -…
/petsc/config/BuildSystem/config/packages/
H A DMOOSE.py29arch,'externalpackages','git.moose')+'\nexport PACKAGES_DIR='+os.path.join('${PETSC_DIR}',self.arc…
H A DAMReX.py73 args.append('-DPETSC_ARCH='+self.arch)
74 args.append('-DHYPRE_ROOT='+os.path.join(self.petscdir.dir,self.arch))
78 args.append('-DHYPRE_ROOT='+os.path.join(self.petscdir.dir,self.arch))
116 self.include_a = '-I'+os.path.join(self.petscdir.dir,self.arch,'include')
117 self.lib_a = [os.path.join(self.petscdir.dir,self.arch,'lib',self.liblist[0][0])]
127 prefix = os.path.join(self.petscdir.dir,self.arch)
/petsc/src/binding/petsc4py/conf/
H A Dconfpetsc.py450 def get_config_arch(self, arch): argument
451 return config.Configure(self.petsc_dir, arch)
464 for arch in arch_list:
465 conf = self.get_config_arch(arch)
524 petsc_arch = [arch for arch in petsc_arch if arch]
532 for arch in petsc_arch:
533 arch_path = os.path.join(petsc_dir, arch)
535 valid_archs.append(arch)
537 log.warn('invalid PETSC_ARCH: %s (ignored)' % arch)
630 def _build_ext_arch(self, ext, pkgpath, arch): argument
[all …]
/petsc/systems/Apple/iOS/bin/
H A Dmakeall16 export PETSC_ARCH=arch-ios-simulator
18 ./systems/Apple/iOS/bin/arch-ios-simulator.py
/petsc/src/binding/petsc4py/src/petsc4py/
H A D__init__.py23 def init(args=None, arch=None, comm=None): argument
42 PETSc = petsc4py.lib.ImportPETSc(arch)
/petsc/src/sys/error/
H A Derrtrace.c49 static char arch[128], hostname[128], username[128], pname[PETSC_MAX_PATH_LEN], date[128]; variable
62 PetscCall(PetscGetArchType(arch, sizeof(arch))); in PetscErrorPrintfInitialize()
236 … process(es) and PETSC_ARCH %s on %s by %s %s\n", pname, PetscGlobalSize, arch, hostname, username… in PetscTraceBackErrorHandler()

1234