Hello Ripsime.<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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>
 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 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&#39;<br>
make[1]: *** [mancmd] Error 2<br>
make[1]: Leaving directory `/localuser/ripsime/mpitest&#39;<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>