Skip to content

fix remaining time estimation#11

Open
mgravey wants to merge 1 commit into
AUProbGeo:masterfrom
mgravey:master
Open

fix remaining time estimation#11
mgravey wants to merge 1 commit into
AUProbGeo:masterfrom
mgravey:master

Conversation

@mgravey
Copy link
Copy Markdown
Contributor

@mgravey mgravey commented Dec 8, 2019

No description provided.

@ergosimulation
Copy link
Copy Markdown
Collaborator

Hi Mathieu
I have tested your code suggestion, and I can compile it, but I do not see any difference compared to the current code? The time estimates (on Linux) seems to be similar (and a bit off for the snesim code)
What was the problem you fixed?

@mgravey
Copy link
Copy Markdown
Contributor Author

mgravey commented Mar 29, 2020

Hi,

Example here of a simulation of 36s, but the time predictions were initially :
0 h 1 mn 39 sec
0 h 3 mn 37 sec
0 h 6 mn 24 sec

These are completely wrong, I suspect that is due to some over head included in the time computation.
Normally the correction I proposed should remove the overhead cost to get proper remaining time estimation.


readpar: _doEntropy=0
readpar: _doEstimation=0
Found 2 unique categories
_dataCategories are: 0 1
_softDataCategories are: 0 1
Error reading softdata soft.dat
Mask Data is missingmask.dat
level: 3 offset: 8
Total pixel: 62500
Dictionary info:
Level: 3
Total elements: 12138
level: 2 offset: 4
Total pixel: 62500
Dictionary info:
Level: 2
Total elements: 6030
level: 1 offset: 2
Total pixel: 62500
Dictionary info:
Level: 1
Total elements: 2241
level: 0 offset: 1
Total pixel: 62500
Dictionary info:
Level: 0
Total elements: 1004


