Home
last modified time | relevance | path

Searched refs:append (Results 1 – 25 of 212) sorted by relevance

123456789

/petsc/share/petsc/saws/js/
H A DpopulateLists.js6 $(list).append("<option value=\"multiplicative\">multiplicative</option>");
7 $(list).append("<option value=\"additive\">additive</option>");
8 … $(list).append("<option value=\"symmetric_multiplicative\">symmetric_multiplicative</option>");
9 $(list).append("<option value=\"special\">special</option>");
10 $(list).append("<option value=\"schur\">schur</option>");
15 $(list).append("<option value=\"multiplicative\">multiplicative</option>");
16 $(list).append("<option value=\"additive\">additive</option>");
17 $(list).append("<option value=\"full\">full</option>");
18 $(list).append("<option value=\"kaskade\">kaskade</option>");
23 $(list).append("<option value=\"multiplicative\">multiplicative</option>");
[all …]
/petsc/config/BuildSystem/config/packages/
H A DTrilinos.py128 args.append('-DUSE_XSDK_DEFAULTS=YES')
130 args.append('-DTrilinos_ENABLE_DEBUG=YES')
132 args.append('-DXSDK_ENABLE_DEBUG=NO')
135 args.append('-DTrilinos_ENABLE_EXPLICIT_INSTANTIATION=ON')
138 args.append('-DTrilinos_DISABLE_ENABLED_FORWARD_DEP_PACKAGES=ON')
140 …args.append('-DTrilinos_EXTRA_LINK_FLAGS="'+self.toStringNoDupes(self.flibs.lib+self.cxxlibs.lib+s…
143 args.append('-DTeuchos_ENABLE_FLOAT=OFF')
144 args.append('-DTeuchos_ENABLE_COMPLEX=OFF')
145 args.append('-DTpetra_INST_FLOAT=OFF')
146 args.append('-DTpetra_INST_COMPLEX_FLOAT=OFF')
[all …]
H A DExodusII.py38 args.append('-DPYTHON_EXECUTABLE:PATH='+sys.executable)
39 …args.append('-DPythonInterp_FIND_VERSION:STRING={0}.{1}'.format(sys.version_info[0],sys.version_in…
40 args.append('-DACCESSDIR:PATH='+self.installDir)
41 args.append('-DCMAKE_INSTALL_RPATH:PATH='+os.path.join(self.installDir,'lib'))
42 args.append('-DSeacas_ENABLE_SEACASExodus:BOOL=ON')
44 args.append('-DSeacas_ENABLE_Fortran:BOOL=ON')
45 args.append('-DSeacas_ENABLE_SEACASExoIIv2for32:BOOL=ON')
46 args.append('-DSeacas_ENABLE_SEACASExoIIv2for:BOOL=ON')
47 args.append('-DSeacas_ENABLE_SEACASExodus_for:BOOL=ON')
48 args.append('-DSEACASProj_SKIP_FORTRANCINTERFACE_VERIFY_TEST:BOOL=ON')
[all …]
H A Dkokkos-kernels.py62 args.append('-DKokkos_ROOT='+KokkosRoot)
65 args.append('-DKokkosKernels_INST_COMPLEX_DOUBLE=ON')
67 args.append('-DKokkosKernels_INST_COMPLEX_FLOAT=ON')
72 args.append('-DCMAKE_CXX_COMPILER='+self.getCompiler('CUDA'))
74 …args.append('-DCMAKE_CXX_COMPILER='+self.getCompiler('Cxx')) # use the host CXX compiler, let Kokk…
76 …args.append('-DKokkosKernels_ENABLE_TPL_CUBLAS=OFF') # These are turned ON by KK by default when …
77 args.append('-DKokkosKernels_ENABLE_TPL_CUSPARSE=OFF')
78 args.append('-DKokkosKernels_ENABLE_TPL_CUSOLVER=OFF')
80 args.append('-DCUBLAS_ROOT='+self.cuda.math_libs_dir)
81 args.append('-DCUSPARSE_ROOT='+self.cuda.math_libs_dir)
[all …]
H A Dsundials2.py35 args.append('--with-mpi-root="'+self.mpi.directory+'"')
44 args.append('--with-mpi-incdir="'+self.mpi.include[0]+'"')
46 args.append('--with-mpi-incdir="/usr/include"') # dummy case
49 args.append('--with-mpi-libdir="'+os.path.dirname(self.mpi.lib[0])+'"')
53 if ll.endswith('.a'): libs.append(ll[3:-2])
54 elif ll.endswith('.so'): libs.append(ll[3:-3])
55 elif ll.endswith('.dylib'): libs.append(ll[3:-6])
56 libs.append(ll[3:-2])
58 args.append('--with-mpi-libs="'+libs+'"')
60 args.append('--with-mpi-libdir="/usr/lib"') # dummy case
[all …]
H A DADIOS.py35 args.append('MPICC="'+self.getCompiler()+'"')
39 args.append('MPICXX="'+self.getCompiler()+'"')
43 args.append('MPIFC="'+self.getCompiler()+'"')
46 args.append('--disable-fortran')
48 args.append('--with-phdf5=yes')
49 args.append('--with-phdf5-incdir='+self.installDir)
50 args.append('--with-phdf5-libdir='+self.installDir)
51 args.append('--with-phdf5-libs=" "')
53 args.append('--with-nc4par=yes')
54 args.append('--with-nc4par-incdir='+self.installDir)
[all …]
H A Dhypre.py55 args.append('--disable-fortran')
57 args.append('--without-MPI')
60 args.append('--with-MPI-include="'+self.mpi.include[0]+'"')
64 libdirs.append(ll)
66 args.append('--with-MPI-lib-dirs="'+libdirs+'"')
70 if ll.endswith('.a'): libs.append(ll[3:-2])
71 if ll.endswith('.so'): libs.append(ll[3:-3])
72 if ll.endswith('.dylib'): libs.append(ll[3:-6])
74 args.append('--with-MPI-libs="'+libs+'"')
77 args.append('--with-blas-lib="'+self.libraries.toString(self.blasLapack.dlib)+'"')
[all …]
H A DSTRUMPACK.py50 args.append('-DTPL_BLAS_LIBRARIES="'+self.libraries.toString(self.blasLapack.dlib)+'"')
51 args.append('-DTPL_LAPACK_LIBRARIES="'+self.libraries.toString(self.blasLapack.dlib)+'"')
52 args.append('-DTPL_SCALAPACK_LIBRARIES="'+self.libraries.toString(self.scalapack.lib)+'"')
54 args.append('-DTPL_METIS_LIBRARIES="'+self.libraries.toString(self.metis.lib)+'"')
55 … args.append('-DTPL_METIS_INCLUDE_DIRS="'+self.headers.toStringNoDupes(self.metis.include)[2:]+'"')
58 args.append('-DTPL_ENABLE_PARMETIS=ON')
59 args.append('-DTPL_PARMETIS_LIBRARIES="'+self.libraries.toString(self.parmetis.lib)+'"')
60 …args.append('-DTPL_PARMETIS_INCLUDE_DIRS="'+self.headers.toStringNoDupes(self.parmetis.include)[2:…
62 args.append('-DTPL_ENABLE_PARMETIS=OFF')
65 args.append('-DTPL_ENABLE_SCOTCH=ON')
[all …]
H A DSAMRAI.py46 args.append('F77LIBFLAGS="'+' '.join(self.compilers.flibs)+'"')
47 args.append('--with-MPICC='+self.setCompilers.CC)
48 args.append('--with-hdf5='+self.hdf5.directory)
49 args.append('--with-silo='+self.silo.directory)
50 args.append('--enable-debug')
51 args.append('--disable-opt')
52 args.append('--enable-implicit-template-instantiation')
53 args.append('--disable-deprecated')
54 args.append('--without-hypre')
55 args.append('--without-blaslapack')
[all …]
H A DOpenMPI.py31 args.append('--with-rsh=ssh')
32 args.append('--disable-man-pages')
33 args.append('--disable-sphinx')
34 args.append('MAKE='+self.make.make)
38 args.append('--disable-mpi-f90')
39 args.append('FC=""')
42 args.append('--disable-mpi-f77')
43 args.append('--disable-mpi-f90')
44 args.append('F77=""')
45 args.append('FC=""')
[all …]
H A DElemental.py35 args.append('-DEL_ZERO_INIT=ON')
36 args.append('-DEL_DISABLE_VALGRIND=ON')
37 args.append('-DEL_USE_QT5=OFF') # otherwise we would need Qt5 include paths to compile
38 args.append('-DEL_FORCE_METIS_BUILD=OFF')
39 args.append('-DEL_FORCE_PARMETIS_BUILD=OFF')
40 args.append('-DEL_PREVENT_METIS_DOWNLOAD=ON')
41 args.append('-DEL_PREVENT_PARMETIS_DOWNLOAD=ON')
42 args.append('-DINSTALL_PYTHON_PACKAGE=FALSE')
43 args.append('-DPARMETIS_TEST_RUNS=TRUE')
44 args.append('-DEL_DISABLE_SCALAPACK=ON')
[all …]
H A Dmstk.py35 args.append('-DUSE_XSDK_DEFAULTS=YES')
37 args.append('-DXSDK_ENABLE_DEBUG=YES')
39 args.append('-DXSDK_ENABLE_DEBUG=NO')
41 args.append('-DENABLE_PARALLEL=yes')
45 args.append('-DENABLE_METIS:BOOL=ON')
46 args.append('-DMETIS_DIR:FILEPATH='+self.metis.directory)
48 args.append('-DENABLE_ZOLTAN:BOOL=ON')
50 args.append('-DZOLTAN_DIR:FILEPATH='+self.zoltan.directory)
52 args.append('-DZOLTAN_DIR:FILEPATH='+self.trilinos.directory)
54 args.append('-DZOLTAN_NEEDS_ParMETIS=yes')
[all …]
H A DMOAB.py46 args.append('--enable-debug')
48 args.append('--enable-optimize')
50 args.append('--enable-fortran')
52 args.append('--disable-fortran')
53 args.append('--with-mpi="'+self.mpi.directory+'"')
54 args.append('--with-blas="'+self.libraries.toString(self.blasLapack.dlib)+'"')
55 args.append('--with-lapack="'+self.libraries.toString(self.blasLapack.dlib)+'"')
56 args.append('--enable-tools')
57 args.append('--enable-imesh')
59 args.append('--with-hdf5="'+self.hdf5.directory+'"')
[all …]
H A Dkokkos.py73 args.append('-DUSE_XSDK_DEFAULTS=YES')
75 args.append('-DKokkos_ENABLE_DEPRECATED_CODE_4=OFF')
79 args.append('-DKokkos_ENABLE_COMPLEX_ALIGN=OFF')
82 args.append('-DXSDK_ENABLE_DEBUG=NO')
85 args.append('-DKokkos_ENABLE_MPI=ON')
88 args.append('-DKokkos_ENABLE_HWLOC=ON')
89 args.append('-DKokkos_HWLOC_DIR='+self.hwloc.directory)
92 args.append('-DKokkos_ENABLE_SERIAL=ON')
94 args.append('-DKokkos_ENABLE_THREADS=ON')
95 self.system.append('C++ Threads')
[all …]
H A DPTSCOTCH.py36 args.append('-DFLEX_EXECUTABLE:STRING="'+self.programs.flex+'"')
39 args.append('-DBISON_EXECUTABLE:STRING="'+self.bison.bison+'"')
42 …args.append('-DCMAKE_C_FLAGS:STRING="'+self.updatePackageCFlags(self.getCompilerFlags())+' -USCOTC…
44 args.append('-DINTSIZE:STRING='+ ('64' if self.getDefaultIndexSize() == 64 else '32'))
46 args.append('-DINSTALL_METIS_HEADERS:BOOL=OFF')
47 args.append('-DSCOTCH_METIS_PREFIX:BOOL=ON')
50 args.append('-DCOMMON_FILE_COMPRESS_GZ:BOOL=ON')
52 args.append('-DCOMMON_FILE_COMPRESS_GZ:BOOL=OFF')
56 args.append('-DCOMMON_PTHREAD_BARRIER:BOOL=ON')
58 … args.append('-DCOMMON_PTHREAD_BARRIER:BOOL=OFF') # macOS does not have pthread_barrier_destroy
[all …]
H A DUmpire.py35 args.append('-DUMPIRE_ENABLE_C=ON')
38 args.append('-DUMPIRE_ENABLE_TOOLS=OFF')
39 args.append('-DENABLE_TESTS=OFF')
40 args.append('-DENABLE_BENCHMARKS=OFF')
41 args.append('-DENABLE_EXAMPLES=OFF')
44 args.append('-DENABLE_CUDA={}'.format('ON' if self.cuda.found else 'OFF'))
45 args.append('-DENABLE_HIP={}'.format('ON' if self.hip.found else 'OFF'))
46 args.append('-DENABLE_SYCL={}'.format('ON' if self.sycl.found else 'OFF'))
47 args.append('-DENABLE_OPENMP={}'.format('ON' if self.openmp.found else 'OFF'))
49 args.append('-DENABLE_MPI=ON')
[all …]
H A DMPICH.py61 args.append('--with-pm='+self.argDB['download-mpich-pm'])
62 args.append('--disable-java')
64 args.append('--with-hwloc="'+self.hwloc.directory+'"')
65 args.append('--with-hwloc-prefix="'+self.hwloc.directory+'"')
67 args.append('--without-hwloc')
69 args.append('--with-hwloc=embedded')
72 args.append("--enable-fast=no")
73 args.append("--enable-error-messages=all")
80 args.append('--with-cuda='+self.cuda.cudaDir)
83 …args.append('--with-cuda-sm=all-major') # MPICH stopped supporting 'all' thus we do it with 'all-m…
[all …]
H A Dpragmatic.py30 args.append('-DMETIS_DIR='+self.metis.directory)
31 args.append('-DENABLE_VTK=OFF')
32 args.append('-DENABLE_OPENMP=OFF')
33 args.append('-DEIGEN_INCLUDE_DIR='+self.eigen.include[0])
35 args.append('-DMPI_C_INCLUDE_PATH:STRING=""')
36 args.append('-DMPI_C_COMPILE_FLAGS:STRING=""')
37 args.append('-DMPI_C_LINK_FLAGS:STRING=""')
38 args.append('-DMPI_C_LIBRARIES:STRING=""')
39 args.append('-DMPI_CXX_INCLUDE_PATH:STRING=""')
40 args.append('-DMPI_CXX_COMPILE_FLAGS:STRING=""')
[all …]
H A DRAJA.py49 args.append('-DUSE_XSDK_DEFAULTS=YES')
51 args.append('-DXSDK_ENABLE_DEBUG=NO')
54 args.append('-DENABLE_OPENMP:BOOL=ON')
56 args.append('-DENABLE_OPENMP:BOOL=OFF')
59 args.append('-DENABLE_MPI=ON')
62 args.append('-DRAJA_ENABLE_TESTS=OFF')
63 args.append('-DRAJA_ENABLE_BENCHMARKS=OFF')
64 args.append('-DRAJA_ENABLE_EXAMPLES=OFF')
65 args.append('-DRAJA_ENABLE_EXERCISES=OFF')
67 args.append('-DENABLE_TESTS=OFF')
[all …]
H A DPaStiX.py51 … args.append('-DPKG_CONFIG_EXECUTABLE:STRING=\"{0}\"'.format(getattr(self.programs, 'pkg-config')))
55 args.append('-DPASTIX_WITH_FORTRAN=OFF')
56 args.append('-DPASTIX_LR_TESTINGS=OFF')
59 args.append("-DPASTIX_INT64=ON")
61 args.append("-DPASTIX_INT64=OFF")
64 args.append("-DPASTIX_ORDERING_METIS=ON")
66 args.append("-DPASTIX_ORDERING_METIS=OFF")
69 args.append("-DPASTIX_ORDERING_SCOTCH=ON")
71 args.append("-DPASTIX_ORDERING_SCOTCH=OFF")
74 args.append("-DPASTIX_WITH_MPI=ON")
[all …]
H A DSuperLU_DIST.py47 args.append('-DCMAKE_DISABLE_FIND_PACKAGE_OpenMP=TRUE')
53 args.append('-DTPL_ENABLE_CUDALIB=TRUE')
57 …args.append('-DCMAKE_CUDA_FLAGS="'+self.getCompilerFlags()+' '+self.mpi.includepaths+' '+self.head…
60 args.append('-DTPL_ENABLE_HIPLIB=TRUE')
66 …args.append('-DHIP_HIPCC_FLAGS="'+hipArchFlags+' '+self.getCompilerFlags()+' '+self.mpi.includepat…
68 args.append('-DUSE_XSDK_DEFAULTS=YES')
69 args.append('-DTPL_BLAS_LIBRARIES="'+self.libraries.toString(self.blasLapack.dlib)+'"')
70 args.append('-DTPL_LAPACK_LIBRARIES="'+self.libraries.toString(self.blasLapack.dlib)+'"')
72 args.append('-DTPL_PARMETIS_INCLUDE_DIRS="'+';'.join(self.parmetis.dinclude)+'"')
73 args.append('-DTPL_PARMETIS_LIBRARIES="'+self.libraries.toString(self.parmetis.dlib)+'"')
[all …]
H A Dssl.py33 args.append('--prefix='+self.installDir)
34 args.append('MAKE='+self.make.make)
35 args.append('--libdir='+self.libDir)
39 args.append('CC="'+self.setCompilers.cross_cc+'"')
41 args.append('CC="'+self.getCompiler()+'"')
42 args.append('CFLAGS="'+self.updatePackageCFlags(self.getCompilerFlags())+'"')
43 args.append('AR="'+self.setCompilers.AR+'"')
44 args.append('ARFLAGS="'+self.setCompilers.AR_FLAGS+'"')
46 args.append('LIBS="'+self.setCompilers.cross_LIBS+'"')
48 args.append('LDFLAGS="'+self.setCompilers.LDFLAGS+'"')
/petsc/lib/petsc/bin/maint/
H A Dpetscdt_create_quadrature_headers.py59 rule['weights'].append(weight)
61 rule['nodes'][i].append([mpfr(1) / mpfr(3)])
68 rule['nodes'][i].append([nodes[-1], nodes[0]])
70 rule['nodes'][i].append([nodes[0], nodes[-1]])
74 rule['nodes'][i].append(B)
112 rule['weights'].append((weight * 4) / 3)
114 rule['nodes'][i].append([w])
119 rule['nodes'][i].append([nodes[-1], nodes[0]])
121 rule['nodes'][i].append([nodes[0], nodes[-1]])
124 rule['nodes'][i].append([nodes[0], nodes[-1]])
[all …]
/petsc/config/BuildSystem/config/
H A DcompilerOptions.py50 flags.append('-g')
52 flags.append('-O3')
54 flags.append('-O')
65 flags.append('-g')
66 flags.append('-O3')
98 flags.append(('-Xcompiler', '-fvisibility=hidden'))
108 flags.append('-O3')
114 flags.append('-O1') # defaults to O2, which is quite buggy (as of version 3.3.1)
116 flags.append('-g')
117 flags.append('-traceback=verbose')
[all …]
/petsc/src/benchmarks/
H A DbenchmarkAssembly.py25 times.append(m.Time[0])
32 …events[eventName].append((s.event[eventName].Time[0], s.event[eventName].Flops[0]/(s.event[eventNa…
46 names.append(event)
47 data.append(sizes)
48 data.append(np.array(events[event])[:,0])
49 data.append(style)
60 names.append(event)
61 data.append(sizes)
63 data.append(np.array(events[event])[:,0]/rows/3)
64 data.append(style)
[all …]

123456789