[GRASS-user] Parallel Grass job

Ripsime Khachatryan kuli13 at mail.ru
Mon Feb 20 06:26:16 EST 2012


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 ‘row’ was here
copmpi.c:187: error: ‘MPI_Status’ undeclared (first use in this function)
copmpi.c:187: error: (Each undeclared identifier is reported only once
copmpi.c:187: error: for each function it appears in.)
copmpi.c:187: error: expected ‘;’ before ‘status’
copmpi.c:189: error: ‘MPI_COMM_WORLD’ undeclared (first use in this function)
copmpi.c:196: error: ‘MPI_INT’ undeclared (first use in this function)
copmpi.c:211: warning: assignment makes integer from pointer without a cast
copmpi.c:212: warning: assignment makes integer from pointer without a cast
copmpi.c:218: error: ‘MPI_DOUBLE’ undeclared (first use in this function)
copmpi.c:224: error: ‘status’ undeclared (first use in this function)
copmpi.c:242: error: expected expression before ‘inrast_redchan’
copmpi.c:265: error: subscripted value is neither array nor pointer
make: *** [OBJ.x86_64-unknown-linux-gnu/copmpi.o] Error 1


tried other scripts but again  
myMPIexample.c:1:69: error: mpi.h: No such file or directory


But MPI alone (mpi.h) works. and <gis.h> works alone as well too. That is no problem with libraries.


how can I solve this problem??? and what to do? help me please. Thank you !!!

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20120220/1263bc59/attachment.html


More information about the grass-user mailing list