--
You received this message because you are subscribed to the Google Groups "RSGISLib Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rsgislib-suppo...@googlegroups.com.
To post to this group, send email to rsgislib...@googlegroups.com.
Visit this group at https://groups.google.com/group/rsgislib-support.
For more options, visit https://groups.google.com/d/optout.
Thanks Dan,
I checked the blog, but obviously not well enough.
I think I'll easily hit the I/O limit before I Max the cores. I'm not sure it would be appreciated if I used all 48 anyway. I could probably manage this locally, but doing it in parallel will be beneficial.
Cheers, Nathan
Hi Nathan,You can use the multiprocessing module, see https://spectraldifferences.wordpress.com/2013/11/21/multi-core-processing-with-rsgislib-using-tiles/Unless the image maths you are applying is really complicated you’re probably going to hit the I/O limit of your disks before you max our all your cores so probably best not to use all 48. If you are on Linux the iotop command is a useful one (probably need to install and has to run as root).Thanks,
Dan
On 19 Jun 2018, at 21:36, Nathan Thomas <nmtho...@gmail.com> wrote:
Hi Dan,I have two directories of data (same number of files in each) that I would like to use with image math. However, I have over 1500 of them so would like to parallel the tasks. I have a server with up to 48 CPUs I can use. I read your blog post on GNU parallel, but noticed that this seemed to be for the command line only (which I used and it worked brilliantly - thanks!). Do you have any advice on parallel processing using rsgislib and python?Cheers, Nathan--
You received this message because you are subscribed to the Google Groups "RSGISLib Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rsgislib-support+unsubscribe@googlegroups.com.
To post to this group, send email to rsgislib-support@googlegroups.com.
Hi Nathan,
This is info on this in the RSGISLib intro tutorial as well: https://www.rsgislib.org/documentation.html#rsgislib-introduction-training
Cheer,s Pete
****************************************************
* Dr Pete Bunting
* Reader in Remote Sensing
* Earth Observation and Ecosystem Dynamics Group
* Department of Geography and Earth Sciences
* Aberystwyth University
* Aberystwyth
* Ceredigion
* SY23 3DB
* UK
*
* Ph: +44 (0) 1970 622615
* Mob: +44 (0) 7917 842743
* Email: pete.b...@aber.ac.uk
* ORCID: http://orcid.org/0000-0002-7435-0148
* Website: https://www.remotesensing.info
****************************************************
"Please consider the environment before printing this email or any documents attached”
From: <rsgislib...@googlegroups.com> on behalf of Nathan Thomas <nmtho...@gmail.com>
Date: Tuesday, 19 June 2018 at 22:42
To: Dan Clewley <daniel....@gmail.com>
Cc: RSGISLib Support <rsgislib...@googlegroups.com>
Subject: Re: [rsgislib-support] Parallel Processing
Thanks Dan,
I checked the blog, but obviously not well enough.
I think I'll easily hit the I/O limit before I Max the cores. I'm not sure it would be appreciated if I used all 48 anyway. I could probably manage this locally, but doing it in parallel will be beneficial.
Cheers, Nathan
On Jun 19, 2018 4:50 PM, "Daniel Clewley" <daniel....@gmail.com> wrote:
Hi Nathan,
You can use the multiprocessing module, see https://spectraldifferences.wordpress.com/2013/11/21/multi-core-processing-with-rsgislib-using-tiles/
Unless the image maths you are applying is really complicated you’re probably going to hit the I/O limit of your disks before you max our all your cores so probably best not to use all 48. If you are on Linux the iotop command is a useful one (probably need to install and has to run as root).
Thanks,
Dan
On 19 Jun 2018, at 21:36, Nathan Thomas <nmtho...@gmail.com> wrote:
Hi Dan,
I have two directories of data (same number of files in each) that I would like to use with image math. However, I have over 1500 of them so would like to parallel the tasks. I have a server with up to 48 CPUs I can use. I read your blog post on GNU parallel, but noticed that this seemed to be for the command line only (which I used and it worked brilliantly - thanks!). Do you have any advice on parallel processing using rsgislib and python?
Cheers, Nathan
--
You received this message because you are subscribed to the Google Groups "RSGISLib Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rsgislib-suppo...@googlegroups.com.
To post to this group, send email to rsgislib...@googlegroups.com.
Visit this group at https://groups.google.com/group/rsgislib-support.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RSGISLib Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
rsgislib-suppo...@googlegroups.com.
To post to this group, send email to
rsgislib...@googlegroups.com.
Visit this group at https://groups.google.com/group/rsgislib-support.
For more options, visit https://groups.google.com/d/optout.