1. 06 Sep, 2016 9 commits
  2. 05 Sep, 2016 18 commits
  3. 04 Sep, 2016 2 commits
  4. 02 Sep, 2016 2 commits
  5. 01 Sep, 2016 9 commits
    • Peter W. Draper's avatar
      Merge branch 'skip_relink' into 'master' · 4dbf6d45
      Peter W. Draper authored
      Only relink parts and gparts when we actually have parts and gparts
      
      Any reason not do this ? We spend some time linking things even when we don't have anything to link. That would speed up `space_rebuild()` and `cell_split()` in the cases without gravity, the latter of those to two being a scalar part of the code this could be quite important.
      
      See merge request !234
      4dbf6d45
    • Matthieu Schaller's avatar
      Align on 128 bytes in all cases. · 6d1f3277
      Matthieu Schaller authored
      6d1f3277
    • Peter W. Draper's avatar
      Merge branch 'fix-overflow' into 'master' · f62be6ac
      Peter W. Draper authored
      Stop integer overflows in scheduler
      
      Fix a couple of integer overflows and stop no gravity particles being considered
      as valid.
      
      See merge request !237
      f62be6ac
    • Matthieu Schaller's avatar
      Merge branch 'fixes/include_file_missing_gadget2' into 'master' · 2292bea7
      Matthieu Schaller authored
      fix : missing include file in hydro_iact.h
      
      Compiling on our clusters with the following configure line : 
      ```
      $ ../sources/configure CC=mpicc CFLAGS=-I/ssoft/spack/lafnetscha/opt/spack/x86_E5v2_IntelIB/gcc-5.3.0/metis-5.1.0-zg7ap5yg7nqhkgsu7njnivar7lz3oy4z/include --prefix=/home/culpo/SWIFT/build/../install --enable-optimization --enable-parallel-hdf5 --enable-mpi --with-metis=/ssoft/spack/lafnetscha/opt/spack/x86_E5v2_IntelIB/gcc-5.3.0/metis-5.1.0-zg7ap5yg7nqhkgsu7njnivar7lz3oy4z
      ```
      we get the following compilation error : 
      ```
      libtool: compile:  mpicc -DHAVE_CONFIG_H -I. -I../../sources/src -I.. -DTIMER -I/ssoft/spack/lafnetscha/opt/spack/x86_E5v2_IntelIB/gcc-5.3.0/szip-2.1-luyic7zykee3mod772n6nixm3ki3ok2o/include -I/ssoft/spack/lafnetscha/opt/spack/x86_E5v2_IntelIB/gcc-5.3.0/zlib-1.2.8-2febcaqqgk6rskb6kw7vljlxjg5dra32/include -I/ssoft/spack/lafnetscha/opt/spack/x86_E5v2_IntelIB/gcc-5.3.0/hdf5-1.8.16-phuidcem3zjts6cynahfbqs3p3zerual/include -I/ssoft/spack/lafnetscha/opt/spack/x86_E5v2_IntelIB/gcc-5.3.0/metis-5.1.0-zg7ap5yg7nqhkgsu7njnivar7lz3oy4z/include -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -march=ivybridge -mavx -Wall -Wextra -Wno-unused-parameter -Werror -MT libswiftsim_la-runner.lo -MD -MP -MF .deps/libswiftsim_la-runner.Tpo -c ../../sources/src/runner.c  -fPIC -DPIC -o .libs/libswiftsim_la-runner.o
      In file included from ../../sources/src/hydro.h:35:0,
                       from ../../sources/src/drift.h:29,
                       from ../../sources/src/runner.c:46:
      ../../sources/src/./hydro/Gadget2/hydro_iact.h: In function ‘runner_iact_vec_force’:
      ../../sources/src/./hydro/Gadget2/hydro_iact.h:644:26: error: implicit declaration of function ‘max’ [-Werror=implicit-function-declaration]
           pi[k]->force.v_sig = max(pi[k]->force.v_sig, v_sig.f[k]);
                                ^
      ```
      This small PR seems to fix the issue.
      
      See merge request !239
      2292bea7
    • Matthieu Schaller's avatar
    • Massimiliano Culpo's avatar
      e7259fc4
    • Peter W. Draper's avatar
      Remove -Wshadow as min/max macros can be nested · 072a7a45
      Peter W. Draper authored
      Get master building for now
      072a7a45
    • Matthieu Schaller's avatar
    • Peter W. Draper's avatar
      Merge branch 'no_fminf_fmaxf' into 'master' · deda3ffe
      Peter W. Draper authored
      Replaced all calls to fminf and fmaxf by macros
      
      As the Intel compiler can't handle these properly, here is a replacement of all calls to `fmaxf` and `fminf` by a macro that just encapsulates the ternary. This produces assembly call to `vmaxpss` and `vminpss` as expected. 
      
      Any reason not to do this ?
      
      See merge request !235
      deda3ffe