Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SWIFTsim SWIFTsim
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 56
    • Issues 56
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 17
    • Merge requests 17
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • SWIFT
  • SWIFTsimSWIFTsim
  • Merge requests
  • !14

Allow the code to do i/o in serial while MPI is activated

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Matthieu Schaller requested to merge serial_io into master May 04, 2015
  • Overview 3
  • Commits 8
  • Changes

Quite a big change. Main goal is to solve issue #29 (closed) and hence offer a workaround #22 (closed).

The old non-MPI code is now in single_io.[ch] and is called when WITH_MPI is not defined.

The old MPI code with parallel-HDF5 is called when WITH_MPI and HAVE_PARALLEL_HDF5 are both defined.

The new MPI code is in serial_io.[ch] and is celled when WITH_MPI is defined but HAVE_PARALLEL_HDF5 is not.

In this serial mode, the code forces the different MPI ranks to write to the same file one after the other, appending their particles at the end of the pre-existing set of particles.

This merge request also corrects issue #27 (closed) and a bug in the attributes of the arrays in HDF5 that got the wrong units.

SWIFT now runs with Platform-MPI !!

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: serial_io