Home
last modified time | relevance | path

Searched +full:linux +full:- +full:clang +full:- +full:cuda (Results 1 – 11 of 11) sorted by relevance

/petsc/
H A D.gitlab-ci.yml2 # stage-1 take only a few minutes; they do not run the full test suite or external packages.
4 # stage-2 runs on MCS systems and may take 10 to 15 minutes. They run the full test suite but with …
6 # stage-3 runs on MCS systems and may take an hour or more. They run the full test suite and heavil…
8 # The stage-(n) tests are only started if all of the stage-(n-1) tests run without error
13 - stage-1
14 - stage-2
15 - stage-3
16 - stage-4
19 GIT_CLEAN_FLAGS: -ffdxq
21 BASE_EXTRA_OPTIONS: -nox -nox_warning -malloc_dump
[all …]
/petsc/doc/install/
H A Dinstall.md8 See {ref}`quick-start tutorial <tut_install>` for a step-by-step walk-through of the installation p…
25 $ ./config/examples/arch-ci-osx-dbg.py
30 your recommendations to <mailto:petsc-maint@mcs.anl.gov>. See bug report {ref}`documentation
34 - If you do not have a Fortran compiler or [MPICH](https://www.mpich.org/) installed
38 $ ./configure --with-cc=gcc --with-cxx=0 --with-fc=0 --download-f2cblaslapack --download-mpich
41 - Same as above - but install in a user specified (prefix) location.
44 …$ ./configure --prefix=/home/user/soft/petsc-install --with-cc=gcc --with-cxx=0 --with-fc=0 --down…
47 - If [BLAS/LAPACK], MPI sources (in "-devel" packages in most Linux distributions) are already
49 via `$PATH` - configure does not require any additional options.
55 - If [BLAS/LAPACK], MPI are already installed in known user location use:
[all …]
/petsc/config/examples/
H A Darch-ci-linux-cuda-double-64idx.py4 petsc_hash_pkgs=os.path.join(os.getenv('HOME'),'petsc-hash-pkgs')
12 '--package-prefix-hash='+petsc_hash_pkgs,
13 '--with-make-test-np=2',
14 '--download-openmpi=1',
15 '--download-hypre=1',
16 '--download-hwloc=1',
17 'COPTFLAGS=-g -O',
18 'FOPTFLAGS=-g -O',
19 'CXXOPTFLAGS=-g -O',
20 '--with-64-bit-indices=1',
[all …]
H A Darch-ci-linux-cuda-single-cxx.py4 petsc_hash_pkgs=os.path.join(os.getenv('HOME'),'petsc-hash-pkgs')
12 '--package-prefix-hash='+petsc_hash_pkgs,
13 '--with-make-test-np=15',
14 'COPTFLAGS=-g -O',
15 'FOPTFLAGS=-g -O',
16 'CXXOPTFLAGS=-g -O',
17 '--with-fortran-bindings=0',
18 '--with-log=0',
19 '--with-info=0',
20 '--with-cuda=1',
[all …]
/petsc/lib/petsc/bin/maint/
H A Drunjobs.py6 # runjobs.py [-f] [job1 job2 ... jobN]
10 # -f: when commits in the local "branch" are not in sync with "origin/branch" - runjobs.py will no…
11 # for the specified "jobs list". Use '-f' to force the creation of this commit [and then use '…
12 # branch's contents at GitLab] - if the intention is to overwrite these differences with your …
16 # lib/petsc/bin/maint/runjobs.py -f linux-cuda-pkgs
17 # lib/petsc/bin/maint/runjobs.py -f freebsd-cxx-pkgs-opt linux-clang-avx linux-clang-ubsan
18 …maint/runjobs.py -f $(grep -lE "download-(mpich|openmpi)" config/examples/arch-ci-*.py | cut -d '/…
20 # Note: If no jobs are listed, then all jobs in the pipeline are run but without a need to un-paus…
27 if ('-f' in jobs):
29 jobs.remove('-f')
[all …]
/petsc/config/BuildSystem/config/
H A DcompilerOptions.py17 output = self.executeShellCommand(compiler + ' -show', log = self.log)[0]
28 flags.extend(['-Wall', '-Wwrite-strings', '-Wno-unknown-pragmas'])
30 # gcc does not support -Wno-implicit-float-conversion so -Wconversion is always noisy
31 …flags.extend(['-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-floa…
33 flags.extend(['-fno-stack-check'])
35 flags.extend(['-Wno-lto-type-mismatch'])
37 flags.extend(['-Wno-stringop-overflow'])
39 … flags.extend(['-mfp16-format=ieee']) # ARM for utilizing 16 bit storage of floating point
40 # skip -fstack-protector for brew gcc - as this gives SEGV
42 flags.extend(['-fstack-protector'])
[all …]
H A DsetCompilers.py36 isARM_value = -1
80 self._setupCompiler('CUDA',desc)
116 …help.addArgument('Compilers', '-with-cpp=<prog>', nargs.Arg(None, None, 'Specify the C preprocesso…
117 …help.addArgument('Compilers', '-CPP=<prog>', nargs.Arg(None, None, 'Specify the C prepr…
118 …help.addArgument('Compilers', '-CPPFLAGS=<string>', nargs.Arg(None, None, 'Specify the C only …
119 … help.addArgument('Compilers', '-with-cc=<prog>', nargs.Arg(None, None, 'Specify the C compiler'))
120 …help.addArgument('Compilers', '-CC=<prog>', nargs.Arg(None, None, 'Specify the C compi…
121 …help.addArgument('Compilers', '-CFLAGS=<string>', nargs.Arg(None, None, 'Overwrite the defau…
123 …help.addArgument('Compilers', '-CFLAGS+=<string>', nargs.Arg(None, None, 'Add to the default …
124 …help.addArgument('Compilers', '-CC_LINKER_FLAGS=<string>', nargs.Arg(None, [], 'Specify the C lin…
[all …]
H A Dcompilers.py10 if not line.startswith('ld: warning: text-based stub file'): retbuf.append(line)
41 self.skipdefaultpaths.append(os.path.join(loc,arch+'-linux-gnu'))
51 …help.addArgument('Compilers','-with-clib-autodetect=<bool>', nargs.ArgBool(None,1,'Autodetect…
52 …help.addArgument('Compilers','-with-fortranlib-autodetect=<bool>',nargs.ArgBool(None,1,'Autodetect…
53 …help.addArgument('Compilers','-with-cxxlib-autodetect=<bool>', nargs.ArgBool(None,1,'Autodetect…
54 …help.addArgument('Compilers','-with-dependencies=<bool>', nargs.ArgBool(None,1,'Compile wi…
62 names['CUDAC'] = 'No CUDA compiler found.'
63 names['CUDAPP'] = 'No CUDA preprocessor found.'
77 for language in ['C', 'CUDA', 'HIP', 'SYCL', 'Cxx', 'FC']:
88 names['CUDAPPFLAGS'] = 'No CUDA preprocessor flags found.'
[all …]
/petsc/config/BuildSystem/config/packages/
H A DCUDA.py9 self.versioninclude = 'cuda.h'
15 # CUDA provides 2 variants of libcuda.so (for access to CUDA driver API):
16 # - fully functional compile, runtime libraries installed with the GPU driver
18 # - stub library - usable only for compiles
19 …# (for ex:) /usr/local/cuda/lib64/stubs/libcuda.so (without corresponding libcuda.so.1 for runt…
20 …# We are preferring this stub library - as it enables compiles on non-GPU nodes (for ex: login nod…
21 … # Using RPATH to this stub location is not appropriate - so skipping via libraries.rpathSkipDirs()
22 …# Note: PETSc does not use CUDA driver API (as of Sep 29, 2021), but external package for ex: Kokk…
25 self.stubliblist = [['libcuda.so','libnvidia-ml.so']]
26 …my' # existence of self.liblist is used by package.py to determine if --with-cuda-lib must be prov…
[all …]
/petsc/doc/developers/
H A Dstyle.md7 terminology *subclass*, *implementation*, or *type* [^footnote-1] to refer to a
27 - have an appended `_Private` (for example, `StashValues_Private`)
29 - have an appended `_Subtype` (for example, `MatMultSeq_AIJ`).
44 06. Each application-usable function begins with the name of the class
49 07. Functions that PETSc provides as defaults for user-providable
54 the word “set” or “get”, for example, `-ksp_gmres_restart`.
64 12. Use the abbreviation NaN for Not-a-Number.
71 is a signed 32-bit or 64-bit `int` depending on the `./configure` option
72 `--with-64-bit-indices`. There is the possibility of integer overflow with the
73 32-bit version.
[all …]
/petsc/config/PETSc/
H A DConfigure.py27 banner_middle = '=' * (logger.get_global_divider_length() - 2 * len(banner_ends))
40 …help.addArgument('PETSc', '-prefix=<dir>', nargs.Arg(None, '', 'Spec…
41 …help.addArgument('PETSc', '-with-prefetch=<bool>', nargs.ArgBool(None, 1,'En…
42 …help.addArgument('Windows','-with-windows-graphics=<bool>', nargs.ArgBool(None, 1,'En…
43 …help.addArgument('PETSc', '-with-default-arch=<bool>', nargs.ArgBool(None, 1, 'A…
44 …p.addArgument('PETSc','-with-single-library=<bool>', nargs.ArgBool(None, 1,'Put a…
45 …help.addArgument('PETSc','-with-fortran-bindings=<bool>', nargs.ArgBool(None, 1,'Bu…
46 …help.addArgument('PETSc', '-with-library-name-suffix=<string>', nargs.Arg(None, '', 'Add …
47 …help.addArgument('PETSc', '-with-ios=<bool>', nargs.ArgBool(None, 0, 'B…
48 …help.addArgument('PETSc', '-with-display=<x11display>', nargs.Arg(None, '', 'Spec…
[all …]