[gdal-dev] gdal error in multi-core process

Giuseppe Amatulli giuseppe.amatulli at gmail.com
Tue Apr 3 16:16:54 EDT 2012


Hi thanks
for the fast replay.
yes my mistake, there was the same  temp.tif file in read/write from
the different processors.
Thanks
Ciao Ciao

>
> Giuseppe,
>
> You haven't offered too much detail of what myscript.sh does, but
> I'm guessing you use a fixed name for temporary files (ie. temp.tif)
> and you have two different scripts interfering with each other.  Try
> embedding the script process id into the temporary file name or
> some similar approach to avoid conflicts.
>
> I don't think this is a GDAL problem.
>
> But, you might want to be aware that GDAL is not going to
> react well if you have multiple processes updating one output
> file.
>
> Best regards,
> --
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Software Developer



-- 
Giuseppe Amatulli
Web: www.spatial-ecology.net


More information about the gdal-dev mailing list