Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco De Lucia
RedModRphree
Commits
406bb82f
Commit
406bb82f
authored
May 16, 2018
by
Marco De Lucia
Browse files
fixing errors with doParallel
parent
b4c8045f
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/Rphree_ReactTrans.R
View file @
406bb82f
## Functions for dealing with surrogate simulations
### Marco De Lucia, delucia@gfz-potsdam.de, 2009-2018
### Time-stamp: "Last modified 2018-05-16 17:5
2:14
delucia"
### Time-stamp: "Last modified 2018-05-16 17:5
8:01
delucia"
##' Todo
...
...
@@ -244,7 +244,7 @@ ReactTranspBalanceEq <- function(setup, init, maxtime, step=c("time","iter","fix
initsim
<-
setup
$
initsim
if
(
procs
>
1
)
{
p
arallel
::
registerDoParallel
(
procs
)
doP
arallel
::
registerDoParallel
(
procs
)
msg
(
"Registered default doParallel cluster with "
,
procs
,
"nodes"
)
}
...
...
@@ -532,7 +532,7 @@ ReactTranspBalanceKin <- function(setup, init, maxtime, step=c("time","iter","fi
ann
<-
setup
$
ann
if
(
procs
>
1
)
{
p
arallel
::
registerDoParallel
(
procs
)
doP
arallel
::
registerDoParallel
(
procs
)
msg
(
"Registered default doParallel cluster with "
,
procs
,
"nodes"
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment