Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpaDES.core::P bugfix; Elapsed time spelling; Elapsed Time units improvement #286

Merged
merged 6 commits into from
Jun 7, 2024

Conversation

eliotmcintire
Copy link
Contributor

No description provided.

@CeresBarros
Copy link
Member

testing on my side :)

@CeresBarros
Copy link
Member

this works

> SpaDES.core::P(simInitOut, param = ".plots", module = "Biomass_core")
[1] "object" "raw"   

but I had to make sure that SpaDES.core was deleted from the "system library" first.

@eliotmcintire eliotmcintire merged commit 58a3d19 into development Jun 7, 2024
12 of 16 checks passed
@eliotmcintire eliotmcintire deleted the Pbug branch June 7, 2024 20:45
@CeresBarros
Copy link
Member

and I don't see the clockTime error anymore either, when restartSpades() after interrupting init

Jun07 13:43:22 Bmss_brlDt:init 10:          species
Jun07 13:43:22 Bmss_brlDt:init 11: speciesEcoregion
Jun07 13:43:22 Bmss_brlDt:init 12:  sufficientLight
Jun07 13:43:24 simInit ... spades.recoveryMode used 1.73 secs
Jun07 13:43:24 Bmss_spcsP:init total elpsd: 48 secs | 2001 Biomass_speciesParameters init 1
Setting options('spades.recoveryMode' = 1) used 1.77 secs and 6.6 Gb
restartSpades()
The initial state of the last1events are cached and savedin the simList located at savedSimEnv()$.sim,as sim$.recoverableObjs, with the most recent eventthe first element in the list, 2nd most recent event = the second most recent event, etc. The objects contained in each of those are only the objects that may havechanged, according to the metadata for each module. To recover, use:cli-46848-1
Because of an interrupted spades call, the sim object at the start of the interrupted event was saved in
SpaDES.core:::savedSimEnv()$.sim
It will be deleted on next call to spades().
> SpaDES.core::restartSpades()
This is very experimental and will only work if the event that caused the error has not yet changed the simList.
This should be used with caution.
Reversing event: 2001 Biomass_speciesParameters init 1
ReparsingBiomass_speciesParameterssource code
No packages to install/update
Jun07 13:44:29 simInit Resetting .Random.seed of session because sim$._randomSeed is not NULL. To get a different seed, run: sim$._randomSeed <- NULL to clear it.
Jun07 13:44:29 simInit Using setDTthreads(1). To change: 'options(spades.DTthreads = X)'.
Jun07 13:44:30 simInit ... spades.recoveryMode used 1.36 secs
Jun07 13:44:30 Bmss_spcsP:init total elpsd: 1.3 mins | 2001 Biomass_speciesParameters init 1
Jun07 13:44:47 Bmss_spcsP:init Object to retrieve (fn: doEvent.Biomass_speciesParameters, 212cd5bdb1159a47.rds) ... 
Jun07 13:44:48 Bmss_spcsP:init Loaded! Cached result from previous doEvent.Biomass_speciesParameters call
Jun07 13:44:48 Bmss_spcsP:init for init event in Biomass_speciesParameters module

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.

None yet

2 participants