I'm attempting to build ems v1.5.0 from this repository for RECOM, running all the tests as part of the build.
In model/tests/hd/test7/run_test7, in the "Testing 'z' model..." section, the sediment test is generating a segfault. The test output looks like:
ems-dev | Running sediment test, takes ~ 3 minutes....
ems-dev | SHOC: Sparse Hydrodynamic Ocean Code
ems-dev | EMS Version: v1.5.0
ems-dev | Run start: Thu Nov 9 14:48:33 2023
ems-dev |
ems-dev | sed_init.c: ncol = 1200, np = 36
ems-dev | SHOC: Sparse Hydrodynamic Ocean Code
ems-dev | EMS Version: v1.5.0
ems-dev | Run start: Thu Nov 9 14:48:33 2023
ems-dev |
ems-dev | sed_init.c: ncol = 1200, np = 36
ems-dev | [2023/10/09 14:48:34]-[ERROR ]() Segmentation violation detect (simulation time = 0.0139 days)
ems-dev | [2023/10/09 14:48:34]-[ERROR ]() Stack trace:
ems-dev | [2023/10/09 14:48:34]-[ERROR ]() [0] shoc(radiation_stress+0x49) [0x55d134e2a989]
ems-dev | [2023/10/09 14:48:34]-[ERROR ]() [1] shoc(wave_interface_step+0x82) [0x55d134be9072]
ems-dev | [2023/10/09 14:48:34]-[ERROR ]() [2] shoc(auxiliary_routines+0x3f8) [0x55d134d49948]
ems-dev | [2023/10/09 14:48:34]-[ERROR ]() [3] shoc(tracer_step_3d+0x145) [0x55d134d4db45]
ems-dev | [2023/10/09 14:48:34]-[ERROR ]() [4] shoc(tracer_step_window+0xa8) [0x55d134d4dd08]
ems-dev | [2023/10/09 14:48:34]-[ERROR ]() [5] shoc(+0x6819b) [0x55d134ba019b]
ems-dev | [2023/10/09 14:48:34]-[ERROR ]() [6] /usr/lib/x86_64-linux-gnu/libgomp.so.1(GOMP_parallel+0x42) [0x7f9e95a704c2]
ems-dev | [2023/10/09 14:48:34]-[ERROR ]() [7] shoc(dp_tracer_step+0x16) [0x55d134ba09f6]
ems-dev | [2023/10/09 14:48:34]-[ERROR ]() [8] shoc(tracer_step+0x198) [0x55d134d47ce8]
ems-dev | [2023/10/09 14:48:34]-[ERROR ]() [9] shoc(hd_step+0x320) [0x55d134c42350]
ems-dev | [2023/10/09 14:48:34]-[ERROR ]() [10] shoc(main+0x321) [0x55d134b84231]
ems-dev | [2023/10/09 14:48:34]-[ERROR ]() [11] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7f9e9586fd0a]
ems-dev | [2023/10/09 14:48:34]-[ERROR ]() [12] shoc(_start+0x2a) [0x55d134b843aa]
If I install the old v1.4.0 rev(7072) version of EMS from subversion in the exact same environment with the exact same build configuration, then all the tests pass with no errors or segfaults.
The environment is Debian 11 (the python:3.11- slim-bullseye base image) with:
- libopenmpi-dev,libdap-dev, proj-bin and gdal-bin installed from apt packages
- hdf5-1.12.2 built from source with
--enable-parallel --enable-threadsafe --enable-unsupported
- netcdf-c-4.8.1 built from source with
export CPATH=/usr/lib/x86_64-linux-gnu/openmpi/include
I'm attempting to build ems v1.5.0 from this repository for RECOM, running all the tests as part of the build.
In
model/tests/hd/test7/run_test7, in the "Testing 'z' model..." section, the sediment test is generating a segfault. The test output looks like:If I install the old v1.4.0 rev(7072) version of EMS from subversion in the exact same environment with the exact same build configuration, then all the tests pass with no errors or segfaults.
The environment is Debian 11 (the
python:3.11- slim-bullseyebase image) with:--enable-parallel --enable-threadsafe --enable-unsupportedexport CPATH=/usr/lib/x86_64-linux-gnu/openmpi/include