[GRASS-dev] [GRASS GIS] #2185: Painfully Slow 'v.in.ogr' Vector Import
GRASS GIS
trac at osgeo.org
Tue Mar 21 03:56:07 PDT 2017
#2185: Painfully Slow 'v.in.ogr' Vector Import
-------------------------+------------------------------------------------
Reporter: justinzane | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.6
Component: Vector | Version: svn-trunk
Resolution: | Keywords: import, OGR, performance, v.in.ogr
CPU: x86-64 | Platform: Linux
-------------------------+------------------------------------------------
Comment (by neteler):
In addition, here my compiler settings, maybe that makes a difference?
{{{
sh -x conf_grass7.sh
+ INTEL='-march=native -std=gnu99 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector -m64'
+ MYGCC=-fdiagnostics-color
+ MYCFLAGS='-Wall -fopenmp -lgomp -Ofast -fno-fast-math -march=core-avx-i
-fno-common -fexceptions -march=native -std=gnu99 -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector -m64 MYGCC'
+ MYLDFLAGS='-Wl,--no-undefined -fopenmp -lgomp'
+ MYCXXFLAGS=-Ofast
+ CC=clang
+ CXX=clang++
+ CFLAGS=-O2
+ CXXFLAGS=-O2
+ LDFLAGS=-s
+ ./configure --with-cxx --enable-largefile --with-proj --with-proj-
share=/usr/share/proj --with-gdal=/usr/bin/gdal-config --with-python
--with-geos --with-liblas --with-sqlite --with-nls --with-blas --with-
blas-includes=/usr/include/atlas-x86_64-base/ --with-lapack --with-lapack-
includes=/usr/include/atlas-x86_64-base/ --with-cairo --with-cairo-
ldflags=-lfontconfig --with-freetype --with-freetype-
includes=/usr/include/freetype2 --with-wxwidgets=/usr/bin/wx-config
--with-fftw --with-motif --with-postgres --with-netcdf --without-mysql
--without-odbc --without-openmp --without-ffmpeg
+ tee config_log.txt
checking host system type... x86_64-pc-linux-gnu
checking for gcc... clang
checking whether the C compiler (clang -O2 -s) works... yes
checking whether the C compiler (clang -O2 -s) is a cross-compiler... no
checking whether we are using GNU C... yes
...
# CPU:
cat /proc/cpuinfo | grep 'model name'
model name : Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
...
}}}
I'll switch to gcc and test again.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2185#comment:33>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list