MPSlib: a C++ library for multiple point simulation
(c) 2015-2016 I-GIS (www.i-gis.dk) and
Solid Earth Geophysics, Niels Bohr Institute (http://imgp.nbi.ku.dk)
This program comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to redistribute it
under certain conditions. See 'COPYING.LESSER'for details.


Define simulation path for level 3
Shuffling simulation path using type 2
Realization: 1/1 Level: 3 Progression (%): 5 finish in: 0 h 0 mn 2 sec
Realization: 1/1 Level: 3 Progression (%): 10 finish in: 0 h 0 mn 2 sec
Realization: 1/1 Level: 3 Progression (%): 15 finish in: 0 h 0 mn 2 sec
Realization: 1/1 Level: 3 Progression (%): 20 finish in: 0 h 0 mn 2 sec
Realization: 1/1 Level: 3 Progression (%): 25 finish in: 0 h 0 mn 2 sec
Realization: 1/1 Level: 3 Progression (%): 30 finish in: 0 h 0 mn 2 sec
Realization: 1/1 Level: 3 Progression (%): 35 finish in: 0 h 0 mn 2 sec
Realization: 1/1 Level: 3 Progression (%): 40 finish in: 0 h 0 mn 2 sec
Realization: 1/1 Level: 3 Progression (%): 45 finish in: 0 h 0 mn 2 sec
Realization: 1/1 Level: 3 Progression (%): 50 finish in: 0 h 0 mn 2 sec
Realization: 1/1 Level: 3 Progression (%): 55 finish in: 0 h 0 mn 1 sec
Realization: 1/1 Level: 3 Progression (%): 60 finish in: 0 h 0 mn 1 sec
Realization: 1/1 Level: 3 Progression (%): 65 finish in: 0 h 0 mn 1 sec
Realization: 1/1 Level: 3 Progression (%): 70 finish in: 0 h 0 mn 1 sec
Realization: 1/1 Level: 3 Progression (%): 75 finish in: 0 h 0 mn 1 sec
Realization: 1/1 Level: 3 Progression (%): 80 finish in: 0 h 0 mn 0 sec
Realization: 1/1 Level: 3 Progression (%): 85 finish in: 0 h 0 mn 0 sec
Realization: 1/1 Level: 3 Progression (%): 90 finish in: 0 h 0 mn 0 sec
Realization: 1/1 Level: 3 Progression (%): 95 finish in: 0 h 0 mn 0 sec
Define simulation path for level 2
Shuffling simulation path using type 1
Realization: 1/1 Level: 2 Progression (%): 5 finish in: 0 h 1 mn 39 sec
Realization: 1/1 Level: 2 Progression (%): 10 finish in: 0 h 0 mn 49 sec
Realization: 1/1 Level: 2 Progression (%): 15 finish in: 0 h 0 mn 32 sec
Realization: 1/1 Level: 2 Progression (%): 20 finish in: 0 h 0 mn 23 sec
Realization: 1/1 Level: 2 Progression (%): 25 finish in: 0 h 0 mn 18 sec
Realization: 1/1 Level: 2 Progression (%): 30 finish in: 0 h 0 mn 14 sec
Realization: 1/1 Level: 2 Progression (%): 35 finish in: 0 h 0 mn 12 sec
Realization: 1/1 Level: 2 Progression (%): 40 finish in: 0 h 0 mn 10 sec
Realization: 1/1 Level: 2 Progression (%): 45 finish in: 0 h 0 mn 8 sec
Realization: 1/1 Level: 2 Progression (%): 50 finish in: 0 h 0 mn 7 sec
Realization: 1/1 Level: 2 Progression (%): 55 finish in: 0 h 0 mn 6 sec
Realization: 1/1 Level: 2 Progression (%): 60 finish in: 0 h 0 mn 5 sec
Realization: 1/1 Level: 2 Progression (%): 65 finish in: 0 h 0 mn 4 sec
Realization: 1/1 Level: 2 Progression (%): 70 finish in: 0 h 0 mn 3 sec
Realization: 1/1 Level: 2 Progression (%): 75 finish in: 0 h 0 mn 3 sec
Realization: 1/1 Level: 2 Progression (%): 80 finish in: 0 h 0 mn 2 sec
Realization: 1/1 Level: 2 Progression (%): 85 finish in: 0 h 0 mn 1 sec
Realization: 1/1 Level: 2 Progression (%): 90 finish in: 0 h 0 mn 1 sec
Realization: 1/1 Level: 2 Progression (%): 95 finish in: 0 h 0 mn 0 sec
Define simulation path for level 1
Shuffling simulation path using type 1
Realization: 1/1 Level: 1 Progression (%): 5 finish in: 0 h 3 mn 37 sec
Realization: 1/1 Level: 1 Progression (%): 10 finish in: 0 h 1 mn 45 sec
Realization: 1/1 Level: 1 Progression (%): 15 finish in: 0 h 1 mn 8 sec
Realization: 1/1 Level: 1 Progression (%): 20 finish in: 0 h 0 mn 49 sec
Realization: 1/1 Level: 1 Progression (%): 25 finish in: 0 h 0 mn 38 sec
Realization: 1/1 Level: 1 Progression (%): 30 finish in: 0 h 0 mn 30 sec
Realization: 1/1 Level: 1 Progression (%): 35 finish in: 0 h 0 mn 25 sec
Realization: 1/1 Level: 1 Progression (%): 40 finish in: 0 h 0 mn 20 sec
Realization: 1/1 Level: 1 Progression (%): 45 finish in: 0 h 0 mn 17 sec
Realization: 1/1 Level: 1 Progression (%): 50 finish in: 0 h 0 mn 14 sec
Realization: 1/1 Level: 1 Progression (%): 55 finish in: 0 h 0 mn 12 sec
Realization: 1/1 Level: 1 Progression (%): 60 finish in: 0 h 0 mn 10 sec
Realization: 1/1 Level: 1 Progression (%): 65 finish in: 0 h 0 mn 8 sec
Realization: 1/1 Level: 1 Progression (%): 70 finish in: 0 h 0 mn 7 sec
Realization: 1/1 Level: 1 Progression (%): 75 finish in: 0 h 0 mn 5 sec
Realization: 1/1 Level: 1 Progression (%): 80 finish in: 0 h 0 mn 4 sec
Realization: 1/1 Level: 1 Progression (%): 85 finish in: 0 h 0 mn 3 sec
Realization: 1/1 Level: 1 Progression (%): 90 finish in: 0 h 0 mn 2 sec
Realization: 1/1 Level: 1 Progression (%): 95 finish in: 0 h 0 mn 1 sec
Define simulation path for level 0
Relocating hard data to the simulation grid at level: 0 Progression (%): 0
Relocating hard data to the simulation grid at level: 0 Progression (%): 10
Relocating hard data to the simulation grid at level: 0 Progression (%): 20
Relocating hard data to the simulation grid at level: 0 Progression (%): 30
Relocating hard data to the simulation grid at level: 0 Progression (%): 40
Relocating hard data to the simulation grid at level: 0 Progression (%): 50
Relocating hard data to the simulation grid at level: 0 Progression (%): 60
Relocating hard data to the simulation grid at level: 0 Progression (%): 70
Relocating hard data to the simulation grid at level: 0 Progression (%): 80
Relocating hard data to the simulation grid at level: 0 Progression (%): 90
Relocating hard data to the simulation grid at level: 0 Progression (%): 100
Shuffling simulation path using type 1
Realization: 1/1 Level: 0 Progression (%): 5 finish in: 0 h 6 mn 24 sec
Realization: 1/1 Level: 0 Progression (%): 10 finish in: 0 h 3 mn 7 sec
Realization: 1/1 Level: 0 Progression (%): 15 finish in: 0 h 2 mn 1 sec
Realization: 1/1 Level: 0 Progression (%): 20 finish in: 0 h 1 mn 28 sec
Realization: 1/1 Level: 0 Progression (%): 25 finish in: 0 h 1 mn 8 sec
Realization: 1/1 Level: 0 Progression (%): 30 finish in: 0 h 0 mn 54 sec
Realization: 1/1 Level: 0 Progression (%): 35 finish in: 0 h 0 mn 45 sec
Realization: 1/1 Level: 0 Progression (%): 40 finish in: 0 h 0 mn 37 sec
Realization: 1/1 Level: 0 Progression (%): 45 finish in: 0 h 0 mn 31 sec
Realization: 1/1 Level: 0 Progression (%): 50 finish in: 0 h 0 mn 26 sec
Realization: 1/1 Level: 0 Progression (%): 55 finish in: 0 h 0 mn 22 sec
Realization: 1/1 Level: 0 Progression (%): 60 finish in: 0 h 0 mn 18 sec
Realization: 1/1 Level: 0 Progression (%): 65 finish in: 0 h 0 mn 15 sec
Realization: 1/1 Level: 0 Progression (%): 70 finish in: 0 h 0 mn 12 sec
Realization: 1/1 Level: 0 Progression (%): 75 finish in: 0 h 0 mn 10 sec
Realization: 1/1 Level: 0 Progression (%): 80 finish in: 0 h 0 mn 8 sec
Realization: 1/1 Level: 0 Progression (%): 85 finish in: 0 h 0 mn 5 sec
Realization: 1/1 Level: 0 Progression (%): 90 finish in: 0 h 0 mn 3 sec
Realization: 1/1 Level: 0 Progression (%): 95 finish in: 0 h 0 mn 1 sec
Elapsed time (sec): 36.1307 total: 36.1307
Write simulation grid to hard drive...
Total simulation time 36.1307s
Average time for 1 simulations (hours:minutes:seconds) : 0:0:36
Number of threads: 1
SG: 500 500 1
TI: ti.dat 250 250 1 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants