Skip to content

Crash with i/o selection

The automated tests stumbled upon an issue.

./configure --with-metis --enable-debugging-checks --disable-vec --enable-debug --with-ext-potential=point-mass
make
cd examples/EAGLE_6
../swift -c -s -S -G -t 4 eagle_6.yml -e -n 16

leads to:

 Welcome to the cosmological hydrodynamical code
    ______       _________________
   / ___/ |     / /  _/ ___/_  __/
   \__ \| | /| / // // /_   / /   
  ___/ /| |/ |/ // // __/  / /    
 /____/ |__/|__/___/_/    /_/     
 SPH With Inter-dependent Fine-grained Tasking

 Version : 0.7.0
 Revision: v0.7.0-576-gb11129a4-dirty, Branch: (no branch), Date: 2018-06-01 12:31:02 +0100
 Webpage : www.swiftsim.com

 Config. options: '--with-metis --enable-debugging-checks --disable-vec --enable-debug --with-ext-potential=point-mass'

 Compiler: GCC, Version: 4.8.1
 CFLAGS  : '-g -O0  -gdwarf-2 -fvar-tracking-assignments -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -funroll-loops -march=corei7-avx -mavx -fno-tree-vectorize -pthread -Wall -Wextra -Wno-unused-parameter -Wshadow -Werror -Wstrict-prototypes'

 HDF5 library version: 1.8.9
 FFTW library version: 3.x (details not available)
 GSL  library version: 1.15

[00000.0] main: CPU frequency used for tick conversion: 2200000677 Hz
[00000.0] main: Running on: cosma-f.cosma
[00000.0] main: WARNING: Debugging checks activated. Code will be slower !
[00000.0] main: WARNING: Floating point exceptions will be reported.
[00000.0] main: sizeof(part)        is  160 bytes.
[00000.0] main: sizeof(xpart)       is   64 bytes.
[00000.0] main: sizeof(spart)       is   96 bytes.
[00000.0] main: sizeof(gpart)       is  128 bytes.
[00000.0] main: sizeof(multipole)   is  248 bytes.
[00000.0] main: sizeof(grav_tensor) is  248 bytes.
[00000.0] main: sizeof(task)        is   64 bytes.
[00000.0] main: sizeof(cell)        is  832 bytes.
[00000.0] main: Reading runtime parameters from file 'eagle_6.yml'
[00000.2] cosmology_print: Density parameters: [O_m, O_l, O_b, O_k, O_r] = [0.307000, 0.693000, 0.045500, 0.000000, 0.000000]
[00000.2] cosmology_print: Dark energy equation of state: w_0=-1.000000 w_a=0.000000
[00000.2] cosmology_print: Hubble constant: h = 0.677700, H_0 = 6.777001e+01 U_t^(-1)
[00000.2] cosmology_print: Hubble time: 1/H0 = 1.475579e-02 U_t
[00000.2] cosmology_print: Universe age at present day: 1.413442e-02 U_t
[00000.2] main: Reading ICs from file './EAGLE_ICs_6.hdf5'
[00000.2] main: Cleaning up h-factors (h=0.677700)
[00000.3] io_read_unit_system: Reading IC units from ICs.
[00000.3] read_ic_single: IC and internal units match. No conversion needed.
[00003.0] read_ic_single: Particle Type 5 not yet supported. Particles ignored
[00003.0] main: Reading initial conditions took 2787.250 ms.
[00003.1] part_verify_links: All links OK
[00003.1] main: Read 800648 gas particles, 29847 star particles and 1661079 gparts from the ICs.
[00003.1] common_io.c:io_check_output_fields():860: Particle Type 2 not yet supported. Aborting

Seems like the check is not doing the right thing here.

Edited by Matthieu Schaller
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information