[GRASS-user] i.vi.mpi grass7

Ripsime Khachatryan kuli13 at mail.ru
Fri Mar 16 04:59:40 EDT 2012


Hi all




 This is my run.sh file



#!/bin/bash

export GISBASE=/home/soft/grass-7.0.svn_src_snapshot_2011_12_03/dist.x86_64-unknown-linux-gnu
export PATH=$PATH:$GISBASE/bin:$GISBASE/scripts
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GISBASE/lib:/home/soft/grass7/grass-7.0.svn/lib
export GIS_LOCK=$$
export GRASS_PNGFILE=/tmp/grass7output.png
export GRASS_TRUECOLOR=TRUE
export GRASS_WIDTH=900
export GRASS_HEIGHT=1200
export GRASS_PNG_COMPRESSION=1
export GRASS_MESSAGE_FORMAT=plain

foo=3
 filename=ndvi1-new-$foo
#time mpirun -np $foo i.vi.mpi viname=ndvi red=outsevanozero.3 nir=outsevanozero.4 output=$filename tmp=1
 echo "mpirun -np $foo /home/soft/grass7/grass-7.0.svn/bin/i.vi.mpi viname=ndvi red=outsevanozero.3 nir=outsevanozero.4 vi=$filename tmp=1"
time /opt/mpich-1.2.7p1/bin/mpirun -np $foo /home/soft/grass7/grass-7.0.svn/bin/i.vi.mpi viname=ndvi red=outsevanozero.3 nir=outsevanozero.4 vi=$filename tmp=1
exit 0
  When I am running the script I am getting this error:




mpirun -np 3 /home/soft/grass7/grass-7.0.svn/bin/i.vi.mpi viname=ndvi red=outsevanozero.3 nir=outsevanozero.4 vi=ndvi1-new-3 tmp=1
/home/soft/grass7/grass-7.0.svn/bin/i.vi.mpi: error while loading shared libraries: libgrass_raster.7.0.svn.so: cannot open shared object file: No such file or directory
p0_6075: p4_error: Child process exited while making connection to remote process on wn1.yerphi-cluster.grid.am: 0
p0_6075: (4.285156) net_send: could not write to fd=4, errno = 32
real 0m4.641s
user 0m0.047s
sys 0m0.064s


But there is the libgrass_raster.7.0.svn.so in /home/soft/grass7/grass-7.0.svn/lib


So please any suggestion or help.


Regards,
Ripsime 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20120316/a03226df/attachment.html


More information about the grass-user mailing list