[GRASS-dev] r.viewshed -memory problem
Hi Folks, I am try to use GRASS7 SVN on win 7. I tested new modul r.viewshed on large dataset. But some problem with memory. not shure if it is my mistake or bug. Jan Trochta r.viewshed -e --overwrite --verbose input=STRomy@boubin output=pk coordinate=-803821.575747913,-1158866.72289775 max_dist=1500 Memory manager registering memory in MM_WARN_ON_MEMORY_EXCEEDED mode. Nodata value set to -1.#QNAN0 rows=14293, cols=12816, total = 183179088 In-memory memory usage is 18318011328 B (17469 MB), max mem allowed=524288000 B(500MB) * EXTERNAL_MEMORY MODE * Intermediate files will not be deletedin case of abnormal termination. To save space delete these files manually! Estimated size active structure: (key=64, ptr=4, total node=80 B) Total= 1143440 B Start sweeping. Computing events ... Sorting events... MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2520B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2598B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2676B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2754B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2832B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2910B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2988B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3066B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3144B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3222B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3300B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3378B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3456B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3534B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3612B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3690B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3768B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3846B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3924B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 4002B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 4080B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 4158B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 4236B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 4314B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 4392B. ami_single_temp_name: mktemp failed: : File exists Assertion failed: 0, file ami_stream.cpp, line 97 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. (Tue Jan 10 12:57:51 2012) Command finished (17 min 22 sec) ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] r.viewshed -memory problem
On Tue, Jan 10, 2012 at 1:03 PM, Jan Trochta j.troc...@gmail.com wrote: Hi Folks, I am try to use GRASS7 SVN on win 7. I tested new modul r.viewshed on large dataset. But some problem with memory. not shure if it is my mistake or bug. Jan Trochta r.viewshed -e --overwrite --verbose input=STRomy@boubin output=pk coordinate=-803821.575747913,-1158866.72289775 max_dist=1500 Memory manager registering memory in MM_WARN_ON_MEMORY_EXCEEDED mode. Nodata value set to -1.#QNAN0 rows=14293, cols=12816, total = 183179088 In-memory memory usage is 18318011328 B (17469 MB), max mem allowed=524288000 B(500MB) * EXTERNAL_MEMORY MODE ... please also post the output of g.region -p Markus ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] r.viewshed -memory problem
On Tue, Jan 10, 2012 at 1:03 PM, Jan Trochta j.troc...@gmail.com wrote: Hi Folks, I am try to use GRASS7 SVN on win 7. I tested new modul r.viewshed on large dataset. But some problem with memory. not shure if it is my mistake or bug. Jan Trochta The memory-related warnings can be ignored. The limit of 500MB is exceeded by 4MB or 0.8%, nothing tragic. The error ami_single_temp_name: mktemp failed: : File exists is tragic, however. The problem could be related to wrong directory separators used by ami_single_temp_name (/ instead of \), needs testing. But it's definitively not your mistake. Markus M r.viewshed -e --overwrite --verbose input=STRomy@boubin output=pk coordinate=-803821.575747913,-1158866.72289775 max_dist=1500 Memory manager registering memory in MM_WARN_ON_MEMORY_EXCEEDED mode. Nodata value set to -1.#QNAN0 rows=14293, cols=12816, total = 183179088 In-memory memory usage is 18318011328 B (17469 MB), max mem allowed=524288000 B(500MB) * EXTERNAL_MEMORY MODE * Intermediate files will not be deleted in case of abnormal termination. To save space delete these files manually! Estimated size active structure: (key=64, ptr=4, total node=80 B) Total= 1143440 B Start sweeping. Computing events ... Sorting events... MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2520B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2598B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2676B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2754B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2832B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2910B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2988B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3066B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3144B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3222B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3300B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3378B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3456B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3534B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3612B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3690B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3768B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3846B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3924B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 4002B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 4080B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 4158B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 4236B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 4314B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 4392B. ami_single_temp_name: mktemp failed: : File exists Assertion failed: 0, file ami_stream.cpp, line 97 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. (Tue Jan 10 12:57:51 2012) Command finished (17 min 22 sec) ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] r.viewshed -memory problem
I tried decrease resolution to 0.2 and its work. g.region -p: projection: 99 (Krovak) zone: 0 datum: towgs84=570.8,85.7,462.8,4.998,1.587,5.261,3.56 ellipsoid: bessel north: -1158293.493 south: -1159681.061 west: -804210.292 east: -803341.459 nsres: 0.0769 ewres: 0.138 rows: 13876 cols: 8688 cells: 120554688 Jan Dne 10. ledna 2012 14:09 Markus Metz markus.metz.gisw...@googlemail.com napsal(a): On Tue, Jan 10, 2012 at 1:03 PM, Jan Trochta j.troc...@gmail.com wrote: Hi Folks, I am try to use GRASS7 SVN on win 7. I tested new modul r.viewshed on large dataset. But some problem with memory. not shure if it is my mistake or bug. Jan Trochta The memory-related warnings can be ignored. The limit of 500MB is exceeded by 4MB or 0.8%, nothing tragic. The error ami_single_temp_name: mktemp failed: : File exists is tragic, however. The problem could be related to wrong directory separators used by ami_single_temp_name (/ instead of \), needs testing. But it's definitively not your mistake. Markus M r.viewshed -e --overwrite --verbose input=STRomy@boubin output=pk coordinate=-803821.575747913,-1158866.72289775 max_dist=1500 Memory manager registering memory in MM_WARN_ON_MEMORY_EXCEEDED mode. Nodata value set to -1.#QNAN0 rows=14293, cols=12816, total = 183179088 In-memory memory usage is 18318011328 B (17469 MB), max mem allowed=524288000 B(500MB) * EXTERNAL_MEMORY MODE * Intermediate files will not be deleted in case of abnormal termination. To save space delete these files manually! Estimated size active structure: (key=64, ptr=4, total node=80 B) Total= 1143440 B Start sweeping. Computing events ... Sorting events... MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2520B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2598B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2676B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2754B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2832B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2910B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 2988B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3066B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3144B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3222B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3300B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3378B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3456B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3534B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3612B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3690B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3768B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3846B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 3924B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 4002B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 4080B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 4158B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 4236B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 4314B. MM warning: limit=524288000B. allocating 261881248B. limit exceeded by 4392B. ami_single_temp_name: mktemp failed: : File exists Assertion failed: 0, file ami_stream.cpp, line 97 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. (Tue Jan 10 12:57:51 2012) Command finished (17 min 22 sec) ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
[GRASS-dev] [GRASS GIS] #1532: Race condition in build system
#1532: Race condition in build system -+-- Reporter: volter | Owner: grass-dev@… Type: defect | Status: new Priority: normal | Milestone: 6.4.2 Component: Compiling| Version: 6.4.1 Keywords: |Platform: Unspecified Cpu: Unspecified | -+-- It didn't occur to me often, so I'm lucky we've got a build log! http://koji.fedoraproject.org/koji/getfile?taskID=3632965name=build.log -- Ticket URL: http://trac.osgeo.org/grass/ticket/1532 GRASS GIS http://grass.osgeo.org ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
[GRASS-dev] Re: [GRASS GIS] #1532: Race condition in build system
#1532: Race condition in build system --+- Reporter: volter | Owner: grass-dev@… Type: defect | Status: closed Priority: normal | Milestone: 6.4.2 Component: Compiling| Version: 6.4.1 Resolution: invalid |Keywords: Platform: Unspecified | Cpu: Unspecified --+- Changes (by volter): * status: new = closed * resolution: = invalid Comment: No, scratch that! -- Ticket URL: http://trac.osgeo.org/grass/ticket/1532#comment:1 GRASS GIS http://grass.osgeo.org ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
[GRASS-dev] [GRASS GIS] #1533: mm.cc fails to build with GCC 4.7
#1533: mm.cc fails to build with GCC 4.7 -+-- Reporter: volter | Owner: grass-dev@… Type: defect | Status: new Priority: major| Milestone: 6.4.2 Component: Compiling| Version: 6.4.1 Keywords: |Platform: Unspecified Cpu: Unspecified | -+-- {{{ mm.cc: In function 'void* operator new [](size_t)': mm.cc:259:32: error: declaration of 'void* operator new [](size_t)' has a different exception specifier In file included from mm.cc:29:0: /builddir/build/BUILD/grass-6.4.1/dist.x86_64-redhat-linux- gnu/include/grass/iostream/mm.h:114:17: error: from previous declaration 'void* operator new [](std::size_t) throw (std::bad_alloc)' mm.cc: In function 'void* operator new(size_t)': mm.cc:310:30: error: declaration of 'void* operator new(size_t)' has a different exception specifier In file included from mm.cc:29:0: /builddir/build/BUILD/grass-6.4.1/dist.x86_64-redhat-linux- gnu/include/grass/iostream/mm.h:113:17: error: from previous declaration 'void* operator new(std::size_t) throw (std::bad_alloc)' mm.cc: In function 'void operator delete(void*)': mm.cc:362:32: error: declaration of 'void operator delete(void*)' has a different exception specifier In file included from mm.cc:29:0: /builddir/build/BUILD/grass-6.4.1/dist.x86_64-redhat-linux- gnu/include/grass/iostream/mm.h:115:15: error: from previous declaration 'void operator delete(void*) throw ()' mm.cc: In function 'void operator delete [](void*)': mm.cc:402:34: error: declaration of 'void operator delete [](void*)' has a different exception specifier In file included from mm.cc:29:0: /builddir/build/BUILD/grass-6.4.1/dist.x86_64-redhat-linux- gnu/include/grass/iostream/mm.h:116:15: error: from previous declaration 'void operator delete [](void*) throw ()' make[3]: *** [OBJ.x86_64-redhat-linux-gnu/mm.o] Error 1 }}} -- Ticket URL: http://trac.osgeo.org/grass/ticket/1533 GRASS GIS http://grass.osgeo.org ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
[GRASS-dev] Re: [GRASS GIS] #1533: mm.cc fails to build with GCC 4.7
#1533: mm.cc fails to build with GCC 4.7 --+- Reporter: volter| Owner: grass-dev@… Type: defect| Status: new Priority: major | Milestone: 6.4.2 Component: Compiling | Version: 6.4.1 Keywords: libiostream, r.terraflow, gcc4.7 |Platform: Unspecified Cpu: Unspecified | --+- Changes (by hamish): * keywords: = libiostream, r.terraflow, gcc4.7 -- Ticket URL: https://trac.osgeo.org/grass/ticket/1533#comment:1 GRASS GIS http://grass.osgeo.org ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] r.viewshed -memory problem
On Tue, Jan 10, 2012 at 2:15 PM, Jan Trochta j.troc...@gmail.com wrote: I tried decrease resolution to 0.2 and its work. g.region -p: projection: 99 (Krovak) zone: 0 datum: towgs84=570.8,85.7,462.8,4.998,1.587,5.261,3.56 ellipsoid: bessel north: -1158293.493 south: -1159681.061 west: -804210.292 east: -803341.459 nsres: 0.0769 ewres: 0.138 rows: 13876 cols: 8688 cells: 120554688 Ja, do you really have a 10cm (!) resolution DEM there? Perhaps you want to adjust the resolution to that of the DEM. Best Markus ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
[GRASS-dev] Re: [GRASS GIS] #1533: mm.cc fails to build with GCC 4.7
#1533: mm.cc fails to build with GCC 4.7 --+- Reporter: volter| Owner: grass-dev@… Type: defect| Status: new Priority: major | Milestone: 6.4.2 Component: Compiling | Version: 6.4.1 Keywords: libiostream, r.terraflow, gcc4.7 |Platform: Unspecified Cpu: Unspecified | --+- Comment(by glynn): The log doesn't include the actual compilation command. Assuming that this is the issue originally reported in #1532, the command is: {{{ c++ -I/builddir/build/BUILD/grass-6.4.1/dist.x86_64-redhat-linux- gnu/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -DPACKAGE=\grasslibs\ -I/builddir/build/BUILD/grass-6.4.1/dist.x86_64-redhat-linux-gnu/include -o OBJ.x86_64-redhat-linux-gnu/mm.o -c mm.cc }}} I suspect that it's the -fexceptions which is causing the error. lib/iostream and r.terraflow neither throw nor catch exceptions, so there isn't actually any reason to use -fexceptions (either way, any exception will just terminate the program). OTOH, the exception specifications are part of the signature of the new and delete operators, so they should be present. Try r50130 from trunk; if there are no issues, it should be back-ported. -- Ticket URL: http://trac.osgeo.org/grass/ticket/1533#comment:2 GRASS GIS http://grass.osgeo.org ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev