[gdal-dev] I get the following error when running gdalwarp with the -multi switch: ERROR 1: CPLCreateThread() failed in ChunkAndWarpMulti()

John Mitchell mitchelljj98 at gmail.com
Wed Aug 25 09:42:52 EDT 2010


I get the following error when running gdalwarp with the -multi switch:

gdalwarp -multi -tr 1.2 1.2 -rc -s_srs EPSG:26917 -t_srs EPSG:26917
-co bigtiff=yes  -q "17RMP395060.tif"
"/tmp/gvAppTemp/gvApp2/m2.tiftemp"

ERROR 1: CPLCreateThread() failed in ChunkAndWarpMulti()
ERROR 1: CPLCreateThread() failed in ChunkAndWarpMulti()

The -multi switch causes the error but if I take out the -multi switch
then the command completes.

When I do the same command on an older linux server with the -multi
switch then the command does not error off, so it could be that the
newer server has a later version of gdal that does not like -multi.

The command will work without the -multi switch which I believe is
supposed to run the gdalwarp command in multithreaded mode which in
theory should be faster.

On a 64 bit version of gdal running on a 64 bit linux does performance
improve at all if the -multi switch is included and if so how can I
prevent this error from occurring when using the -multi switch.

Thanks,

John


More information about the gdal-dev mailing list