Opened 6 years ago
Last modified 5 years ago
#3759 new defect
v.kriging add on install missing BLAS libraries on Windows
Reported by: | fanfanchart | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.8.3 |
Component: | Addons | Version: | unspecified |
Keywords: | v.kriging BLAS | Cc: | |
CPU: | Unspecified | Platform: | MSWindows |
Description
Hi,
When installing the add on v.krige and running it, the error message (see below) indicates that
https://grass.osgeo.org/grass74/manuals/addons/ --> Windows log files
--> vector/v.kriging FAILED log
--> http://wingrass.fsv.cvut.cz/grass74/x86/addons/latest/logs/v.kriging.log
" #error GRASS GIS is not configured with BLAS (la.h cannot be included) "
This means that the LAPACK/BLAS numerical libraries are apparently not installed/activated on the wingrass server on which the WinGRASS addons are built.
for the compilation configuration of winGRASS:
168 LDFLAGS="-L$PWD/mswindows/osgeo4w/lib -lz" ./configure \ 169 --host=$conf_host \ 170 --with-libs="$PWD/mswindows/osgeo4w/lib "\ 171 --with-includes=$OSGEO4W_ROOT_MSYS/include \ 172 --libexecdir=$OSGEO4W_ROOT_MSYS/bin \ 173 --prefix=$OSGEO4W_ROOT_MSYS/apps/grass \ 174 --bindir=$OSGEO4W_ROOT_MSYS/bin \ 175 --includedir=$OSGEO4W_ROOT_MSYS/include \ 176 --without-x \ 177 --with-cxx \ 178 --enable-shared \ 179 --enable-largefile \ 180 --with-fftw \ 181 --with-freetype \ 182 --with-proj-share=$OSGEO4W_ROOT_MSYS/share/proj \ 183 --with-gdal=$PWD/mswindows/osgeo4w/gdal-config \ 184 --with-geos=$PWD/mswindows/osgeo4w/geos-config \ 185 --with-sqlite \ 186 --with-regex \ 187 --with-nls \ 188 --with-freetype-includes=$OSGEO4W_ROOT_MSYS/include/freetype2 \ 189 --with-odbc \ 190 --with-cairo \ 191 --with-postgres \ 192 --with-opengl=windows \ 193 --with-bzlib $conf_opts
and see addon compilation log: (https://wingrass.fsv.cvut.cz/grass77/x86_64/addons/grass-7.7.svn/logs/v.kriging.log)
"C:/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include/grass/la.h:17:2: error: #error GRASS GIS is not configured with BLAS (la.h cannot be included)
#error GRASS GIS is not configured with BLAS (la.h cannot be included)
C:/msys64/usr/src/grass_trunk/dist.x86_64-w64-mingw32/include/grass/la.h:21:2: error: #error GRASS GIS is not configured with LAPACK (la.h cannot be included)
#error GRASS GIS is not configured with LAPACK (la.h cannot be included)
In file included from geostat.c:1:0: local_proto.h:24:2: warning: #warning G_matrix_product() not compiled; requires GRASS GIS compiled and installed with BLAS library support [-Wcpp]
#warning G_matrix_product() not compiled; requires GRASS GIS compiled and
installed with BLAS library support"
open an enhancement ticket to include BLAS into winGRASS.
Change History (6)
follow-up: 3 comment:1 by , 6 years ago
Component: | Default → Addons |
---|---|
Milestone: | 7.6.1 |
comment:2 by , 6 years ago
Keywords: | v.kriging BLAS added |
---|---|
Platform: | Unspecified → MSWindows |
Summary: | Grass V.Krige/v.kriging add on install missing libraries → v.kriging add on install missing BLAS libraries on Windows |
follow-up: 4 comment:3 by , 6 years ago
Replying to martinl:
msys2 (as building environment) has following packages:
mingw/mingw-w64-openblas 0.3.0-1 An optimized BLAS library based on GotoBLAS2 1.13 BSD, providing optimized blas, lapack, and cblas (mingw-w64) mingw/mingw-w64-lapack 3.8.0-1 Linear Algebra PACKage (mingw-w64)
or including it in OSGeo4W as we need it then when running GRASSß
comment:4 by , 6 years ago
Replying to hellik:
Replying to martinl:
msys2 (as building environment) has following packages:
mingw/mingw-w64-openblas 0.3.0-1 An optimized BLAS library based on GotoBLAS2 1.13 BSD, providing optimized blas, lapack, and cblas (mingw-w64) mingw/mingw-w64-lapack 3.8.0-1 Linear Algebra PACKage (mingw-w64)or including it in OSGeo4W as we need it then when running GRASSß
comment:6 by , 5 years ago
Milestone: | → 7.8.3 |
---|
This issue does not affect v.krige as it serves as a fronted for R.