StochasticAnalytics / emClarity

GNU Lesser General Public License v3.0
40 stars 6 forks source link

1.6.1.0 error about "GLIBC_2.27 not found " in Centos7 #157

Closed wsatbluesky closed 4 months ago

wsatbluesky commented 9 months ago

When we use command "emClarity tomoCPR param2.m 2", it shows error messages below:

    Using all of the 686 available fiducials
    Error using BH_synthetic_mapBack (line 1498)
    Invalid MEX-file '/dev/shm/emC_tmp_1944610397/.mcrCache9.10/emClar0/groups/himesb/git/emClarity/mexFiles/compiled/mexCTF.mexa64': /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /dev/shm/emC_tmp_1944610397/.mcrCache9.10/emClar0/groups/himesb/git/emClarity/mexFiles/compiled/mexCTF.mexa64)
    Error in emClarity (line 562)

    MATLAB:mex:ErrInvalidMEXFile

Is `GLIBC_2.27' necessary for Centos7 ? Should we upgrade to centos8 /centos9 ?

bHimes commented 9 months ago

That is a bit odd because all of the emClarity programs rely on one or more pre-compiled cuda that I wrote to speed things up. Have you successfully run other commands on the same hardware/environment? I would have thought you would have a similar problem elsewhere.

FWIW Centos7 is end-of-life June 30 2024 but interestingly, Centos8 is already "dead" so that wouldn't really be an upgrade. I've heard good things about Rocky linux, but use Ubuntu personally.

wsatbluesky commented 9 months ago

Many thanks for your reply! I try to use the other two commands “emClarity ctf update param3.m” and “emClarity ctf 3d param3.m”,they run successfully. If upgrade OS,I think Rocky Linux is a good choice. The GLIBC_2.27 need a newer version of glibc, it means we have to change a newer OS. But now we can't do that. When you troubleshooting,in the meantime ,we will try to use docker as a workaround.

bHimes commented 9 months ago

Any luck? Please update so we can close out this issue.