[GRASS-user] I.vi.mpi

2012-03-28 Thread Ripsime Khachatryan
Hi all I have error related to GRASS GIS make: This is my Makefile: MODULE_TOPDIR =/localuser/soft/grass6/grass-6.4.2RC2 PGM = i.vi.mpi LIBES = $(RASTERLIB) $(GISLIB) $(MATHLIB) DEPENDENCIES = $(RASTERDEP) $(GISDEP) include $(MODULE_TOPDIR)/include/Make/Module.make default: cmd CC =

[GRASS-user] Vegetation index with OpenMP

2012-03-27 Thread Ripsime Khachatryan
Hi all I would like to asks if anybody calculated the vegetation index using OpenMP, and can anybody give me detailed information how to do that. I performed the same operation using MPI, so I am familiar with calculation. Thanks in advance for any help. Regards,

[GRASS-user] Simple programming code

2012-03-22 Thread Ripsime Khachatryan
Hi I have calculated the vegetation index using Grass 7 graphically and it was done perfectly, my question is: can I obtain a sample programming code in c language which do the same thing without using the graphical  interface ? Or is there anybody knows which methods from Grass 7 programming

[GRASS-user] i.vi without graphic. With C code

2012-03-22 Thread Ripsime Khachatryan
Hi all   After the run the i.vi with C code, I am getting the following error: GISRC - variable not set and after this command:   export GISRC=$TMPDIR/$THE_GRASSRC  I am getting the next error:  Variable 'LOCATION_NAME' not set So please any suggestion or help Thanks in advance for

[GRASS-user] i.vi.mpi

2012-03-14 Thread Ripsime Khachatryan
Hi all This is my Makefile MODULE_TOPDIR = /usr/local/grass-6.4.2svn/ CC=mpicc --static PGM = i.vi.mpi LIBES = $(GISLIB) $(GMATHLIB) DEPENDENCIES = $(GISDEP) $(GMATHDEP) include $(MODULE_TOPDIR)/include/Make/Module.make ifneq ($(USE_LARGEFILES),) EXTRA_CFLAGS = -D_FILE_OFFSET_BITS=64 endif

[GRASS-user] i.vi.mpi

2012-03-12 Thread Ripsime Khachatryan
Hi all I had imported the image and got 7 layers, but when I am running the i.vi.mpi /* (foo=3 filename=ndvi1-new-$foo time mpirun -np $foo /usr/local/grass-6.4.2svn/bin/i.vi.mpi viname=ndvi red=/localuser/ripsime/grass6/sevansee/PERMANENT/cell/outsevanozero.3@PERMANENT nir=outsevanozero.4

[GRASS-user] grass_addons Integration in GRASS GIS

2012-03-06 Thread Ripsime Khachatryan
Hi all I would like to add grass_addons to GRASS, and use it in my code, how can I accomplish it ? Thanks in advance for any suggestion and help. Regards,  Ripsime ___ grass-user mailing list grass-user@lists.osgeo.org

[GRASS-user] Parallel Grass job

2012-02-15 Thread Ripsime Khachatryan
I'm new to GRASS. I want to parallelize a program (Grass script), but keep getting the following error.  copmpi.c:7:17: error: mpi.h: No such file or directory copmpi.c: In function ‘main’: copmpi.c:177: error: redeclaration of ‘row’ with no linkage copmpi.c:45: error: previous declaration of