Details Ticket 2155


Comment | Reply | Take | Resolve


Serial Number 2155
Subject integrating GRASS r.mapcalc with MPI
Area wish
Queue grass
Requestors rachael@
Owner none
Status open
Last User Contact Tue Oct 14 18:07:21 2003 (5 yr ago)
Current Priority 20
Final Priority 70
Due No date assigned
Last Action Tue Oct 14 18:22:22 2003 (5 yr ago)
Created Tue Oct 14 06:07:51 2003 (5 yr ago)

Transaction History Ticket 2155


Tue, Oct 14 2003 06:07:51    Request created by guest  
Subject: integrating GRASS r.mapcalc with MPI

hi, 
 
i was wondering... can i try to apply the MPI (message passing interface) in
grass.. i download the sample r.mapcalc from a gRASS website and i just 
did some simple work as it takes a map and reproduce a thoroughly same 
map as an output. i was thinking whether it is possible that i run that on a
beowulf cluster. but as i think further, i dunno how am i suppose to run the
program in the end. coz the grass need to be sort of compiled with gmake5 
while the mpi needs to be run as mpirun -v filename. 
Tue, Oct 14 2003 18:07:21    Mail sent by hmitaso@unity.ncsu.edu  
Return-Path <hmitaso@unity.ncsu.edu>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <3F8C1FBF.9040607@unity.ncsu.edu>
Date Tue, 14 Oct 2003 12:09:35 -0400
From Helena <hmitaso@unity.ncsu.edu>
Organization NCSU
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624
X-Accept-Language en-us, en
MIME-Version 1.0
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #2155] (grass) integrating GRASS r.mapcalc with MPI
References <20031014040752.AAA8B13B96@lists.intevation.de>
In-Reply-To <20031014040752.AAA8B13B96@lists.intevation.de>
Content-Type text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=5.0 tests=BAYES_00
X-Spam-Level
You can try to write to Christoph who has already written some GRASS code
for MPI
christoph.troyer@jrc.it
I put his parallel version of s.surf.rst at
http://skagit.meas.ncsu.edu/~helena/grasswork/grasscontrib/
rstmods2fixed.tar.gz
I haven't submitted it yet as it needs more testing and I am not sure whether
it should go into 5.3 or 5.7 and it may also require some discussion
on developers list how to handle MPI code in general.

Helena

here are some of Christoph's notes:
I modified 'configure.in' such that configure would test whether MPI is
installed. Actually it tries to find 'mpicc', which comes with most
MPI implementations and which is a wrapper for cc. If you use mpicc
you don't have to worry about the location of your MPI libraries and
headers.
If mpicc exists the compiler will generate an additional executable
called 's.surf.rst.mp'.

To start the program on let's say 4 processors just type

    mpirun -np 4 s.surf.rst.mp [options]

on one of the machines in your cluster.

Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2155
> -------------------------------------------------------------------------
> 
> Subject: integrating GRASS r.mapcalc with MPI
> 
> hi, 
>  
> i was wondering... can i try to apply the MPI (message passing interface) in
> grass.. i download the sample r.mapcalc from a gRASS website and i just 
> did some simple work as it takes a map and reproduce a thoroughly same 
> map as an output. i was thinking whether it is possible that i run that on
a 
> beowulf cluster. but as i think further, i dunno how am i suppose to run the
> program in the end. coz the grass need to be sort of compiled with gmake5 
> while the mpi needs to be run as mpirun -v filename. 
> 
> -------------------------------------------- Managed by Request Tracker
> 
> _______________________________________________
> grass5 mailing list
> grass5@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5


Tue, Oct 14 2003 18:22:05    Area changed to wish by bernhard  
Tue, Oct 14 2003 18:22:22    Priority changed to 20 by bernhard  
Comment | Reply | Take | Resolve

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request