Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NIFTy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
13
Merge Requests
13
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ift
NIFTy
Commits
fc220cce
Commit
fc220cce
authored
Feb 25, 2019
by
Martin Reinecke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweaking
parent
2d56144e
Pipeline
#44161
passed with stages
in 9 minutes and 14 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
nifty5/__init__.py
nifty5/__init__.py
+2
-2
nifty5/dobj.py
nifty5/dobj.py
+2
-2
nifty5/internal_config.py
nifty5/internal_config.py
+7
-3
No files found.
nifty5/__init__.py
View file @
fc220cce
...
...
@@ -94,8 +94,8 @@ from .logger import logger
from
.linearization
import
Linearization
from
.
import
parallelization_scheme
_scheme
=
parallelization_scheme
.
scheme
()
from
.
import
internal_config
_scheme
=
internal_config
.
parallelization_
scheme
()
if
_scheme
==
"Samples"
:
from
.minimization.metric_gaussian_kl_mpi
import
MetricGaussianKL_MPI
...
...
nifty5/dobj.py
View file @
fc220cce
...
...
@@ -15,10 +15,10 @@
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik.
from
.
import
parallelization_scheme
from
.
import
internal_config
_scheme
=
parallelization_scheme
.
scheme
()
_scheme
=
internal_config
.
parallelization_
scheme
()
if
_scheme
in
(
"Samples"
,
"None"
):
from
.data_objects.numpy_do
import
*
...
...
nifty5/
parallelization_scheme
.py
→
nifty5/
internal_config
.py
View file @
fc220cce
...
...
@@ -15,7 +15,11 @@
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik.
def
scheme
():
# return "Standard"
return
"Samples"
# Internal configuration switches, typically for experimental features.
# Leave unchanged unless you know what you are doing!
def
parallelization_scheme
():
return
"Standard"
# return "Samples"
# return "None"
Write
Preview
Markdown
is supported
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