Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please do not print debug output by default #263

Open
jeffhammond opened this issue Jan 6, 2016 · 6 comments
Open

please do not print debug output by default #263

jeffhammond opened this issue Jan 6, 2016 · 6 comments

Comments

@jeffhammond
Copy link

I have not yet found where the option to disable the following debug printout, but in any case it should not be on by default, particularly since the first part is O(n).

Please tell me what option I used to disable this, since I assume that already exists.

[jrhammon@esgmonster github-official]$ mpirun GRAPPA/Transpose/transpose 10 3600 36
I0106 15:01:13.775849 87208 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.775877 87221 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.775962 87231 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.775917 87238 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.776007 87240 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.776134 87215 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.776063 87219 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.776094 87237 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.776175 87233 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.776237 87239 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.776352 87242 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.776325 87207 Allocator.hpp:185] Allocator is responsible for addresses from 0 to 0x1f6788000
I0106 15:01:13.776407 87230 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.776527 87207 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.776451 87217 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.776548 87226 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.776501 87241 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.776614 87235 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.776646 87227 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.776795 87209 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.776754 87211 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.776919 87220 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.776885 87232 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.777076 87214 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.777040 87223 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.777187 87224 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.777254 87234 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.777308 87236 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.777356 87210 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.777426 87216 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.777587 87222 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.777537 87229 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.777645 87225 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.777768 87213 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.777830 87212 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.779186 87218 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.779795 87228 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:01:13.885656 87207 Grappa.cpp:647] 
-------------------------
Shared memory breakdown:
  node total:                   62.8095 GB
  locale shared heap total:     31.4048 GB
  locale shared heap per core:  0.872354 GB
  communicator per core:        0.125 GB
  tasks per core:               0.0156631 GB
  global heap per core:         0.218086 GB
  aggregator per core:          0.00247955 GB
  shared_pool current per core: 4.76837e-07 GB
  shared_pool max per core:     0.218089 GB
  free per locale:              18.4079 GB
  free per core:                0.51133 GB
-------------------------
Parallel Research Kernels version 2.16
...
@nelsonje
Copy link
Member

nelsonje commented Jan 6, 2016

Ah, right. add --v=0 to the command line, or set GLOG_v=0 in the environment. I'll change the default in the code.

@jeffhammond
Copy link
Author

Thanks!

@jeffhammond
Copy link
Author

That environment variable appears to have no effect.

[jrhammon@esgmonster github-official]$ export GLOG_v=0
[jrhammon@esgmonster github-official]$ mpirun -n 36 GRAPPA/Transpose/transpose 10 $((32*36)) 32
I0106 15:34:48.457002 87858 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:34:48.457018 87877 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
I0106 15:34:48.457041 87888 GlobalMemory.cpp:67] Initialized GlobalMemory with 8430059520 bytes of shared heap.
...

I cannot pass --v=0 as an argument to mpirun or GRAPPA/Transpose/transpose, because it is not a valid argument for either. Do I misunderstand how to use this option?

@nelsonje
Copy link
Member

nelsonje commented Jan 6, 2016

Try

mpirun -n 36 GRAPPA/Transpose/transpose --v=0 -- 10 $((32*36)) 32

@jeffhammond
Copy link
Author

That works.

[jrhammon@esgmonster github-official]$ mpirun -n 36 GRAPPA/Transpose/transpose --v=0 -- 10 $((32*36)) 32
Parallel Research Kernels version 2.16
Grappa matrix transpose: B = A^T
Number of cores         = 36
...

@nelsonje
Copy link
Member

nelsonje commented Feb 2, 2016

(note to self: this will be resolved when the nelsonje/MPIRDMA branch is merged to master)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants