[GRASS-user] i.vi.mpi grass7

Ripsime Khachatryan kuli13 at mail.ru
Wed Mar 21 07:15:27 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:echo "/home/soft/grass7/grass-7.0.svn/lib" > /etc/ld.so.conf.d/grass7.conf
/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
 

THE_GISDBASE="/localuser/ripsime/.grass7"
THE_LOCATION="Sevan"
THE_MAPSET="PERMANENT"

#THE_GRASSRC="/tmp/grassrc.$$"
echo "GISDBASE: $THE_GISDBASE
LOCATION_NAME: $THE_LOCATION
MAPSET: $THE_MAPSET
" > "$THE_GRASSRC"
export <span class="posthilit">GISRC</span>="$THE_GRASSRC"

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

  When I am running the script I am getting this error:




./run.sh: line 7: /home/soft/grass7/grass-7.0.svn/lib: is a directory
./run.sh: line 30: span: No such file or directory
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
Variable 'LOCATION_NAME' not set
p1_14637: p4_error: net_recv read: probable EOF on socket: 1
bm_list_14630: (0.625000) wakeup_slave: unable to interrupt slave 0 pid 14629
bm_list_14630: (0.625000) wakeup_slave: unable to interrupt slave 0 pid 14629
p2_14769: p4_error: net_recv read: probable EOF on socket: 1
real 0m1.161s
user 0m0.034s
sys 0m0.095s
[wn1] /localuser/ripsime/i.vi.mpi > rm_l_1_14762: (0.316406) net_send: could not write to fd=5, errno = 32
rm_l_2_14894: (0.000000) net_send: could not write to fd=5, errno = 32


May be my run.sh file is not right !!! (((((((


So please any suggestion or help.


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


More information about the grass-user mailing list