1. 04 Jun, 2016 2 commits
  2. 03 Jun, 2016 8 commits
    • Peter W. Draper's avatar
      Merge branch 'parameter_file_in_snapshot' into 'master' · b90156c9
      Peter W. Draper authored
      Parameter file in snapshot
      
      Sorry @pdraper.... one more for you...
      
      This is an implementation of #140. The parameter file key-value pairs are written to the snapshots. 
      Changes are:
       - Write the parameters to the snapshot.
       - Reduce the size of the parameter file structure by changing the maximal amount of lines it can contain.
       - Added an error message for when this limit is reached.
       - Change the type `lock_type` to `swift_lock_type` in `lock.h`
      
      This last change is because `lock_type` is used in some MPI function prototype and our "#define" interferes with some of the includes if you are not careful about ordering. That solves the problem by naming the lock type in a unique way.
      
      Apologies for the rather large changelog that this generates for 5 actual lines of useful code... 
      
      See merge request !173
      b90156c9
    • Peter W. Draper's avatar
      Merge branch 'master' into parameter_file_in_snapshot · 597daf01
      Peter W. Draper authored
      Conflicts:
      	src/engine.c
      
      fixdt kick changes.
      597daf01
    • Peter W. Draper's avatar
      Merge branch 'fix_minimal' into 'master' · dc8ee7ad
      Peter W. Draper authored
      Fixed the minimal SPH hydro version
      
      Fix to #148. The code now runs without segfaulting when using the minimal SPH hydro code. Results are not great (by design) as the model is really poor (but simple).
      
      Changes are:
       - A missing initialisation in `engine_init_particles()`.
       - A mistake in the calculation of the du/dt term.
      
      See merge request !169
      dc8ee7ad
    • Peter W. Draper's avatar
      Merge branch 'fixdt_kick' into 'master' · ebc1a2a5
      Peter W. Draper authored
      Kick task for fixdt and proper treatment of conserved quantities
      
      This fixes #146 and #103.
      
       - In brief this adds a new task "kick_fixdt" for the case where we run with this policy. 
       - We then construct the type of kick task corresponding to this policy.
       - Some of the physics operations have been moved to separate files "drift.h", "kick.h" and "timestep.h" to simplify things and prevent redundancies.
       - Energy statistics are now computed at the end of the drift (and not of the kick any more) which allows to get a value even in a time-step not involving all particles. 
       - The frequency of the statistics is specified in the parameter file.
      
      See merge request !167
      ebc1a2a5
    • Peter W. Draper's avatar
      Fix output typo · c9441803
      Peter W. Draper authored
      c9441803
    • Matthieu Schaller's avatar
    • Matthieu Schaller's avatar
      lock_type --> swift_lock_type · b6e8d2b6
      Matthieu Schaller authored
      b6e8d2b6
    • Matthieu Schaller's avatar
  3. 02 Jun, 2016 1 commit
  4. 01 Jun, 2016 2 commits
    • Matthieu Schaller's avatar
      Merge branch 'mpi_and_ht_affinity' into 'master' · 51cb767b
      Matthieu Schaller authored
      Simplify, permit user control over affinity
      
      This ensures we 'do the right thing' when the user imposes affinity through e.g. Intel MPI's I_MPI_PIN_DOMAIN or other mechanisms. Also no longer does works with a shuffled ```cpuid``` array, which will hopefully have less surprising failure modes, and means we don't have to handle hyperthreading explicitly. If we want to be clever in this way e.g. to maximise available cache, then we could replace libnuma with hwloc as discussed elsewhere.
      
      Hopefully this gives us a reasonable affinity which is easily overridden using standard techniques.
      
      See merge request !120
      51cb767b
    • Peter W. Draper's avatar
  5. 31 May, 2016 5 commits
  6. 30 May, 2016 1 commit
  7. 27 May, 2016 2 commits
  8. 26 May, 2016 1 commit
  9. 25 May, 2016 1 commit
  10. 22 May, 2016 8 commits
  11. 21 May, 2016 7 commits
  12. 20 May, 2016 2 commits