[GRASS-user] i.vi.mpi grass7

Markus Neteler neteler at osgeo.org
Fri Mar 16 07:05:04 EDT 2012


On Fri, Mar 16, 2012 at 9:59 AM, Ripsime Khachatryan <kuli13 at mail.ru> wrote:
...
> mpirun -np 3 /home/soft/grass7/grass-7.0.svn/bin/i.vi.mpi viname=ndvi
> red=outsevanozero.3 nir=outsevanozero.4 vi=ndvi1-new-3 tmp=1
> /home/soft/grass7/grass-7.0.svn/bin/i.vi.mpi: error while loading shared
> libraries: libgrass_raster.7.0.svn.so: cannot open shared object file: No
> such file or directory
...
> But there is the libgrass_raster.7.0.svn.so
> in /home/soft/grass7/grass-7.0.svn/lib

The problem is that the path is missing from LD_LIBRARY_PATH.

To fix generate a dedicated file containing this path:

su
echo "/home/soft/grass7/grass-7.0.svn/lib" > /etc/ld.so.conf.d/grass7.conf
ldconfig
exit

Hope this helps
Markus


More information about the grass-user mailing list