[GRASS-user] Re: i.vi.mpi

Chemin, Yann (IWMI) Y.Chemin at cgiar.org
Thu Mar 15 02:53:56 EDT 2012


Hi all,

Added a GRASS7 version of i.vi.mpi in addons/grass7/imagery/

Yann
________________________________
From: grass-user-bounces at lists.osgeo.org [grass-user-bounces at lists.osgeo.org] on behalf of Alexander Muriy [amuriy at gmail.com]
Sent: Thursday, March 15, 2012 12:12 PM
To: grass-user at lists.osgeo.org
Subject: [GRASS-user] Re: i.vi.mpi

Hello Ripsime.

This is my Makefile


MODULE_TOPDIR = /usr/local/grass-6.4.2svn/
CC=mpicc --static
PGM = i.vi.mpi
LIBES = $(GISLIB) $(GMATHLIB)
DEPENDENCIES = $(GISDEP) $(GMATHDEP)
include $(MODULE_TOPDIR)/include/Make/Module.make
ifneq ($(USE_LARGEFILES),)
 EXTRA_CFLAGS = -D_FILE_OFFSET_BITS=64
endif
default: cmd
CC=mpicc -L/usr/local/grass-6.4.2svn/lib/ /usr/local/grass-6.4.2svn/lib/libgrass_gis.6.4.2svn.so<http://libgrass_gis.6.4.2svn.so>

When I do a make I am getting this:

make[2]: *** [/usr/local/grass-6.4.2svn/man/man1/i.vi.mpi.1] Error 126
make[2]: Leaving directory `/localuser/ripsime/mpitest'
make[1]: *** [mancmd] Error 2
make[1]: Leaving directory `/localuser/ripsime/mpitest'
make: *** [cmd] Error 2


You ignored these compilation errors and want the working module ...

Why not to use the default Makefile from <i.vi.mpi> add-on directory? I used command:
"make MODULE_TOPDIR=/home/user/bin/grass643svn_bin/grass-6.4.3svn/"
and i.vi.mpi compiled successfully.

So try to recompile module and than run you script again.

------------------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20120315/af816d62/attachment.html


More information about the grass-user mailing list