Hi Felix,

Using the all the cores on a the master is a fallback for when you do
provide any information about the machines you want to use.  To
specify the machine setup you use the --machine mylocal.machines, then
set mylocal.machines to:

Machine
{
    hostname localhost
    processes 4
}

Then run vpbmaster.  As for osgdem hanging, there is good chance that
the build is just too big for a single osgdem run to handle as the
larger the portion of the database a single osgdem attempts to handle
the more memory it uses - the cause of this is the boundary
equalization requires neighbouring tiles to kept in memory.  vpbmaster
allows you to scale better by subdiving the complete database down
into small tasks.

Robert.

On Tue, Jun 8, 2010 at 4:52 PM, Felix Morsdorf
<[email protected]> wrote:
> Dear all,
>
> I am a happy (and thus mostly quite user) of OSG since a number of years but 
> now have run into a problem with VPB:
>
> when generating a Pagedlod database with 10 subtiles regions, it will use the 
> eight cores of my mac pro and build these tiles correctly, but will then fail 
> to build the remaining two (which were scheduled to run when processors 
> becomes idle, as far as I understood).
>
> Trying to resume the build with the --tasks option fails as well and  in the 
> log files I find this:
>
> 0.017        : Adding terrainTile
> 0.067        : DataSet::_run() 0 0
> 0.068        : DataSet::assignDestinationCoordinateSystem() : assigning first 
> source file as the destination coordinate system
> 0.068        : started DataSet::createDestination(30)
> 0.068        : Time for after_reproject 0.000003
> 0.068        : DataSet::assignDestinationCoordinateSystem() : assigning first 
> source file as the destination coordinate system
> 0.069        : AR=2.857143 C1=3 R1=1
> 0.069        : createNewDestinationGraph
> 0.074        : Time for _destinationGraph->computeMaximumSourceResolution() = 
> 0.000000
> 0.074        : Time for createDestinationGraph 0.005443
> 0.074        : Time for after_computeNeighbours 0.000009
> 0.074        : completed DataSet::createDestination(30)
> 0.074        : Error: no destination graph built, cannot proceed with build.
> 0.074        : Elapsed time = 0.074030
>
> Any idea on what I might be doing wrong ?
>
> And : is there a way of limit the number of cores that VBP uses ?
> Using all eight cores on my machine with one disk does not seem to make 
> sense, since the single osgdem processes seem to hang quite often 
> (Application not responding). If that is an I/O limitation, I'd like to use 
> only four cores.
>
> Thank you for this wonderful tool!
>
> Cheers,
> Felix
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=28696#28696
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to