Home
last modified time | relevance | path

Searched refs:cc (Results 1 – 25 of 76) sorted by relevance

1234

/petsc/lib/petsc/bin/maint/
H A Dabicheck.py103 def run_abi_checker(petsc_dir, petsc_arch, abi_dir, oldxml, newxml, cc, rformat): argument
111 …, '-l', 'petsc', '--lang=C', '-old', oldxml, '-new', newxml, '--gcc-path', cc, '--report-path', re…
130 cc = ''
136 cc = ccstring.split('=')[1].strip()
137 if not isGNU(cc):
138 raise RuntimeError('The compiler %s is not a GNU compiler.\n'% (cc))
164 ierr = run_abi_checker(new_dir, new_arch, abi_dir, oldxml, newxml, cc, rformat)
/petsc/src/ts/tutorials/
H A Dex29.c30 Vec c, cc, ccl; in CoefficientCoarsenHook() local
44 PetscCall(DMGetNamedGlobalVector(cdmc, "coefficient", &cc)); in CoefficientCoarsenHook()
48 PetscCall(MatRestrict(J, c, cc)); in CoefficientCoarsenHook()
49 PetscCall(VecPointwiseMult(cc, vscale, cc)); in CoefficientCoarsenHook()
54 PetscCall(DMGlobalToLocalBegin(cdmc, cc, INSERT_VALUES, ccl)); in CoefficientCoarsenHook()
55 PetscCall(DMGlobalToLocalEnd(cdmc, cc, INSERT_VALUES, ccl)); in CoefficientCoarsenHook()
58 PetscCall(DMRestoreNamedGlobalVector(cdmc, "coefficient", &cc)); in CoefficientCoarsenHook()
70 Vec c, cc; in CoefficientSubDomainRestrictHook() local
83 PetscCall(DMGetNamedLocalVector(csubdm, "coefficient", &cc)); in CoefficientSubDomainRestrictHook()
87 PetscCall(VecScatterBegin(*gscat, c, cc, INSERT_VALUES, SCATTER_FORWARD)); in CoefficientSubDomainRestrictHook()
[all …]
/petsc/src/sys/classes/draw/utils/
H A Daxisc.c44 ad->cc = PETSC_DRAW_BLACK; in PetscDrawAxisCreate()
98 PetscErrorCode PetscDrawAxisSetColors(PetscDrawAxis axis, int ac, int tc, int cc) in PetscDrawAxisSetColors() argument
104 PetscValidLogicalCollectiveInt(axis, cc, 4); in PetscDrawAxisSetColors()
107 axis->cc = cc; in PetscDrawAxisSetColors()
250 int i, ntick, numx, numy, ac, tc, cc; in PetscDrawAxisDraw() local
269 cc = axis->cc; in PetscDrawAxisDraw()
318 PetscCall(PetscDrawStringCentered(draw, x, y, cc, axis->toplabel)); in PetscDrawAxisDraw()
338 PetscCall(PetscDrawStringCentered(draw, tickloc[i], axis->ylow - 1.5 * th, cc, p)); in PetscDrawAxisDraw()
346 PetscCall(PetscDrawStringCentered(draw, x, y, cc, axis->xlabel)); in PetscDrawAxisDraw()
368 …cCall(PetscDrawString(draw, axis->xlow - ((PetscReal)len + .5) * tw, tickloc[i] - .5 * th, cc, p)); in PetscDrawAxisDraw()
[all …]
/petsc/lib/petsc/bin/
H A Dtaucc.py76 cc='gcc'
89 cc = argsplit[1]
137 … cmd3 = cc + ' -c ' + tau_file + ' -o ' + obj_file + arglist + tau_defs + tau_include +tau_mpi_inc
153 cmd1 = cc + ' ' + objarg +' ' + arglist + libarg + tau_mpi_libs + tau_libs + tau_cxxlibs
/petsc/config/BuildSystem/config/packages/
H A Dzstd.py29 cc = self.getCompiler()
33 …onfig.package.Package.executeShellCommand(self.make.make_jnp_list + ['CC='+cc, 'CFLAGS='+cflags, '…
H A Dfblaslapack.py37 cc = self.compilers.CC
38 line = 'CC = '+cc+'\n'
H A Df2cblaslapack.py62 cc = self.compilers.CC
63 line = 'CC = '+cc+'\n'
H A DMAGMA.py72 cc = self.getCompiler()
146 g.write('CC = '+cc+'\n')
/petsc/doc/install/
H A Dinstall.md38 $ ./configure --with-cc=gcc --with-cxx=0 --with-fc=0 --download-f2cblaslapack --download-mpich
44 …$ ./configure --prefix=/home/user/soft/petsc-install --with-cc=gcc --with-cxx=0 --with-fc=0 --down…
64 …$ ./configure --with-blaslapack-dir=/usr/local/blaslapack --with-cc=/usr/local/mpich/bin/mpicc --w…
78 Do not specify `--with-cc`, `--with-fc` etc for the above when using
85 …$ ./configure --with-cc=gcc --with-fc=gfortran --with-cxx=g++ --with-clanguage=cxx --download-fbla…
93 …$ ./configure PETSC_ARCH=linux-gnu --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-mpich
95 …$ ./configure PETSC_ARCH=linux-gnu-intel --with-cc=icc --with-cxx=icpc --with-fc=ifort --download-…
109 3. `cc`/`CC` etc..
112 - Specify compilers using the options `--with-cc`/`--with-cxx`/`--with-fc` for c,
116 $ ./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran
[all …]
H A Dwindows.md125 $ ./configure --with-cc='win32fe_cl' --with-fc='win32fe_ifort' --with-cxx='win32fe_cl' --with-mpi=0…
131 $ ./configure --with-cc='win32fe_cl' --with-fc=0 --with-cxx=0 --download-f2cblaslapack
135 …I C/C++ compiler `icl` or `icx` instead of Microsoft `cl`, for ex: `--with-cc=win32fe_icl --with-c…
136 - A shorter form `--with-cc=cl` that translates to `--with-cc=win32fe_cl` is also supported. Simila…
164 $ ./configure --with-cc='win32fe_cl' --with-fc='win32fe_ifort' --with-cxx='win32fe_cl' \
H A Dinstall_tutorial.md19 $ ./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-mpich --download-fblaslapa…
78 $ printf '#include<stdio.h>\nint main(){printf("cc OK!\\n");}' > t.c && cc t.c && ./a.out && rm -f …
/petsc/src/ksp/ksp/impls/gmres/pgmres/
H A Dpgmres.c238 PetscScalar *hh, *cc, *ss, *rs; in KSPPGMRESUpdateHessenberg() local
245 cc = CC(0); /* beginning of cosine rotations */ in KSPPGMRESUpdateHessenberg()
265 hh[j] = PetscConj(cc[j]) * hhj + ss[j] * hh[j + 1]; in KSPPGMRESUpdateHessenberg()
266 hh[j + 1] = -ss[j] * hhj + cc[j] * hh[j + 1]; in KSPPGMRESUpdateHessenberg()
288 cc[it] = hh[it] / delta; /* new cosine value */ in KSPPGMRESUpdateHessenberg()
291 hh[it] = PetscConj(cc[it]) * hh[it] + ss[it] * hh[it + 1]; in KSPPGMRESUpdateHessenberg()
293 rs[it] = PetscConj(cc[it]) * rs[it]; in KSPPGMRESUpdateHessenberg()
/petsc/src/benchmarks/streams/
H A DOpenMPVersionLikeMPI.c69 const double *cc = c[j]; in main() local
71 for (register int i = 0; i < n; i++) aa[i] = bb[i] + scalar * cc[i]; in main()
/petsc/src/ksp/ksp/impls/gmres/
H A Dgmres.c37 PetscInt hh, hes, rs, cc; in KSPSetUp_GMRES() local
46 cc = (max_k + 1); in KSPSetUp_GMRES()
48 …res->hh_origin, hes, &gmres->hes_origin, rs, &gmres->rs_origin, cc, &gmres->cc_origin, cc, &gmres-… in KSPSetUp_GMRES()
349 PetscScalar *hh, *cc, *ss, tt; in KSPGMRESUpdateHessenberg() local
355 cc = CC(0); in KSPGMRESUpdateHessenberg()
362 *hh = PetscConj(*cc) * tt + *ss * *(hh + 1); in KSPGMRESUpdateHessenberg()
364 *hh = *cc++ * *hh - (*ss++ * tt); in KSPGMRESUpdateHessenberg()
380 *cc = *hh / tt; in KSPGMRESUpdateHessenberg()
383 *GRS(it) = PetscConj(*cc) * *GRS(it); in KSPGMRESUpdateHessenberg()
384 *hh = PetscConj(*cc) * *hh + *ss * *(hh + 1); in KSPGMRESUpdateHessenberg()
/petsc/src/ksp/ksp/impls/gmres/fgmres/
H A Dfgmres.c304 PetscScalar *hh, *cc, *ss, tt; in KSPFGMRESUpdateHessenberg() local
311 cc = CC(0); /* beginning of cosine rotations */ in KSPFGMRESUpdateHessenberg()
321 *hh = PetscConj(*cc) * tt + *ss * *(hh + 1); in KSPFGMRESUpdateHessenberg()
323 *hh = *cc++ * *hh - (*ss++ * tt); in KSPFGMRESUpdateHessenberg()
346 *cc = *hh / tt; /* new cosine value */ in KSPFGMRESUpdateHessenberg()
351 *RS(it) = PetscConj(*cc) * *RS(it); in KSPFGMRESUpdateHessenberg()
352 *hh = PetscConj(*cc) * *hh + *ss * *(hh + 1); in KSPFGMRESUpdateHessenberg()
/petsc/share/petsc/
H A DMakefile.user85 $(LINK.cc) -o $@ $^ $(LDLIBS)
87 $(COMPILE.cc) $(OUTPUT_OPTION) $<
/petsc/src/ksp/ksp/impls/gmres/lgmres/
H A Dlgmres.c441 PetscScalar *hh, *cc, *ss, tt; in KSPLGMRESUpdateHessenberg() local
447 cc = CC(0); /* beginning of cosine rotations */ in KSPLGMRESUpdateHessenberg()
456 *hh = PetscConj(*cc) * tt + *ss * *(hh + 1); in KSPLGMRESUpdateHessenberg()
458 *hh = *cc++ * *hh - (*ss++ * tt); in KSPLGMRESUpdateHessenberg()
480 *cc = *hh / tt; /* new cosine value */ in KSPLGMRESUpdateHessenberg()
485 *GRS(it) = PetscConj(*cc) * *GRS(it); in KSPLGMRESUpdateHessenberg()
486 *hh = PetscConj(*cc) * *hh + *ss * *(hh + 1); in KSPLGMRESUpdateHessenberg()
/petsc/src/ksp/ksp/impls/gmres/pipefgmres/
H A Dpipefgmres.c380 PetscScalar *hh, *cc, *ss, *rs; in KSPPIPEFGMRESUpdateHessenberg() local
387 cc = CC(0); /* beginning of cosine rotations */ in KSPPIPEFGMRESUpdateHessenberg()
407 hh[j] = PetscConj(cc[j]) * hhj + ss[j] * hh[j + 1]; in KSPPIPEFGMRESUpdateHessenberg()
408 hh[j + 1] = -ss[j] * hhj + cc[j] * hh[j + 1]; in KSPPIPEFGMRESUpdateHessenberg()
430 cc[it] = hh[it] / delta; /* new cosine value */ in KSPPIPEFGMRESUpdateHessenberg()
433 hh[it] = PetscConj(cc[it]) * hh[it] + ss[it] * hh[it + 1]; in KSPPIPEFGMRESUpdateHessenberg()
435 rs[it] = PetscConj(cc[it]) * rs[it]; in KSPPIPEFGMRESUpdateHessenberg()
/petsc/lib/petsc/conf/
H A Drules12 .SUFFIXES: .F .F90 .f90 ${SUFFIXES} .PETSc .C .cc .cpp .cxx .r .rm .so .html .ad .m .F95 .f95 .fiat…
42 .cpp.rm .cxx.rm .cc.rm .C.rm .F.rm .F90.rm .f.rm .c.rm .cu.rm:
152 .cpp.o .cxx.o .cc.o .C.o:
183 LINK.cc = $(CXXLINKER) $(CXXCPPFLAGS) $(LDFLAGS)
224 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
/petsc/src/snes/tutorials/
H A Dex56.c107 static int cc = -1; in g3_uu_3d_private() local
108 cc++; in g3_uu_3d_private()
116 …if (k == l && i == j && !cc) (void)PetscPrintf(PETSC_COMM_WORLD, "g3[%d] += lambda;\n", IDX(i, j, … in g3_uu_3d_private()
117 …if (i == k && j == l && !cc) (void)PetscPrintf(PETSC_COMM_WORLD, "g3[%d] += mu;\n", IDX(i, j, k, l… in g3_uu_3d_private()
118 …if (i == l && j == k && !cc) (void)PetscPrintf(PETSC_COMM_WORLD, "g3[%d] += mu;\n", IDX(i, j, k, l… in g3_uu_3d_private()
/petsc/doc/manual/
H A Dksp.md2087 \left( \begin{array}{cc}
2097 \left( \begin{array}{cc}
2111 \left( \begin{array}{cc}
2120 \left( \begin{array}{cc}
2124 \left( \begin{array}{cc}
2128 \left( \begin{array}{cc}
2137 \left( \begin{array}{cc}
2145 \left( \begin{array}{cc}
2149 \left( \begin{array}{cc}
2153 \left( \begin{array}{cc}
[all …]
/petsc/src/dm/impls/plex/
H A Dplexorient.c267 PetscInt cc, fTop, fBottom; in DMPlexOrient_Serial() local
270 for (cc = cStart; cc < cEnd; ++cc) in DMPlexOrient_Serial()
271 if (cellComp[cc - cStart] < 0) break; in DMPlexOrient_Serial()
272 if (cc >= cEnd) break; in DMPlexOrient_Serial()
275 const PetscInt cell = cells ? cells[cc] : cc; in DMPlexOrient_Serial()
290 PetscCall(PetscBTSet(seenCells, cc - cStart)); in DMPlexOrient_Serial()
/petsc/src/ksp/ksp/impls/gmres/dgmres/
H A Ddgmres.c366 PetscScalar *hh, *cc, *ss, tt; in KSPDGMRESUpdateHessenberg() local
372 cc = CC(0); in KSPDGMRESUpdateHessenberg()
379 *hh = PetscConj(*cc) * tt + *ss * *(hh + 1); in KSPDGMRESUpdateHessenberg()
381 *hh = *cc++ * *hh - (*ss++ * tt); in KSPDGMRESUpdateHessenberg()
396 *cc = *hh / tt; in KSPDGMRESUpdateHessenberg()
399 *GRS(it) = PetscConj(*cc) * *GRS(it); in KSPDGMRESUpdateHessenberg()
400 *hh = PetscConj(*cc) * *hh + *ss * *(hh + 1); in KSPDGMRESUpdateHessenberg()
/petsc/include/petsc/private/
H A Ddrawimpl.h106 int ac, tc, cc; /* axis,tick, character color */ member
/petsc/src/ksp/ksp/tutorials/output/
H A Dex71_bddc_elast_4lev.out18 Use QR for single constraints on cc: 0
131 Use QR for single constraints on cc: 0
250 Use QR for single constraints on cc: 0

1234