Hi all,

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

Yann
________________________________
From: [email protected] [[email protected]] 
on behalf of Alexander Muriy [[email protected]]
Sent: Thursday, March 15, 2012 12:12 PM
To: [email protected]
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.

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

_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to