Comments (2)
There still is a general threading issue in force-higher-level.
It mostly surfaces when using the Level 2 ImproPhe submodule.
I guess it is related to the nested parallelism with OpenMP, wherein 3 teams are used to stream the data. The first team reads data from processing unit pu+1, the second team computes data in pu, and the third team outputs data from pu-1. The teams are working simultaneously.
Each team can have multipe sub-threads to do the work parallely.
When doing the work sequentially, i.e. teams work sequentially, this issue does not appear.
I suspect that threads are not re-used and new ones are created instead, and that at some point, the maximum number of allowed threads on the system is reached. But this is only a suspicion..
Related to this: the memory footprint of the process keeps growing - which it doesn't when processing sequentially. I wasn't able to track down the problem. Memchecking with valgrind
didn't show any memory leak.
from force.
So how to process the *.prm file sequentially?
Do I need to change e.g
NTHREAD_READ = 8
NTHREAD_COMPUTE = 22
NTHREAD_WRITE = 4
to
NTHREAD_READ = 1
NTHREAD_COMPUTE = 1
NTHREAD_WRITE = 1
or should I just avoid to run force-higher-level with parallel
, e.g.
`ls *.prm | parallel -j8 force-higher-level {}
Please note that the error mentioned above occurred running force-higher-level with a single prm file.
from force.
Related Issues (20)
- force-mosaic only supports tif HOT 4
- Potential race condition in force-cube HOT 4
- Optional cirrus buffer HOT 1
- [Documentaton] Texture Metrics, Landscape Metrics, Sampling HOT 2
- Masked blocks in TSS are assigned 0 instead of nodata value HOT 7
- RTD is referencing an outdated revision HOT 5
- Projection problem when force-cubing Sentinel-1 images HOT 3
- Apparent data loss when selecting EQUI7-EU as output HOT 4
- MODIS to be decommissioned; is there an alternative? HOT 2
- 24h interaction cooldown for new GitHub users
- Error when downloading Landsat with force-level1-landsat search HOT 10
- Error when using force-level1-landsat search with --forcelogs HOT 2
- Changes in the authorization process for Google Cloud may affect force-level1-csd soon HOT 9
- Level2 - Couldn't open the directory: Input/output error HOT 4
- level-1-landsat-download: Some links seem to be broken HOT 8
- Example command in documentation failing
- Documentation on Read The Docs broken HOT 3
- Sentinel-2 Volume 11 and Volume 12: FORCE differences from sen2cor HOT 2
- [force-l2ps] High number of opened files by the force-l2ps process HOT 2
- force-cube fails when using gdal 3.8.4 because output is redirected
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from force.