[GRASS-dev] [GRASS GIS] #3158: r.watershed: PredictorSetup:Horizontal differencing "Predictor" not supported with 64-bit samples

GRASS GIS trac at osgeo.org
Wed Sep 14 12:48:50 PDT 2016


#3158: r.watershed: PredictorSetup:Horizontal differencing "Predictor" not
supported with 64-bit samples
---------------------------------------------+-----------------------------
 Reporter:  neteler                          |      Owner:  grass-dev@…
     Type:  defect                           |     Status:  new
 Priority:  major                            |  Milestone:  7.2.0
Component:  Raster                           |    Version:  svn-
                                             |  releasebranch72
 Keywords:  libtiff, r.watershed, libraster  |        CPU:  Unspecified
 Platform:  Unspecified                      |
---------------------------------------------+-----------------------------
 {{{
 GRASS 7.2.svn (nc_spm_08_grass7): > g.region raster=elev_lid792_1m
 GRASS 7.2.svn (nc_spm_08_grass7): > r.watershed elevation=elev_lid792_1m
 accumulation=elev_lid792_1m_accu
 SECTION 1a (of 4): Initiating Memory.
 SECTION 1b (of 4): Determining Offmap Flow.
  100%
 SECTION 2: A* Search.
  100%
 SECTION 3a: Accumulating Surface Flow with MFD.
  100%
 SECTION 3b: Adjusting drainage directions.
  100%
 SECTION 4: Closing Maps.
 ERROR 1: PredictorSetup:Horizontal differencing "Predictor" not supported
 with 64-bit samples
 ERROR 1: PredictorSetup:Horizontal differencing "Predictor" not supported
 with 64-bit samples

 g.version -eg
 version=7.2.svn
 date=2016
 revision=r69482M
 build_date=2016-09-14
 build_platform=x86_64-pc-linux-gnu
 build_off_t_size=8
 proj4=4.9.2
 gdal=2.0.2
 geos=3.5.0
 sqlite=3.13.0
 }}}

 Do we have a namespace collision with GDAL?

 {{{
 [neteler at oboe gdal-2.1.svn]$ !find
 find . -type f | grep -v 'svn/pristine'  | xargs grep PredictorSetup
 ./frmts/gtiff/libtiff/gdal_libtiff_symbol_rename.h:#define PredictorSetup
 gdal_PredictorSetup
 ./frmts/gtiff/libtiff/gdal_libtiff_symbol_rename.h:#define
 PredictorSetupDecode gdal_PredictorSetupDecode
 ./frmts/gtiff/libtiff/gdal_libtiff_symbol_rename.h:#define
 PredictorSetupEncode gdal_PredictorSetupEncode
 ./frmts/gtiff/libtiff/tif_predict.c:PredictorSetup(TIFF* tif)
 ./frmts/gtiff/libtiff/tif_predict.c:    static const char module[] =
 "PredictorSetup";
 ./frmts/gtiff/libtiff/tif_predict.c:PredictorSetupDecode(TIFF* tif)
 ./frmts/gtiff/libtiff/tif_predict.c:    if (!(*sp->setupdecode)(tif) ||
 !PredictorSetup(tif))
 ./frmts/gtiff/libtiff/tif_predict.c:PredictorSetupEncode(TIFF* tif)
 ./frmts/gtiff/libtiff/tif_predict.c:    if (!(*sp->setupencode)(tif) ||
 !PredictorSetup(tif))
 ./frmts/gtiff/libtiff/tif_predict.c:    tif->tif_setupdecode =
 PredictorSetupDecode;
 ./frmts/gtiff/libtiff/tif_predict.c:    tif->tif_setupencode =
 PredictorSetupEncode;
 }}}

 System:

 {{{
 uname -a
 Linux oboe.localdomain 4.6.6-300.fc24.x86_64 #1 SMP Wed Aug 10 21:07:35
 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

 gcc -v
 Using built-in specs.
 COLLECT_GCC=/usr/bin/gcc
 COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/6.1.1/lto-wrapper
 Target: x86_64-redhat-linux
 Configured with: ../configure --enable-bootstrap --enable-
 languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr
 --mandir=/usr/share/man --infodir=/usr/share/info --with-
 bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-
 threads=posix --enable-checking=release --enable-multilib --with-system-
 zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-
 unique-object --enable-linker-build-id --with-linker-hash-style=gnu
 --enable-plugin --enable-initfini-array --disable-libgcj --with-isl
 --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-
 arch_32=i686 --build=x86_64-redhat-linux
 Thread model: posix
 gcc version 6.1.1 20160621 (Red Hat 6.1.1-3) (GCC)
 }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3158>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list