<HTML><BODY><strong style="font-family: Arial, Tahoma, Verdana, sans-serif; " data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif;"><em><span id="mailru-webagent-gen-34" data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif;">Hi all</span></em></strong><br style="font-family: Arial, Tahoma, Verdana, sans-serif; " data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif;"><br style="font-family: Arial, Tahoma, Verdana, sans-serif; " data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif;"><p style="font-family: Arial, Tahoma, Verdana, sans-serif; " data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif;"><strong><em><br></em></strong></p><p style="font-family: Arial, Tahoma, Verdana, sans-serif; " data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif;"><font face="Arial, Tahoma, Verdana, sans-serif"><br><br><em><strong> This is my run.sh file</strong></em><br><br><br></font></p><p>#!/bin/bash</p><p><br>export GISBASE=/home/soft/grass-7.0.svn_src_snapshot_2011_12_03/dist.x86_64-unknown-linux-gnu<br>export PATH=$PATH:$GISBASE/bin:$GISBASE/scripts<br>#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<br>/home/soft/grass7/grass-7.0.svn/lib<br>export GIS_LOCK=$$<br>export GRASS_PNGFILE=/tmp/grass7output.png<br>export GRASS_TRUECOLOR=TRUE<br>export GRASS_WIDTH=900<br>export GRASS_HEIGHT=1200<br>export GRASS_PNG_COMPRESSION=1<br>export GRASS_MESSAGE_FORMAT=plain</p><p> </p><p><br>THE_GISDBASE="/localuser/ripsime/.grass7"<br>THE_LOCATION="Sevan"<br>THE_MAPSET="PERMANENT"</p><p><br>#THE_GRASSRC="/tmp/grassrc.$$"</p><p>echo "GISDBASE: $THE_GISDBASE<br>LOCATION_NAME: $THE_LOCATION<br>MAPSET: $THE_MAPSET<br>" > "$THE_GRASSRC"<br>export <span class="posthilit">GISRC</span>="$THE_GRASSRC"</p><p><br>foo=3<br> filename=ndvi1-new-$foo</p><p>#time mpirun -np $foo i.vi.mpi viname=ndvi red=outsevanozero.3 nir=outsevanozero.4 output=$filename tmp=1<br> 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"</p><p>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</p><p style="font-family: Arial, Tahoma, Verdana, sans-serif; " data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif;"><font face="Arial, Tahoma, Verdana, sans-serif"><br></font></p><p id="mailru-webagent-gen-35" style="font-family: Arial, Tahoma, Verdana, sans-serif; " data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif;"> </p><em style="font-family: Arial, Tahoma, Verdana, sans-serif; " data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif;"><strong><span data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif;"> When I am running the script I am getting this error:<br><br><br><br></span></strong></em><br style="font-family: Arial, Tahoma, Verdana, sans-serif; " data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif;"><p>./run.sh: line 7: /home/soft/grass7/grass-7.0.svn/lib: is a directory<br>./run.sh: line 30: span: No such file or directory<br>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<br>Variable 'LOCATION_NAME' not set<br>p1_14637: p4_error: net_recv read: probable EOF on socket: 1<br>bm_list_14630: (0.625000) wakeup_slave: unable to interrupt slave 0 pid 14629<br>bm_list_14630: (0.625000) wakeup_slave: unable to interrupt slave 0 pid 14629<br>p2_14769: p4_error: net_recv read: probable EOF on socket: 1</p><p>real 0m1.161s<br>user 0m0.034s<br>sys 0m0.095s<br>[wn1] /localuser/ripsime/i.vi.mpi > rm_l_1_14762: (0.316406) net_send: could not write to fd=5, errno = 32<br>rm_l_2_14894: (0.000000) net_send: could not write to fd=5, errno = 32<br></p><p id="mailru-webagent-gen-36" style="font-family: Arial, Tahoma, Verdana, sans-serif; " data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif;"><br><br>May be my run.sh file is not right !!! (((((((</p><p id="mailru-webagent-gen-35" style="font-family: Arial, Tahoma, Verdana, sans-serif; " data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif;"><span style="font-size: 12px; "><font size="4"><br></font></span></p><font style="font-family: Arial, Tahoma, Verdana, sans-serif; " face="Arial, Tahoma, Verdana, sans-serif" data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif;"><br></font><p id="mailru-webagent-gen-33" style="font-family: Arial, Tahoma, Verdana, sans-serif; " data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif;"><em><strong>So please any suggestion or help.</strong></em><br><br><br><em><strong>Regards,</strong></em><br><em><strong>Ripsime </strong></em></p></BODY></HTML>