Home
last modified time | relevance | path

Searched refs:stdout (Results 1 – 25 of 84) sorted by relevance

1234

/petsc/src/benchmarks/
H A Dsizeof.c7 fprintf(stdout, "long double : %lu\n", (unsigned long)sizeof(long double)); in main()
8 fprintf(stdout, "double : %lu\n", (unsigned long)sizeof(double)); in main()
9 fprintf(stdout, "int : %lu\n", (unsigned long)sizeof(int)); in main()
10 fprintf(stdout, "char : %lu\n", (unsigned long)sizeof(char)); in main()
11 fprintf(stdout, "short : %lu\n", (unsigned long)sizeof(short)); in main()
12 fprintf(stdout, "long : %lu\n", (unsigned long)sizeof(long)); in main()
13 fprintf(stdout, "long long : %lu\n", (unsigned long)sizeof(long long)); in main()
14 fprintf(stdout, "int * : %lu\n", (unsigned long)sizeof(int *)); in main()
15 fprintf(stdout, "size_t : %lu\n", (unsigned long)sizeof(size_t)); in main()
H A DIndex.c55 fprintf(stdout, "%-27s : %e sec\n", "x[i] = y[i]", (t2 - t1) / 2000.0); in test1()
67 fprintf(stdout, "%-27s : %e sec\n", "x[i] = y[idx[i]] - unroll 4", (t2 - t1) / 2000.0); in test1()
74 fprintf(stdout, "%-27s : %e sec\n", "x[i] = y[idx[i]]", (t2 - t1) / 2000.0); in test1()
84 fprintf(stdout, "%-27s : %e sec\n", "x[i] = y[idx[i]] - unroll 2", (t2 - t1) / 2000.0); in test1()
91 fprintf(stdout, "%-27s : %e sec\n", "x[z[i]] = y[i]", (t2 - t1) / 2000.0); in test1()
98 fprintf(stdout, "%-27s : %e sec\n", "x[z[i]] = y[zi[i]]", (t2 - t1) / 2000.0); in test1()
154 fprintf(stdout, "%-27s : %e sec\n", "x[i] = y[i]", (t2 - t1) / 2000.0); in test2()
161 fprintf(stdout, "%-27s : %e sec\n", "x[i] = y[idx[i]]", (t2 - t1) / 2000.0); in test2()
168 fprintf(stdout, "%-27s : %e sec\n", "x[z[i]] = y[i]", (t2 - t1) / 2000.0); in test2()
175 fprintf(stdout, "%-27s : %e sec\n", "x[z[i]] = y[zi[i]]", (t2 - t1) / 2000.0); in test2()
H A DMPI_Wtime.c24 fprintf(stdout, "%-15s : %e sec\n", "MPI_Wtime", (y - x) / 10.0); in main()
26 fprintf(stdout, "%-15s : %e sec\n", "MPI_Wtick", y); in main()
31 fprintf(stdout, "%-15s : %e sec - Slept for 10 sec \n", "MPI_Wtime", (y - x)); in main()
H A DPetscMalloc.c42 fprintf(stdout, "%-15s : %e sec, with options : ", "PetscMalloc", (y - x) / 500.0); in main()
44 if (flg) fprintf(stdout, "-malloc "); in main()
45 fprintf(stdout, "\n"); in main()
H A DPetscMemzero.c38 fprintf(stdout, "%s : \n", "PetscMemzero"); in main()
39 fprintf(stdout, " %-15s : %e sec\n", "Latency", (z - y) / 10.0); in main()
40 fprintf(stdout, " %-15s : %e sec\n", "Per PetscScalar", (2 * y - x - z) / 100000.0); in main()
H A DPetscMemcmp.c44 fprintf(stdout, "%s : \n", "PetscMemcmp"); in main()
45 fprintf(stdout, " %-15s : %e sec\n", "Latency", (z - y) / 10.0); in main()
46 fprintf(stdout, " %-15s : %e sec\n", "Per PetscScalar", (2 * y - x - z) / 100000); in main()
H A DPetscTime.c25 fprintf(stdout, "%-15s : %e sec\n", "PetscTime", (y - x) / 10.0); in main()
30 fprintf(stdout, "%-15s : %e sec - Slept for 10 sec \n", "PetscTime", (y - x)); in main()
H A DPetscMemcpy.c23 fprintf(stdout, "%s : \n", "PetscMemcpy"); in main()
24 fprintf(stdout, " %-15s : %e MB/s\n", "Bandwidth", 10.0 * 8 * 8 / (y - x)); in main()
H A DPetscVecNorm.c32 fprintf(stdout, "%s : \n", "VecNorm"); in main()
33 fprintf(stdout, " Time %g\n", t2 - t1); in main()
/petsc/lib/petsc/bin/maint/
H A Dbranches.py43 …process = subprocess.Popen(["git", "merge-base", "remotes/" + branch, "master"], stdout=subprocess…
46 …process = subprocess.Popen(["git", "log", "--pretty=format:%at", commithash, "-n", "1"], stdout=su…
52 …open(["git", "log", "--pretty=format:%at", "remotes/" + branch, "-n", "1"], stdout=subprocess.PIPE)
58 …, "--pretty=oneline", "remotes/origin/next..remotes/" + branch, "-n", "1"], stdout=subprocess.PIPE)
66 …"--pretty=oneline", "remotes/origin/master..remotes/" + branch, "-n", "1"], stdout=subprocess.PIPE)
209 process = subprocess.Popen(["git", "branch", "-r"], stdout=subprocess.PIPE)
H A Dbk2hg.py67 sys.stdout.flush()
71 sys.stdout.flush()
156 sys.stdout.flush()
195 sys.stdout.flush()
248 sys.stdout.flush()
272 sys.stdout.flush()
H A Dgcov.py25 self._stdout = sys.stdout
30 def setup(self, stdout = None, stderr = None, verbosity = 0): argument
31 if stdout is None:
32 stdout = self._stdout
38 self.stdout = stdout
51 self.__log(self.stdout, *args, **kwargs)
290 … ['grep', '-v', r'^\^'], input=blame_output.stdout, capture_output=True, universal_newlines=True
308 int(line[2].replace(')','')) for line in map(str.split, changed_ret.stdout.splitlines())
515 stdout = stdout_file.open('w')
518 stdout = sys.stdout
[all …]
H A Dgenerateetags.py25 process = subprocess.Popen(stdout=subprocess.PIPE, *popenargs, **kwargs)
87 …p=c:+.cu -I PeNS,PeOP -a -f '+ctagfile+' '+' '.join(frlist), shell=True, stdout=DEVNULL, stderr=su…
89 …'/usr/local/bin/ctags -a -f '+ctagfile+' '+' '.join(frlist), shell=True, stdout=DEVNULL, stderr=su…
91 …status = subprocess.call('ctags -a -f '+ctagfile+' '+' '.join(frlist), shell=True, stdout=DEVNULL,…
/petsc/src/binding/petsc4py/test/
H A Dtest_stdout.py11 prevstdout = sys.stdout
13 sys.stdout = StringIO()
28 newstdout = sys.stdout
30 sys.stdout = prevstdout
/petsc/src/sys/memory/ftn-custom/
H A Dzmtrf.c15 *ierr = PetscMallocDump(stdout); in petscmallocdump_()
19 *ierr = PetscMallocView(stdout); in petscmallocview_()
/petsc/src/mat/tests/
H A Dex21.c61 …PetscCall(PetscSynchronizedFPrintf(PETSC_COMM_WORLD, stdout, "[%d] get row %" PetscInt_FMT ": ", r… in main()
62 …for (j = 0; j < nz; j++) PetscCall(PetscSynchronizedFPrintf(PETSC_COMM_WORLD, stdout, "%" PetscInt… in main()
63 PetscCall(PetscSynchronizedFPrintf(PETSC_COMM_WORLD, stdout, "\n")); in main()
66 PetscCall(PetscSynchronizedFlush(PETSC_COMM_WORLD, stdout)); in main()
/petsc/src/sys/tests/
H A Dex2.c20 …PetscCall(PetscFPrintf(PETSC_COMM_WORLD, stdout, "Demonstrates how PETSc can trap error interrupts… in main()
21 …PetscCall(PetscFPrintf(PETSC_COMM_WORLD, stdout, "The error below is contrived to test the code!\n… in main()
H A Dex1.c16 PetscCall(PetscFPrintf(PETSC_COMM_WORLD, stdout, "Demonstrates PETSc Error Handlers\n")); in main()
17 …PetscCall(PetscFPrintf(PETSC_COMM_WORLD, stdout, "The error is a contrived error to test error han… in main()
H A Dex66.c18 PetscCall(PetscFPrintf(PETSC_COMM_WORLD, stdout, "Demonstrates PETSc Error Handlers\n")); in main()
19 …PetscCall(PetscFPrintf(PETSC_COMM_WORLD, stdout, "The error is a contrived error to test error han… in main()
H A Dex37.c53 PetscCall(PetscSynchronizedFlush(PETSC_COMM_WORLD, stdout)); in main()
56 PetscCall(PetscSynchronizedFPrintf(PETSC_COMM_WORLD, stdout, "Greetings %s", superlongstr)); in main()
57 PetscCall(PetscSynchronizedFlush(PETSC_COMM_WORLD, stdout)); in main()
/petsc/src/ksp/ksp/tutorials/output/
H A Dex2_help.out3 -view_exact_sol : write exact solution vector to stdout
72 …-mat_view ascii[:[filename][:[format][:append]]]: Prints object to stdout or ASCII file (PetscOpti…
84 …-ksp_monitor ascii[:[filename][:[format][:append]]]: Prints object to stdout or ASCII file (PetscO…
90 …-ksp_monitor_short ascii[:[filename][:[format][:append]]]: Prints object to stdout or ASCII file (…
96 …-all_ksp_monitor ascii[:[filename][:[format][:append]]]: Prints object to stdout or ASCII file (Pe…
102 …-ksp_monitor_range ascii[:[filename][:[format][:append]]]: Prints object to stdout or ASCII file (…
108 …-ksp_monitor_true_residual ascii[:[filename][:[format][:append]]]: Prints object to stdout or ASCI…
114 …-ksp_monitor_max ascii[:[filename][:[format][:append]]]: Prints object to stdout or ASCII file (Pe…
120 …-ksp_monitor_solution ascii[:[filename][:[format][:append]]]: Prints object to stdout or ASCII fil…
126 …-ksp_monitor_singular_value ascii[:[filename][:[format][:append]]]: Prints object to stdout or ASC…
[all …]
/petsc/src/sys/error/
H A Derr.h24 if (flg2 || flg3) ierr = PetscMallocView(stdout); in PetscErrorMemoryMessage()
27 if (flg1) ierr = PetscMallocDump(stdout); in PetscErrorMemoryMessage()
/petsc/doc/
H A Dbuild_man_pages.py58 if sp.stdout and sp.stdout.find('WARNING') > -1:
59 print(sp.stdout)
/petsc/src/sys/classes/viewer/tutorials/output/
H A Dex2_1.out3 Filename: stdout
H A Dex2f_1.out3 Filename: stdout

1234