Home
last modified time | relevance | path

Searched +full:linux +full:- +full:cuda +full:- +full:double (Results 1 – 12 of 12) 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/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 …]
/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/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 …]
H A Dhypre.py13 …e321e1d78882c62eade880dd6f3ae7' #v3.1.0 + fixes from https://github.com/hypre-space/hypre/pull/1463
14 …self.download = ['git://https://github.com/hypre-space/hypre','https://github.com/hypre-spa…
19 self.precisions = ['single', 'double', '__float128']
26 …help.addArgument('HYPRE', '-with-hypre-gpu-arch=<string>', nargs.ArgString(None, 0, 'Value passed…
27 …help.addArgument('HYPRE', '-download-hypre-openmp', nargs.ArgBool(None, 1, 'Let hypre use OpenMP i…
37 self.cuda = framework.require('config.packages.CUDA',self)
47 self.odeps = [self.cuda,self.hip,self.openmp,self.umpire,self.caliper]
55 args.append('--disable-fortran')
57 args.append('--without-MPI')
59 … # just use the first dir - and assume the subsequent one isn't necessary [relevant only on AIX?]
[all …]
/petsc/config/BuildSystem/config/
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/doc/faq/
H A Dindex.md22 …e: A Guide to Good Style](https://www.cambridge.org/core/books/writing-scientific-software/2320670…
32 - Fast, **low-latency** interconnect; any ethernet (even 10 GigE) simply cannot provide
34 - High per-core **memory** performance. Each core needs to
72 - [MPICH2 binding with the Hydra process manager](https://github.com/pmodels/mpich/blob/main/doc/wi…
75 $ mpiexec.hydra -n 4 --binding cpu:sockets
78 - [Open MPI binding](https://www.open-mpi.org/faq/?category=tuning#using-paffinity)
81 $ mpiexec -n 4 --map-by socket --bind-to socket --report-bindings
84 - `taskset`, part of the [util-linux](https://github.com/karelzak/util-linux) package
89 - `numactl`
92 policy. On Linux, the default policy is to attempt to find memory on the same memory bus
[all …]
/petsc/doc/developers/
H A Dtesting.md7 - Formatted comments at the bottom of the tutorials and test source files that describes the tests …
8 - The *test generator* (`config/gmakegentest.py`) that parses the tutorial and test source files an…
10 - The *PETSc test harness* that consists of makefile and shell scripts that runs the executables wi…
35 args: -debug -fields v1,v2,v3
38 args: -foo bar
44 - A single shell script
46 - A single makefile
48 - An output file that represents the *expected results*. It is also possible -- though unusual -- t…
50 - Two or more command tests, usually:
52 - one or more `mpiexec` tests that run the executable
[all …]
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 …]
/petsc/doc/
H A Dpetsc.bib3 % bibtool petsc.bib -- expand.macros=on -- print.line.length=100 -- pass.comments=on
17 % LiteralHTML: <a name="nano"><H3><center>Nano-simulations</center></H3>
19 @Misc{ semver-webpage,
25 title = {{D}-stability and {K}aps-{R}entrop-methods},
30 pages = {229--237},
41 pages = {93--113},
55 …title = {Generalized {R}unge--{K}utta methods of order four with stepsize control for sti…
59 pages = {55--68},
73 …gorithm for Structural Dynamics With Improved Numerical Dissipation: The Generalized-alpha Method},
77 pages = {371-375},
[all …]