[GRASS-user] PBS
Markus Neteler
neteler at osgeo.org
Mon Oct 8 01:40:07 PDT 2012
On Fri, Oct 5, 2012 at 4:46 PM, Albert Saribekyan
<albertsaribekyan at rambler.ru> wrote:
>
>
> HI all!
> Albert Saribekyan.
>>
>>
> I do make and install in GRASS7 i.vi.mpi module, its already running all
> right !!
> I have wrote and run my script outside of GRASS and its also worked ok!
> script is in attached file!!
> but I have to write a PBS script for that
> something like this #!/bin/bash
>
> #PBS -N ndvi_mpi
> #PBS -e ndvi_mpi.err
> #PBS -o ndvi_mpi.log
> #PBS -q armgrid
> #PBS -l nodes=1:ppn=4
> echo Master process running on `hostname`
> echo Directory is `pwd`
> echo PBS has allocated the following nodes:
> echo `cat $PBS_NBODEFILE`
> #############################################################################
> # Define number of processors to send to mpirun for MPICH
> ##############################################################################
> NPROCS=`wc -l < $PBS_NODEFILE`
> echo This job has allocated $NPROCS nodes
> /bin/hostname
>
> ?????????????????????????????????????????????????
>
> but do not know what to write next...
> tell me something;
You may want to check:
http://grass.osgeo.org/wiki/Parallel_GRASS_jobs#Cluster_and_Grid_computing
Years ago I worked with PBS, then switched to Grid Engine.
Both work very similar.
Markus
More information about the grass-user
mailing list