-
Notifications
You must be signed in to change notification settings - Fork 4
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
Help for tracing error #11
Comments
Hi, |
Thanks, [Score-P] src/measurement/tracing/SCOREP_Tracing.c:226: Warning: Cannot allocate 1048576 bytes for tracing; but OTF2 will flush and free chunks. And I just tried the 1G,2G,3G,but the error is same.
#if HAVE( UTILS_DEBUG ) Maybe it's helpful? And for btw, I tuned the SCOREP_TOTAL_MEMORY by add or remove a '0', lol |
Looks like you're setting the sampling rate to infinity?
|
Oh isn't it meaning default value? |
The default value is 50000, which corresponds to 50ms. |
Thanks, I tried to set value to 50000 without set SCOREP_TOTAL_MEMORY. The shell message consists of : [Score-P] Memory: Location-Misc [Score-P] src/measurement/tracing/SCOREP_Tracing.c:226: Warning: Cannot allocate 1048576 bytes for tracing; but OTF2 will flush and free chunks. #0 0x7ffb3d58bb9a in ??? And end with : But when I set SCOREP_TOTAL_MEMORY=1G or larger , the message was looping again: [Score-P] src/measurement/tracing/SCOREP_Tracing.c:226: Warning: Cannot allocate 1048576 bytes for tracing; but OTF2 will flush and free chunks. And when I set it back to 16MB , the message is like the fist one. |
nvm. I just realized you're using the sync plugin. Then there's no need to set this environment variable anyways. However, you may still run into a similar issue. I recommend looking into filtering some regions. |
It doesn't matter. |
I meant that the environment variable |
Okay, thanks . |
It doesn't work ,but in the scorep-measurement-tmp folder there are 14 .evt files. Are they helpful for this issue? |
I set tracing false and profiling true and I can get the consumption in profile.cubex. |
Yes, with the sync plugin this should be okay. |
Thank you very much. |
Another guess: do you use MPI? If so: Are there a lot of things happening before the actual MPI_INIT? This might lead Score-P into some Issues. Best, |
I only use OpenMP. Best,too |
It looks like you are getting the Cube tuple format. Did you use the Environment variable SCOREP_PROFILING_FORMAT? yes you are right, in this format the order of values is (times, min value, max value) : average value, standard deviation. |
Yes I can not enable tracing because the error. So if I want to get the energy value I have to get it from the the profile.cubex. |
Hello,
I can correctly collect the profile.cubex by using the scorep, and for example I use scorep-score to specify the right SCOREP_TOTAL_MEMORY should larger than 43MB.
But when I install the scorep_plugin_x86_energy and set the env like this(without SCOREP_TOTAL_MEMORY):
##export SCOREP_ENABLE_TRACING="true"
##export SCOREP_ENABLE_PROFILING="false"
##export SCOREP_METRIC_PLUGINS=x86_energy_sync_plugin
##export SCOREP_METRIC_PLUGINS_SEP=";"
##export SCOREP_METRIC_X86_ENERGY_SYNC_PLUGIN="BLADE/E"
##export SCOREP_METRIC_X86_ENERGY_PLUGIN_INTERVALL_US=0
##export SCOREP_METRIC_X86_ENERGY_SYNC_PLUGIN_OFFSET=70
I run the application again get the error like this:
NAS Parallel Benchmarks (NPB3.4-OMP) - IS Benchmark
Size: 33554432 (class B)
Iterations: 10
Number of available threads: 20
[Score-P] src/measurement/tracing/SCOREP_Tracing.c:226: Warning: Cannot allocate 1048576 bytes for tracing; but OTF2 will flush and free chunks.
[OTF2] src/OTF2_Buffer.c:359: error: This could not be done with the given memory: Could not allocate memory for chunk!
[OTF2] src/otf2_archive_int.c:2122: error: This could not be done with the given memory: Can't create event writer!
[OTF2] src/OTF2_Archive.c:977: error: This could not be done with the given memory: Could not get local event writer
[Score-P] src/measurement/tracing/SCOREP_Tracing.c:226: Warning: Cannot allocate 1048576 bytes for tracing; but OTF2 will flush and free chunks.
[Score-P] src/measurement/SCOREP_Memory.c:175: Error: No free memory page available: [OTF2] src/OTF2_Buffer.c:359: error: This could not be done with the given memory: Could not allocate memory for chunk!
[OTF2] src/otf2_archive_int.c:2122: error: This could not be done with the given memory: Can't create event writer!
[OTF2] src/OTF2_Archive.c:977: error: This could not be done with the given memory: Could not get local event writer
[Score-P] src/measurement/SCOREP_Memory.c:175: Error: No free memory page available: Out of memory. Please increase SCOREP_TOTAL_MEMORY=16384000 and try again.
[Score-P] src/measurement/SCOREP_Memory.c:179: Error: No free memory page available: Please ensure that there are at least 2MB available for each intended location.
[Score-P] src/measurement/tracing/SCOREP_Tracing.c:226: Warning: Cannot allocate 1048576 bytes for tracing; but OTF2 will flush and free chunks.
[OTF2] src/OTF2_Buffer.c:359: error: This could not be done with the given memory: Could not allocate memory for chunk!
[Score-P] src/measurement/SCOREP_Memory.c:183: Error: No free memory page available: Where there are currently 20 locations in use in this failing process.
[Score-P] Memory usage of rank 0
[Score-P] Memory used so far:
Out of memory. Please increase SCOREP_TOTAL_MEMORY=16384000 and try again.
……
……
[Score-P] src/measurement/SCOREP_Memory.c:179: Error: No free memory page available: Please ensure that there are at least 2MB available for each intended location.
[Score-P] Score-P runtime-management memory tracking:
Aborted
Then I set the env(SCOREP_TOTAL_MEMORY) large enough:
##export SCOREP_TOTAL_MEMORY=64000000(about 64MB)
I will get a loop message:
[Score-P] src/measurement/tracing/SCOREP_Tracing.c:226: Warning: Cannot allocate 1048576 bytes for tracing; but OTF2 will flush and free chunks.
[Score-P] Trace buffer flush on rank 0.
[Score-P] Increase SCOREP_TOTAL_MEMORY and try again.
Further more , I set the env:
##export SCOREP_TOTAL_MEMORY=6400000000(about 6.4GB)
Error:
is.B.x: ../../build-backend/../src/measurement/scorep_environment.c:299: SCOREP_Env_GetPageSize: Assertion `env_total_memory <= (4294967295U)' failed.
Aborted
Is there any problem when I set the env or other operation?
Thanks for any help!
The text was updated successfully, but these errors were encountered: