-
Notifications
You must be signed in to change notification settings - Fork 44
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
s2a gives strange output #162
Comments
How large is the snapshot. Can you give me the history of the snapshot with the "hisf" command. |
you could also use "snappprint my_file.nemo times=0" which has an output similar to s2a, to see if that fails too |
that last command failed because s2a doesn't know how to skip diagnostic frames, see the command tsf how it looks inside. Not sure if your file has diagnastics. |
|
I prepared a smaller snapshot overnight (I used the same procedure as previously but set higher |
Could you repeat this for another magic size number, namely 4.1Gb. At 4.0
GB we still are below unsigned 32bits overrun, but e.g. 4.5gb we are over
that limit .
I'm surprised snapprint also fails, bit that program is easier to debug
…On Sun, Dec 22, 2024, 03:01 Yana ***@***.***> wrote:
I prepared a smaller snapshot overnight (I used the same procedure as
previously but set higher tstep in gyrfalcON command). The new snapshot
size is about 2Gb and it does not give duplicates in s2a...
—
Reply to this email directly, view it on GitHub
<#162 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZ4MGL5BT57QH5SZ2K2KWT2GZWVPAVCNFSM6AAAAABUAZ2YVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGM3DQMJVG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Another idea is to use snaptrim to extract one snapshot, and see if s2a
then works
…On Sun, Dec 22, 2024, 08:13 Peter Teuben ***@***.***> wrote:
Could you repeat this for another magic size number, namely 4.1Gb. At 4.0
GB we still are below unsigned 32bits overrun, but e.g. 4.5gb we are over
that limit .
I'm surprised snapprint also fails, bit that program is easier to debug
On Sun, Dec 22, 2024, 03:01 Yana ***@***.***> wrote:
> I prepared a smaller snapshot overnight (I used the same procedure as
> previously but set higher tstep in gyrfalcON command). The new snapshot
> size is about 2Gb and it does not give duplicates in s2a...
>
> —
> Reply to this email directly, view it on GitHub
> <#162 (comment)>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAZ4MGL5BT57QH5SZ2K2KWT2GZWVPAVCNFSM6AAAAABUAZ2YVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGM3DQMJVG4>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
|
I did a simple test which now is at 6Gb and s2a and snapprint still work
…On Sun, Dec 22, 2024, 08:14 Peter Teuben ***@***.***> wrote:
Another idea is to use snaptrim to extract one snapshot, and see if s2a
then works
On Sun, Dec 22, 2024, 08:13 Peter Teuben ***@***.***> wrote:
> Could you repeat this for another magic size number, namely 4.1Gb. At 4.0
> GB we still are below unsigned 32bits overrun, but e.g. 4.5gb we are over
> that limit .
>
> I'm surprised snapprint also fails, bit that program is easier to debug
>
> On Sun, Dec 22, 2024, 03:01 Yana ***@***.***> wrote:
>
>> I prepared a smaller snapshot overnight (I used the same procedure as
>> previously but set higher tstep in gyrfalcON command). The new snapshot
>> size is about 2Gb and it does not give duplicates in s2a...
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <#162 (comment)>, or
>> unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/AAZ4MGL5BT57QH5SZ2K2KWT2GZWVPAVCNFSM6AAAAABUAZ2YVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGM3DQMJVG4>
>> .
>> You are receiving this because you commented.Message ID:
>> ***@***.***>
>>
>
|
Does the tsf command work on the big data work. What is the output times,
in my test I had a small step=0.000001, and noted that the time fuzz is too
big for this , outputting multiple snapshots. But it won't crash the program
…On Sun, Dec 22, 2024, 08:25 Peter Teuben ***@***.***> wrote:
I did a simple test which now is at 6Gb and s2a and snapprint still work
On Sun, Dec 22, 2024, 08:14 Peter Teuben ***@***.***> wrote:
> Another idea is to use snaptrim to extract one snapshot, and see if s2a
> then works
>
> On Sun, Dec 22, 2024, 08:13 Peter Teuben ***@***.***> wrote:
>
>> Could you repeat this for another magic size number, namely 4.1Gb. At
>> 4.0 GB we still are below unsigned 32bits overrun, but e.g. 4.5gb we are
>> over that limit .
>>
>> I'm surprised snapprint also fails, bit that program is easier to debug
>>
>> On Sun, Dec 22, 2024, 03:01 Yana ***@***.***> wrote:
>>
>>> I prepared a smaller snapshot overnight (I used the same procedure as
>>> previously but set higher tstep in gyrfalcON command). The new
>>> snapshot size is about 2Gb and it does not give duplicates in s2a...
>>>
>>> —
>>> Reply to this email directly, view it on GitHub
>>> <#162 (comment)>,
>>> or unsubscribe
>>> <https://github.com/notifications/unsubscribe-auth/AAZ4MGL5BT57QH5SZ2K2KWT2GZWVPAVCNFSM6AAAAABUAZ2YVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGM3DQMJVG4>
>>> .
>>> You are receiving this because you commented.Message ID:
>>> ***@***.***>
>>>
>>
|
I did the simulation with size 7.4Gb, it is okay. So for simulations with 7Gb and 2Gb the output of
But for the first simulation it is like this:
So basically in all cases i have 20000 particles and expect to get ~20000 rows in I still can use it though by only loading the data between two group of comment lines. |
I had the experience in NEMO that I also got multiple of 20,000 particles, which in turn depended on the TIMEFUZZ value that is hardcoded in many NEMO programs. s2a is from FALCON, which is has different methods. I fixed all of NEMO (we have a new version 4.5) that ensures one common TIMEFUZZ now defined in <stdinc.h> - but this doesn't solve your s2a problem. Did you try snaptrim? It has a keyword where you can set the timefuzz= parameter |
Yes, I've just tried May I ask a couple of questions?
|
My understanding of the problem is that it doesn't depend on the size of
the snapshot, but on the times. They are too close to each other. I saw you
are using fun units , where G is not 1, so perhaps your dynamical time is
not of order unity, but much smaller?
…On Mon, Dec 23, 2024, 01:00 Yana ***@***.***> wrote:
Yes, I've just tried snaptrim, seems like it works, thanks!
May I ask a couple of questions?
- So just to be clear, should I use the default timefuzz=0.000001 for
large snashots?
- Another question is: after I update NEMO to the current version
4.5.0, s2a won't be fixed, right? And snapprint too? Is there a way to
know beforehand the name of other NEMO programs that still have the same
peculiarities so that I'm super careful when using them?
- Does timefuzz problem only arise with super large snapshot or it
could happen with normal snapshots when reading from disk is super slow?
—
Reply to this email directly, view it on GitHub
<#162 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZ4MGOIMWI4XZ7AJQ32YYD2G6RHTAVCNFSM6AAAAABUAZ2YVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYHE3DMMRZGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Slightly related is a bug in NEMO when an item is over 4GB (which doesn't happen with your snapshots) it seems to fail. This is mentioned in #17 and no doubt is an old relic of the code not converted to 64bit integers. |
Dear maintainers,
Thank you for this repository!
I use NEMO tools for my analysis (e.g.,
s2a
,manipulate
, etc.). What I recently encountered is thats2a
gives strange output for my nemo file. When I use something like this:The resulting file
out_a
looks like it was printed several times all over again: dashes with text, then correct output lines (full), the dashes, the output all over again.I tried to debug it putting a
std::cout
after the line https://github.com/teuben/nemo/blob/master/usr/dehnen/falcON/src/public/exe/s2a.cc#L154So I got as much
std::cout
prints as there are duplicates ins2a
output.I also face duplicated output when I use
manipulate
command.Is this behavior expected? I think maybe the bug comes from the fact that my snapshot is very large. Is there a way to fix this?
Sincerely,
Yana
The text was updated successfully, but these errors were encountered: