<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi all,<br>
<br>
Added a GRASS7 version of i.vi.mpi in addons/grass7/imagery/<br>
<br>
Yann<br>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF636682"><font color="#000000" face="Tahoma" size="2"><b>From:</b> grass-user-bounces@lists.osgeo.org [grass-user-bounces@lists.osgeo.org] on behalf of Alexander Muriy [amuriy@gmail.com]<br>
<b>Sent:</b> Thursday, March 15, 2012 12:12 PM<br>
<b>To:</b> grass-user@lists.osgeo.org<br>
<b>Subject:</b> [GRASS-user] Re: i.vi.mpi<br>
</font><br>
</div>
<div></div>
<div>Hello Ripsime.<br>
<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
This is my Makefile<br>
<br>
<br>
MODULE_TOPDIR = /usr/local/grass-6.4.2svn/<br>
CC=mpicc --static<br>
PGM = i.vi.mpi<br>
LIBES = $(GISLIB) $(GMATHLIB)<br>
DEPENDENCIES = $(GISDEP) $(GMATHDEP)<br>
include $(MODULE_TOPDIR)/include/Make/Module.make<br>
ifneq ($(USE_LARGEFILES),)<br>
&nbsp;EXTRA_CFLAGS = -D_FILE_OFFSET_BITS=64<br>
endif<br>
default: cmd<br>
CC=mpicc -L/usr/local/grass-6.4.2svn/lib/ /usr/local/grass-6.4.2svn/lib/<a href="http://libgrass_gis.6.4.2svn.so" target="_blank">libgrass_gis.6.4.2svn.so</a><br>
<br>
When I do a make&nbsp;I am getting this:<br>
<br>
make[2]: *** [/usr/local/grass-6.4.2svn/man/man1/i.vi.mpi.1] Error 126<br>
make[2]: Leaving directory `/localuser/ripsime/mpitest'<br>
make[1]: *** [mancmd] Error 2<br>
make[1]: Leaving directory `/localuser/ripsime/mpitest'<br>
make: *** [cmd] Error 2<br>
<br>
</blockquote>
<div><br>
You ignored these compilation errors and want the working module ...<br>
<br>
Why not to use the default Makefile from &lt;i.vi.mpi&gt; add-on directory? I used command:<br>
&quot;make MODULE_TOPDIR=/home/user/bin/grass643svn_bin/grass-6.4.3svn/&quot; <br>
and i.vi.mpi compiled successfully. <br>
<br>
So try to recompile module and than run you script again.<br>
<br>
------------------------------------------------------------------------------------<br>
<br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>