Opened 5 years ago

Last modified 4 years ago

#3759 new defect

v.kriging add on install missing BLAS libraries on Windows

Reported by: fanfanchart Owned by: grass-dev@…
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.

see below: https://trac.osgeo.org/grass/browser/grass/branches/releasebranch_7_4/mswindows/osgeo4w/package.sh#L168

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)

comment:1 by martinl, 5 years ago

Component: DefaultAddons
Milestone: 7.6.1

comment:2 by marisn, 5 years ago

Keywords: v.kriging BLAS added
Platform: UnspecifiedMSWindows
Summary: Grass V.Krige/v.kriging add on install missing librariesv.kriging add on install missing BLAS libraries on Windows

This issue does not affect v.krige as it serves as a fronted for R.

in reply to:  1 ; comment:3 by hellik, 5 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ß

in reply to:  3 comment:4 by hellik, 5 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ß

lapack for windows

comment:5 by martinl, 5 years ago

Remove Milestone from Addons bugreports.

comment:6 by neteler, 4 years ago

Milestone: 7.8.3
Note: See TracTickets for help on using tickets.