I have installed GRASS GIS via elgis.repo (see below) on RHEL5 (Linux wn1.yerphi-cluster.grid.am 2.6.18-274.3.1.el5 #1 SMP Wed Sep 7 10:51:39 CEST 2011 x86_64 x86_64 x86_64 GNU/Linux) version.
I would like to know if you can send me an example with makefile to test.
Regards,
Hrach
···
–
Hrachya Astsatryan
Head of HPC Laboratory,
Institute for Informatics and Automation Problems,
National Academy of Sciences of the Republic of Armenia
1, P. Sevak str., Yerevan 0014, Armenia
t: 374 10 284780
f: 374 10 285812
e: hrach@sci.am
I have installed GRASS GIS via elgis.repo (see below) on RHEL5 (Linux wn1.yerphi-cluster.grid.am 2.6.18-274.3.1.el5 #1 SMP Wed Sep 7 10:51:39 CEST 2011 x86_64 x86_64 x86_64 GNU/Linux) version.
I would like to know if you can send me an example with makefile to test.
You can download the standard sample datasets here: http://grass.fbk.eu/download/data.php
Just untar one of them into your GISDBASE directory and you can start working with that data.
···
–
Hrachya Astsatryan
Head of HPC Laboratory,
Institute for Informatics and Automation Problems,
National Academy of Sciences of the Republic of Armenia
1, P. Sevak str., Yerevan 0014, Armenia
t: 374 10 284780
f: 374 10 285812
e: hrach@sci.am
_______________________________________________
grass-user mailing list
[grass-user@lists.osgeo.org](mailto:grass-user@lists.osgeo.org)
[http://lists.osgeo.org/mailman/listinfo/grass-user](http://lists.osgeo.org/mailman/listinfo/grass-user)
This mail was received via Mail-SeCure System.
Thanks for your response.
I just wanted to get a simple C example with makefile.
Such as #include <stdio.h> #include <stdarg.h> #include <grass/config.h> #include <grass/datetime.h> #include <grass/gisdefs.h>
…
…
Regards,
Hrach
···
–
Hrachya Astsatryan
Head of HPC Laboratory,
Institute for Informatics and Automation Problems,
National Academy of Sciences of the Republic of Armenia
1, P. Sevak str., Yerevan 0014, Armenia
t: 374 10 284780
f: 374 10 285812
e: hrach@sci.am
_______________________________________________
grass-user mailing list
[grass-user@lists.osgeo.org](mailto:grass-user@lists.osgeo.org)
[http://lists.osgeo.org/mailman/listinfo/grass-user](http://lists.osgeo.org/mailman/listinfo/grass-user)
This mail was received via Mail-SeCure System.
–
Hrachya Astsatryan
Head of HPC Laboratory,
Institute for Informatics and Automation Problems,
National Academy of Sciences of the Republic of Armenia
1, P. Sevak str., Yerevan 0014, Armenia
t: 374 10 284780
f: 374 10 285812
e: hrach@sci.am
Thanks a lot, but I can’t find Module.make (find / -name Module.make) in order to indicate it in the makefile.
I have installed grass, grass-devel, grass-lib via elgis.repo.
Regards,
Hrach
···
–
Hrachya Astsatryan
Head of HPC Laboratory,
Institute for Informatics and Automation Problems,
National Academy of Sciences of the Republic of Armenia
1, P. Sevak str., Yerevan 0014, Armenia
t: 374 10 284780
f: 374 10 285812
e: hrach@sci.am
–
Hrachya Astsatryan
Head of HPC Laboratory,
Institute for Informatics and Automation Problems,
National Academy of Sciences of the Republic of Armenia
1, P. Sevak str., Yerevan 0014, Armenia
t: 374 10 284780
f: 374 10 285812
e: hrach@sci.am
–
Hrachya Astsatryan
Head of HPC Laboratory,
Institute for Informatics and Automation Problems,
National Academy of Sciences of the Republic of Armenia
1, P. Sevak str., Yerevan 0014, Armenia
t: 374 10 284780
f: 374 10 285812
e: hrach@sci.am
I don't see (see below) any Module.make after successful install the grass
from elgis repo.
I don't know about 6.4.1, 6.4.2 seems to install makefiles correctly
include/Make/Module.make
Martin
I have installed successfully the Grass via elgis.repo (see below)
[root@wn1 grass-6.4.1]# yum list|grep grass|more
grass.x86_64 6.4.1-2.el5.elgis installed
grass-devel.x86_64 6.4.1-2.el5.elgis installed
grass-libs.x86_64 6.4.1-2.el5.elgis installed
So What should I do else?
···
–
Hrachya Astsatryan
Head of HPC Laboratory,
Institute for Informatics and Automation Problems,
National Academy of Sciences of the Republic of Armenia
1, P. Sevak str., Yerevan 0014, Armenia
t: 374 10 284780
f: 374 10 285812
e: hrach@sci.am
I have installed successfully the Grass via elgis.repo (see below)
[root@wn1 grass-6.4.1]# yum list|grep grass|more
grass.x86_64 6.4.1-2.el5.elgis
installed
grass-devel.x86_64 6.4.1-2.el5.elgis
installed
grass-libs.x86_64 6.4.1-2.el5.elgis
installed
So What should I do else?
well, GRASS 6.4.2 has been released yet, you could try to compile
GRASS [1] on your own or to wait for 6.4.2 release. Quick solution
could be to copy `Make` directory from SVN [2] to your `include`
directory. Anyway `grass-devel` seems to be incomplete in this repo.
Juts now I installed CVN binary in the /usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-21_01_2012, but when I compile i get the follwoing error
gcc -L/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-21_01_2012/lib -I/usr/local/grass6.5.svn-x86_64-unknown-linux-gnu-21_01_2012/include/grass/ 0o main main.c
main.c: In function ‘main’:
main.c:85: error: ‘PACKAGE’ undeclared (first use in this function)
main.c:85: error: (Each undeclared identifier is reported only once
main.c:85: error: for each function it appears in.)
Thank you in advanced,
Hrach
···
–
Hrachya Astsatryan
Head of HPC Laboratory,
Institute for Informatics and Automation Problems,
National Academy of Sciences of the Republic of Armenia
1, P. Sevak str., Yerevan 0014, Armenia
t: 374 10 284780
f: 374 10 285812
e: hrach@sci.am
–
Hrachya Astsatryan
Head of HPC Laboratory,
Institute for Informatics and Automation Problems,
National Academy of Sciences of the Republic of Armenia
1, P. Sevak str., Yerevan 0014, Armenia
t: 374 10 284780
f: 374 10 285812
e: hrach@sci.am
I have installed successfully the Grass via elgis.repo (see below)
[root@wn1 grass-6.4.1]# yum list|grep grass|more
grass.x86_64 6.4.1-2.el5.elgis
installed
grass-devel.x86_64 6.4.1-2.el5.elgis
installed
grass-libs.x86_64 6.4.1-2.el5.elgis
installed
So What should I do else?
well, GRASS 6.4.2 has been released yet, you could try to compile
GRASS [1] on your own or to wait for 6.4.2 release. Quick solution
could be to copy `Make` directory from SVN [2] to your `include`
directory. Anyway `grass-devel` seems to be incomplete in this repo.
--
Hrachya Astsatryan
Head of HPC Laboratory,
Institute for Informatics and Automation Problems,
National Academy of Sciences of the Republic of Armenia
1, P. Sevak str., Yerevan 0014, Armenia
t: 374 10 284780
f: 374 10 285812
e: hrach@sci.am
Hi Hrachya,
make sure you started a valid grass session before you execute any
grass command.
Sorry I am beginner in GRASS, what do you mean “start a valid grass session”?
Thank yu in advanced,
Hrach
···
–
Hrachya Astsatryan
Head of HPC Laboratory,
Institute for Informatics and Automation Problems,
National Academy of Sciences of the Republic of Armenia
1, P. Sevak str., Yerevan 0014, Armenia
t: 374 10 284780
f: 374 10 285812
e: hrach@sci.am
I think that means to start grass, such as type “grass” into your command line and then go through the steps to select your location so as to start a grass session.
Hi Hrachya,
make sure you started a valid grass session before you execute any
grass command.
Sorry I am beginner in GRASS, what do you mean “start a valid grass session”?
Thank yu in advanced,
Hrach
Does only r.example segfault or any other command too?
Best
Soeren
Hint:
I would avoid to use the root account when working with grass ....
2012/1/21 Hrachya Astsatryan [<hrach@sci.am>](mailto:hrach@sci.am):
After the compilation, r.example gives "Segmentation fault"
[root@wn1 r.example]# /usr/local/grass-6.4.2svn/bin/r.example
Segmentation fault
On 1/21/12 11:03 PM, Martin Landa wrote:
Hi,
2012/1/21 Hrachya Astsatryan [<hrach@sci.am>](mailto:hrach@sci.am):
I have installed successfully the Grass via elgis.repo (see below)
[root@wn1 grass-6.4.1]# yum list|grep grass|more
grass.x86_64 6.4.1-2.el5.elgis
installed
grass-devel.x86_64 6.4.1-2.el5.elgis
installed
grass-libs.x86_64 6.4.1-2.el5.elgis
installed
So What should I do else?
well, GRASS 6.4.2 has been released yet, you could try to compile
GRASS [1] on your own or to wait for 6.4.2 release. Quick solution
could be to copy `Make` directory from SVN [2] to your `include`
directory. Anyway `grass-devel` seems to be incomplete in this repo.
Martin
[1] [http://trac.osgeo.org/grass/wiki/BuildingOnUnix](http://trac.osgeo.org/grass/wiki/BuildingOnUnix)
[2]
[http://svn.osgeo.org/grass/grass/tags/release_20110412_grass_6_4_1/include/Make/](http://svn.osgeo.org/grass/grass/tags/release_20110412_grass_6_4_1/include/Make/)
--
Hrachya Astsatryan
Head of HPC Laboratory,
Institute for Informatics and Automation Problems,
National Academy of Sciences of the Republic of Armenia
1, P. Sevak str., Yerevan 0014, Armenia
t: 374 10 284780
f: 374 10 285812
e: [hrach@sci.am](mailto:hrach@sci.am)
_______________________________________________
grass-user mailing list
[grass-user@lists.osgeo.org](mailto:grass-user@lists.osgeo.org)
[http://lists.osgeo.org/mailman/listinfo/grass-user](http://lists.osgeo.org/mailman/listinfo/grass-user)
–
Hrachya Astsatryan
Head of HPC Laboratory,
Institute for Informatics and Automation Problems,
National Academy of Sciences of the Republic of Armenia
1, P. Sevak str., Yerevan 0014, Armenia
t: 374 10 284780
f: 374 10 285812
e: hrach@sci.am
Thank you very much for your quick responses.
We are planing to write parallel codes by using GRASS functions.
So we don’t need to use any graphical interface.
So how can I run the r.example in the text mode?
With regards,
Hrach
···
–
Hrachya Astsatryan
Head of HPC Laboratory,
Institute for Informatics and Automation Problems,
National Academy of Sciences of the Republic of Armenia
1, P. Sevak str., Yerevan 0014, Armenia
t: 374 10 284780
f: 374 10 285812
e: hrach@sci.am