[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

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.


Hi all,

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

Yann


From: grass-user-bounces@lists.osgeo.org [grass-user-bounces@lists.osgeo.org] on behalf of Alexander Muriy [amuriy@gmail.com]
Sent: Thursday, March 15, 2012 12:12 PM
To: grass-user@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

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.