svalinn / Cubit-plugin

Plugins and command extensions for Coreform Cubit
BSD 3-Clause "New" or "Revised" License
17 stars 14 forks source link

Cubit plugin in a Dockerfile glibc version error #112

Closed shimwell closed 3 years ago

shimwell commented 3 years ago

Let me know if this should be opened on the MOAB repo but I've stumbled across an error when installing the plugin within a few Dockerfiles

It appears that GLIBC_2.29 is required by MOAB but this is not always available in the OS continuumio/miniconda3:4.10.3 was published 12 days ago and comes with GLIBC_2.28 and continuumio/miniconda3:4.9.2 which is the previous release also has GLIBC_2.28

FROM continuumio/miniconda3:4.9.2 Screenshot from 2021-08-04 21-05-03

FROM continuumio/miniconda3:4.10.3 with a python 3.8 environment created as Cubit appears to not support python 3.9 Screenshot from 2021-08-04 21-30-59

ubuntu:21.04 docker image also fails as it has glibc version 2.28-10

Wondering if anyone knows a work around for this

bam241 commented 3 years ago

The problem might be related to your LD_LIBRARY_PATH, when running from command line I have to unset it....

shimwell commented 3 years ago

Had a quick go with setting the LD_LIBRARY_PATH to nothing. Looks like the same error occurs

this is with ubuntu 21.04 base image

Screenshot from 2021-08-04 23-39-21

shimwell commented 3 years ago

I'm thinking of adding a matrix to the build for different images as we have a few different glic versions

ubuntu 20.04 makes use of glibc 2.31 ubuntu 21.04 makes use of glibc 2.33 debian 10.10 makes use of glibc 2.28

shimwell commented 3 years ago

Just managed to get the Cubit plugin building for Debian 10.10 https://github.com/Shimwell/Cubit-plugin/runs/3279990398?check_suite_focus=true

shimwell commented 3 years ago

PR #115 should solve this issue

shimwell commented 3 years ago

Thanks everyone for helping with the PR #115 that solved this problem I was having.