Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • N NIFTy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ift
  • NIFTy
  • Issues
  • #347

Closed
Open
Created Jan 14, 2022 by Jakob Roth@jrothMaintainer

More MPI Bugs

When I execute the getting_started_3.py script with MPI mpiexec -n 2 python getting_started_3.py I get the following error message:

Traceback (most recent call last):
  File "/home/jakob/nifty/demos/getting_started_3.py", line 163, in <module>
    main()
  File "/home/jakob/nifty/demos/getting_started_3.py", line 153, in main
    [pspec.force(mock_position), samples.average(logspec).exp()],
  File "/home/jakob/nifty/nifty8/minimization/sample_list.py", line 306, in average
    return utilities.allreduce_sum(res, self.comm) / n
  File "/home/jakob/nifty/nifty8/utilities.py", line 371, in allreduce_sum
    vals[j] = vals[j] + comm.recv(source=who[j+step])
  File "/home/jakob/nifty/nifty8/field.py", line 726, in func2
    return self._binary_op(other, op)
  File "/home/jakob/nifty/nifty8/field.py", line 689, in _binary_op
    utilities.check_object_identity(other._domain, self._domain)
  File "/home/jakob/nifty/nifty8/utilities.py", line 419, in check_object_identity
    raise ValueError(f"Mismatch:\n{obj0}\n{obj1}")
ValueError: Mismatch:
DomainTuple, len: 1
* PowerSpace(harmonic_partner=RGSpace(shape=(128, 128), distances=(1.0, 1.0), harmonic=True), binbounds=None)
DomainTuple, len: 1
* PowerSpace(harmonic_partner=RGSpace(shape=(128, 128), distances=(1.0, 1.0), harmonic=True), binbounds=None)

When executing without MPI I get no error.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking