Thanks Nanmiao. That unfortunately does not help... There are two other simple 
things you can try before going all-in with debugging. The first is to run the 
test with "--hpx:debug-timing-log" (ironically this seems to hang, I'll try to 
fix that independently). You should see on the second line "creating 
distributed runtime" or "creating local runtime". Let me know which one. The 
second is to check if adding "auto rt = hpx::get_runtime()" at the top of 
hpx_main also hits an assert or if it works fine.


Beyond that you can try putting a break point on this line: 
https://github.com/STEllAR-GROUP/hpx/blob/291736b9538afed58269dd1611fd71b8ea839f1f/src/runtime_distributed.cpp#L1483.
 That should be executed before you enter hpx_main on the worker thread where 
hpx_main gets executed. Running with --hpx:threads=1 might make it a bit 
easier. Does the assert fire every time you run the test?

________________________________
From: hpx-users-boun...@stellar-group.org <hpx-users-boun...@stellar-group.org> 
on behalf of Nanmiao Wu <wnan...@lsu.edu>
Sent: Wednesday, June 24, 2020 3:49:55 PM
To: hpx-users@stellar-group.org
Subject: Re: [hpx-users] Possible HPX errors

Hi Mikael,

Thanks for your help!

The output is:
'runtime_mode' : 'console'

Best,
Nanmiao
________________________________
From: hpx-users-boun...@stellar-group.org <hpx-users-boun...@stellar-group.org> 
on behalf of Simberg Mikael <simbe...@cscs.ch>
Sent: Wednesday, June 24, 2020 3:07 AM
To: hpx-users@stellar-group.org <hpx-users@stellar-group.org>
Subject: Re: [hpx-users] Possible HPX errors


Hi Nanmiao,


Could you post the output of "./als_csv_instrumented --hpx:dump-config | grep 
runtime_mode" please?


Mikael

________________________________
From: hpx-users-boun...@stellar-group.org <hpx-users-boun...@stellar-group.org> 
on behalf of Nanmiao Wu <wnan...@lsu.edu>
Sent: Tuesday, June 23, 2020 8:31:36 PM
To: hpx-users@stellar-group.org
Subject: [hpx-users] Possible HPX errors

Hi all,

I am wondering do you have any suggestions for the "Assertion 
'get_runtime_distributed_ptr() != nullptr' failed: HPX(assertion_failure)" 
errors. I have put the details in the gist 
https://gist.github.com/NanmiaoWu/c8aedaf74c28d025bb0778a72ab198fe<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgist.github.com%2FNanmiaoWu%2Fc8aedaf74c28d025bb0778a72ab198fe&data=02%7C01%7Cwnanmi1%40lsu.edu%7C1b35b55be44a43267b0808d8181dfe4c%7C2d4dad3f50ae47d983a09ae2b1f466f8%7C0%7C0%7C637285864398629298&sdata=CFJEbUsqX3t%2B1V5yjQdmiT05nhcFEhMi5CRTFcf9b0E%3D&reserved=0>

Thanks!

Best,
Nanmiao
_______________________________________________
hpx-users mailing list
hpx-users@stellar-group.org
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users

Reply via email to