Home
last modified time | relevance | path

Searched full:printf (Results 1 – 25 of 110) sorted by relevance

12345

/petsc/src/sys/classes/viewer/impls/mathematica/
H A Druntime.c45 for (lerr = 0; lerr < argc; lerr++) printf("argv[%ld] = %s\n", lerr, argv[lerr]); in setupConnection()
47 printf("lerr = %ld\n", lerr); in setupConnection()
56 for (i = 0; i < indent; i++) printf(" "); in printIndent()
73 printf("Function:\n"); in processPacket()
76 printf(" Head:\n"); in processPacket()
82 printf(" Arguments:\n"); in processPacket()
89 printf("Symbol: %s\n", symbol); in processPacket()
101 printf("Integer: %d\n", i); in processPacket()
107 printf("Real: %g\n", r); in processPacket()
113 printf("String: %s\n", string); in processPacket()
[all …]
/petsc/src/benchmarks/streams/
H A Dmakefile43 …@if [ "${NPMAX}foo" = "foo" ]; then echo "---------"; printf " Run with [PETSC_OPTIONS=-process_vi…
44 -@printf "" > scaling.log
45 …-@printf "Running streams with '${MPIEXEC} ${MPI_BINDING} ${MPI_BINDING_VIEW} -n <np> ./MPIVersion…
46 …-@printf "(Hint: To change MPI process binding, use env var MPI_BINDING. To visualize the binding,…
47 -@printf " with MPICH, use HYDRA_TOPO_DEBUG=1 instead, see 'mpiexec -bind-to -help')\n"
56 …@if [ "${NPMAX}foo" = "foo" ]; then echo "---------"; printf " Run with [PETSC_OPTIONS=-process_vi…
57 -@printf "" > scaling.log
58 -@printf "Running streams with '${MPIEXEC} ${MPI_BINDING}' using 'NPMAX=${NPMAX}'\n"
70 …@if [ "${NPMAX}foo" = "foo" ]; then echo "---------"; printf " Run with make openmpstream NPMAX=<i…
71 -@printf "" > scaling.log
[all …]
H A DOpenMPVersion.c66 if (size == 65) printf("Never printed %g\n", a[11]); in main()
70 printf("%d %11.4f Rate (MB/s) 1\n", size, rate); in main()
79 printf("%d %11.4f Rate (MB/s) %g\n", size, rate, rate / prate); in main()
/petsc/src/binding/petsc4py/src/lib-petsc/compat/
H A Dmpi.h83 printf("HAVE_DLFCN_H: yes\n");
85 printf("HAVE_DLFCN_H: no\n");
87 printf("\n");
88 printf("RTLD_LAZY: 0x%X\n", RTLD_LAZY);
89 printf("RTLD_NOW: 0x%X\n", RTLD_NOW);
90 printf("RTLD_LOCAL: 0x%X\n", RTLD_LOCAL);
91 printf("RTLD_GLOBAL: 0x%X\n", RTLD_GLOBAL);
93 printf("RTLD_NOLOAD: 0x%X\n", RTLD_NOLOAD);
95 printf("\n");
98 printf("dlopen(\"%s\",0x%X) -> %p\n", name, mode, handle);
[all …]
/petsc/src/mat/tests/
H A Dex146.c38 /* printf("The value alloc_local is %ld from process %d\n",alloc_local,rank); */ in main()
39 printf("The value local_n0 is %ld from process %d\n", local_n0, rank); in main()
40 /* printf("The value local_0_start is %ld from process %d\n",local_0_start,rank);*/ in main()
41 /* printf("The value local_n1 is %ld from process %d\n",local_n1,rank); */ in main()
42 /* printf("The value local_1_start is %ld from process %d\n",local_1_start,rank);*/ in main()
55 /* printf("The value N is %d from process %d\n",N,rank); */ in main()
56 /* printf("The value n is %d from process %d\n",n,rank); */ in main()
57 /* printf("The value n1 is %d from process %d\n",n1,rank); */ in main()
64 /* printf("The size is %d\n",size); */ in main()
103 printf("The local index is %d from %d\n", low, rank); in main()
[all …]
H A Dex147.c39 printf("The value alloc_local is %ld from process %d\n", alloc_local, rank); in main()
40 printf("The value local_n0 is %ld from process %d\n", local_n0, rank); in main()
41 printf("The value local_0_start is %ld from process %d\n", local_0_start, rank); in main()
42 printf("The value local_n1 is %ld from process %d\n", local_n1, rank); in main()
43 printf("The value local_1_start is %ld from process %d\n", local_1_start, rank); in main()
56 /* printf("The value N is %d from process %d\n",N,rank); */ in main()
57 /* printf("The value n is %d from process %d\n",n,rank); */ in main()
58 /* printf("The value n1 is %d from process %d\n",n1,rank); */ in main()
65 /* printf("The size is %d\n",size); */ in main()
H A Dex144.c37 printf("The value alloc_local is %ld from process %d\n", alloc_local, rank); in main()
38 printf("The value local_n0 is %ld from process %d\n", local_n0, rank); in main()
39 printf("The value local_0_start is %ld from process %d\n", local_0_start, rank); in main()
40 /* printf("The value local_n1 is %ld from process %d\n",local_n1,rank); */ in main()
41 /* printf("The value local_1_start is %ld from process %d\n",local_1_start,rank); */ in main()
42 /* printf("The value local_n0 is %ld from process %d\n",local_n0,rank); */ in main()
54 /* printf("The value N is %d from process %d\n",N,rank); */ in main()
55 /* printf("The value n is %d from process %d\n",n,rank); */ in main()
56 /* printf("The value n1 is %d from process %d\n",n1,rank);*/ in main()
112 /*printf("The Value of NM is %d",NM); */ in main()
[all …]
H A Dex124.c33 printf("\n A:\n"); in main()
34 printf("----------------------\n"); in main()
42 printf("\n B:\n"); in main()
43 printf("----------------------\n"); in main()
50 printf("\n B - A:\n"); in main()
51 printf("----------------------\n"); in main()
H A Dex30.c86 printf("original matrix:\n"); in main()
108 printf("Test LU...\n"); in main()
113 printf("Test ILU...\n"); in main()
125 printf("Test MatForwardSolve...\n"); in main()
127 printf("Test MatBackwardSolve...\n"); in main()
146 printf("In-place factored matrix:\n"); in main()
159 printf("Test Cholesky...\n"); in main()
165 printf("Test ICC...\n"); in main()
180 printf("Test MatForwardSolve...\n"); in main()
182 printf("Test MatBackwardSolve...\n"); in main()
[all …]
H A Dex163.c35 if (rank == 0) printf("A_aij:\n"); in main()
42 if (rank == 0) printf("\nC = A_aij^T * A_aij:\n"); in main()
73 if (rank == 0) printf("\nBdense:\n"); in main()
81 if (rank == 0) printf("\nC=A^T*Bdense:\n"); in main()
120 if (rank == 0) printf("\nCdense:\n"); in main()
126 if (rank == 0) printf(" C != Cdense\n"); in main()
H A Dex130.c50 if (rank == 0) printf(" SUPERLU LU:\n"); in main()
56 if (rank == 0) printf(" MUMPS LU:\n"); in main()
66 if (rank == 0) printf(" PETSC LU:\n"); in main()
74 if (rank == 0) printf(" %d-the LU numfactorization \n", nfact); in main()
H A Dex149.c36 /* printf("Size of the input Vector is %d\n",vsize); */ in main()
47 printf("The vector size from the main routine is %d\n", vsize); in main()
72 /* printf("Vector size from ex148 %d\n",vsize); */ in main()
H A Dex209.c49 if (rank == 0) printf("C = A^T*B*A is done...\n"); in main()
54 if (rank == 0) printf("C = A^T*A is done...\n"); in main()
56 if (rank == 0) printf("REUSE C = A^T*A is done...\n"); in main()
/petsc/config/BuildSystem/config/utilities/
H A DgetResidentSetSize.py64 printf("Error calling getrusage()\\n");
69 printf("Error calling malloc()\\n");
77 printf("Error calling getrusage()\\n");
84printf("Final value %g Initial value %g Increment %g 1K Scaled Increment %g pagesize scaled Increm…
87 printf("getrusage() does not work\\n");
91 printf("uses bytes in getrusage()\\n");
94 printf("uses 1024 size chunks in getrusage()\\n");
97 printf("uses getpagesize() chunks in getrusage()\\n");
100printf("unable to determine if uses bytes, 1024 or getpagesize() chunks in getrusage()\\n");
/petsc/src/sys/tests/
H A Dex69.c20 printf("Wall clock time from MPI_Wtime() %g\n", wtime_end - wtime_start); in main()
21 printf("Wall clock time from omp_get_wtime() %g\n", mpiwtime_end - mpiwtime_start); in main()
22 printf("Value of x(22) %g\n", x[22]); in main()
24 printf("Number of threads set %d\n", maxthreads); in main()
H A Dex59.c14 printf(format, FLT_MIN, FLT_MIN); in demo()
15 printf(format, FLT_TRUE_MIN, FLT_TRUE_MIN); in demo()
22 /* printf(format, f, f); */ in demo()
H A Dex53.c39 if (MPI_COMM_WORLD == newcomm) printf("Error: wrong newcomm returned by MPI_Comm_dup()\n"); in main()
47 if (iflg) printf("Error: newcomm should not have attribute for keyval %d\n", key1); in main()
50 if (*attr != attr1) printf("Error: expected attribute %d, but got %d\n", attr1, *attr); in main()
53 if (*attr != attr2) printf("Error: expected attribute %d, but got %d\n", attr2, *attr); in main()
/petsc/
H A D.gitlab-ci.yml76 - printf "PATH:$PATH\n"
77 - printf "PYTHONPATH:$PYTHONPATH\n"
78 - printf "python:${PYTHON}\n"
80 - printf "CONFIG_OPTS:${CONFIG_OPTS}\n"
81 - printf "EXTRA_OPTIONS_INITIAL:$EXTRA_OPTIONS_INITIAL $BASE_EXTRA_OPTIONS\n"
82 - printf "MODULEPATH:$MODULEPATH\n"
83 …- if [ ! -z ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME+x} ]; then printf "CI_MERGE_REQUEST_SOURCE_BRANC…
200 - printf "PATH:$PATH\n"
202 …- if [ ! -z ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME+x} ]; then printf "CI_MERGE_REQUEST_SOURCE_BRANC…
205 …- printf "====== Test A. Install into staging directory then into prefix directory (mimics distro …
[all …]
H A D.gitlab-alcf-ci.yml22 …- if [ ! -z ${RM_MODULES+x} ]; then printf "removing modules - ${RM_MODULES}\n"; module list; modu…
23 …- if [ ! -z ${LOAD_MODULES+x} ]; then printf "loading modules - ${LOAD_MODULES}\n"; module load ${…
27 - printf "PATH:$PATH\n"
28 - printf "./config/examples/${TEST_ARCH}.py\n"
H A Dmakefile45printf ${PETSC_TEXT_HILIGHT}"**************************ERROR*************************************\…
47printf "********************************************************************"${PETSC_TEXT_NORMAL}"…
49printf ${PETSC_TEXT_HILIGHT}"**************************ERROR*************************************\…
55printf "********************************************************************"${PETSC_TEXT_NORMAL}"…
333 printf "The current commit has C/C++ source code formatting problems\n" ;\
335 printf "Please run 'git diff' to check\n";\
341printf "The diff has been trimmed, check ${PETSC_ARCH}/lib/petsc/conf/checkclangformat.patch (in C…
350 printf "The current commit has Fortran source code formatting problems\n" ;\
352 printf "Please run 'git diff' to check\n";\
358printf "The diff has been trimmed, check ${PETSC_ARCH}/lib/petsc/conf/checkfprettifyformat.patch (…
[all …]
/petsc/config/
H A Dpetsc_harness.sh161 printf '%s\n' "${tap_message}" >> "${testlogtapfile}"
165 printf '%s\n' "${tap_message}" | tee -a "${testlogerrfile}"
168 printf '%s\n' "${tap_message}"
181 printf '%s\n' "${modcmd}"
213 printf "# retrying %s\n" "${tlabel}" | tee -a "${testlogerrfile}"
280 printf "total %s\n" "$total" > "$logfile"
281 printf "success %s\n" "$success" >> "$logfile"
282 printf "failed %s\n" "$failed" >> "$logfile"
283 printf "failures %s\n" "$failures" >> "$logfile"
285 printf "todo %s\n" "$todo" >> "$logfile"
[all …]
/petsc/src/ksp/ksp/tests/raja/
H A Dex1.raja.cxx133 printf("Standard C++ Loop \n"); in main()
163 printf("Standard C++ Loop - Maxed out on iterations \n"); in main()
170 printf("No of iterations: %d \n \n", iteration); in main()
180 printf("RAJA: Sequential Policy - Nested ForallN \n"); in main()
213 printf("Jacobi: Sequential - Maxed out on iterations! \n"); in main()
219 printf("No of iterations: %d \n \n", iteration); in main()
222 printf("RAJA: OpenMP Policy - Nested ForallN \n"); in main()
261 printf("Jacobi: OpenMP - Maxed out on iterations! \n"); in main()
267 printf("No of iterations: %d \n \n", iteration); in main()
282 printf("RAJA: CUDA Policy - Nested ForallN \n"); in main()
[all …]
/petsc/src/sys/error/
H A Dadebug.c240 …if (PetscUnlikely(!isatty(fileno(stdin))) && !UseDebugTerminal) printf("If the debugger exits imme… in PetscAttachDebugger()
290 printf("PETSC: Attaching %s to %s %s on %s\n", args[0], args[1], pid, hostname); in PetscAttachDebugger()
303 printf("PETSC: Attaching %s to %s %s on %s\n", args[0], args[3], pid, hostname); in PetscAttachDebugger()
316 printf("PETSC: Attaching %s to %s %s on %s\n", args[0], args[1], pid, hostname); in PetscAttachDebugger()
331 printf("PETSC: Attaching %s to %s on %s\n", args[0], pid, hostname); in PetscAttachDebugger()
353printf("-debug_terminal Terminal is not available on this system since PETSC_HAVE_POPEN is not def… in PetscAttachDebugger()
421 …if (display[0]) printf("PETSC: Attaching %s to %s of pid %s on display %s on machine %s\n", PetscD… in PetscAttachDebugger()
422 … else printf("PETSC: Attaching %s to %s on pid %s on %s\n", PetscDebugger, program, pid, hostname); in PetscAttachDebugger()
429printf("PETSC: Attaching %s to %s of pid %s on %s\n", PetscDebugger, program, pid, hostname); in PetscAttachDebugger()
590 …if (isxxgdb || isups || isddd || iskdbg) printf("[%d]%s>>%s %s %d\n", rank, hostname, PetscDebugge… in PetscStopForDebugger()
[all …]
/petsc/src/snes/tutorials/
H A Dmakefile65printf "${PWD}\nPossible problem with ex19 running with HYPRE, diffs above\n======================…
76printf "${PWD}\nPossible problem with ex19 running with HYPRE/CUDA, diffs above\n=================…
87printf "${PWD}\nPossible problem with ex19 running with HYPRE/HIP, diffs above\n==================…
97printf "${PWD}\nPossible problem with ex19 running with CUDA, diffs above\n=======================…
107printf "${PWD}\nPossible problem with ex19 running with HIP, diffs above\n========================…
117printf "${PWD}\nPossible problem with ex19 running with ML, diffs above\n=========================…
127printf "${PWD}\nPossible problem with ex19 running with MUMPS, diffs above\n======================…
137printf "${PWD}\nPossible problem with ex19 running with SuperLU_DIST, diffs above\n===============…
147printf "${PWD}\nPossible problem with ex19 running with SuiteSparse, diffs above\n================…
157printf "${PWD}\nPossible problem with ex3k running with Kokkos Kernels, diffs above\n=============…
/petsc/lib/petsc/bin/maint/
H A Dcheck-ci-settings.sh11 printf "Success! Using current CI settings as in gitlab-ci.yml in %s!\n" "$dest"
13printf "ERROR! Using old CI settings in gitlab-ci.yml! Please rebase to %s to use current CI setti…

12345