You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the counter example in the hpxc project.
When I use command line options to disable guard pages, it works. But when I use a ini file, it crashes. I've confirmed that the config file is read in below.
Sample output:
Using the following .hpx.ini
hpx.stacks.use_guard_pages=0
I get the following error
[14:48:42]:xand@deneb:/home/xand/stellar/hpxc/aduchene_build/bin:134:$ ./counter --hpx:dump-config
{what}: mmap() failed to allocate thread stack due to insufficient resources, /proc/sys/vm/max_map_count may be too low: HPX(unhandled_exception)
{version}: V0.9.5-trunk (AGAS: V2.1), Git: 3864ff6
{boost}: V1.50.0
{build-type}: debug
{date}: Jan 16 2013 12:32:11
{platform}: linux
{compiler}: GNU C++ version 4.6.2
{stdlib}: GNU libstdc++ version 20120120
With command line option:
[14:48:47]:xand@deneb:/home/xand/stellar/hpxc/aduchene_build/bin:134:$ ./counter --hpx:ini hpx.stacks.use_guard_pages=0
finished: counter=100000
I don't see any meaningful differences in the dumped config options.
The text was updated successfully, but these errors were encountered:
I'm using the counter example in the hpxc project.
When I use command line options to disable guard pages, it works. But when I use a ini file, it crashes. I've confirmed that the config file is read in below.
Sample output:
Using the following .hpx.ini
hpx.stacks.use_guard_pages=0
I get the following error
[14:48:42]:xand@deneb:/home/xand/stellar/hpxc/aduchene_build/bin:134:$ ./counter --hpx:dump-config
Configuration after runtime start:
[application]
[hpx]
'cmd_line' : './counter --hpx:dump-config'
[stacks]
'huge_size' : '0x2000000'
'large_size' : '0x0200000'
'medium_size' : '0x0020000'
'small_size' : '0x10000'
'use_guard_pages' : '0'
{what}: mmap() failed to allocate thread stack due to insufficient resources, /proc/sys/vm/max_map_count may be too low: HPX(unhandled_exception)
{version}: V0.9.5-trunk (AGAS: V2.1), Git: 3864ff6
{boost}: V1.50.0
{build-type}: debug
{date}: Jan 16 2013 12:32:11
{platform}: linux
{compiler}: GNU C++ version 4.6.2
{stdlib}: GNU libstdc++ version 20120120
With command line option:
[14:48:47]:xand@deneb:/home/xand/stellar/hpxc/aduchene_build/bin:134:$ ./counter --hpx:ini hpx.stacks.use_guard_pages=0
finished: counter=100000
I don't see any meaningful differences in the dumped config options.
The text was updated successfully, but these errors were encountered: