Segmentation fault in linux container

Hi,

I’m trying to run EMC in the cluster of my university. The GLIBC version is 2.28 so I’m using Apptainer to build a container to run EMC. I’ve tried a few operation systems in the container, incl. Mageia 7 (with GLIBC 2.29) and Ubuntu 20.04 (with higher GLIBC version). When I run emc_linux64, both of them give the same error: Segmentation fault (core dumped). I’m wondering if there is a way to fix this.

Thank you!

UPDATE

I also tried another approach without container. I compiled and built GLIBC 2.36 from source. Then I used LD_PRELOAD=/path/to/my/glibc2.36/build/install/lib/libm.so.6 emc_linux64 build.emc. It also gave Segmentation fault (core dumped).