Error of ~/anaconda3/envs/moose/libmesh/contrib/bin/libtool: 1: /usr/bin/sed: not found #16123
-
Dear all, Sorry about this naive question... Everything was working fine until earlier today that I updated MOOSE based on this page. I made sure that But then I got the message of Best, |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 33 replies
-
Glad to hear I'm not the only one with this problem! @lindsayad @milljm did you ever figure out what was going on? I ended up just making a soft link. |
Beta Was this translation helpful? Give feedback.
-
@cticenhour reported this error happening on a few of our build machines (but then stopped). I suspect it occurred when that build machine found an issue with conda, and attempted to build the environment from scratch (such as what would happen with a new-user install). I'll take some time today and try and reproduce the issue. Edit: I can replicate this error... I'll look into it. |
Beta Was this translation helpful? Give feedback.
-
It looks like libmesh/contrib/bin/libtool is generated during ./configure. And so is recording where it found What I think we need to do, is include |
Beta Was this translation helpful? Give feedback.
-
softlink kind of bandage solve the problem, but it keep showing the message: 'libtool: error: ignoring unknown tag CXX' It still finishes compiling and the test run fine. |
Beta Was this translation helpful? Give feedback.
-
When I build moose-libmesh and set a dependency on sed, it works. So I will commit a change to moose/conda/libmesh/meta.yaml, unless @lindsayad has a better idea, |
Beta Was this translation helpful? Give feedback.
-
A couple of work-arounds: Downgrade to the previous version of moose-libmesh: conda install moose-libmesh=2020.10.05 Or build your own libMesh: conda deactivate
conda create -n mylibmesh moose-petsc moose-tools
conda activate mylibmesh # use this instead of 'moose' for now...
cd moose
export MOOSE_JOBS=8 # what ever core count you use
scripts/update_and_rebuild_libmesh.sh |
Beta Was this translation helpful? Give feedback.
-
Ok I've opened an issue for this at #16232 |
Beta Was this translation helpful? Give feedback.
-
I built moose-libmesh manually and have made it available on Anaconda. Please remove moose-libmesh (if you're using it) and re-install the environment (after clearing your download cache to make sure you get the latest version from anaconda). conda deactivate # make sure you are not using moose
conda env remove -n moose --yes
conda clean --all --yes
conda create -n moose moose-libmesh moose-tools Edit: When I originally posted this, it didn't work. I have since corrected that error (verified on Ubuntu 18) |
Beta Was this translation helpful? Give feedback.
-
Many thanks. I am a new moose user. |
Beta Was this translation helpful? Give feedback.
-
For those still receiving this error, please perform an update to get the latest moose-libmesh package: conda update --all |
Beta Was this translation helpful? Give feedback.
-
@milljm Does the new moose-libmesh package only contain a fix to the sed/grep issue or are there other changes I need? |
Beta Was this translation helpful? Give feedback.
For those still receiving this error, please perform an update to get the latest moose-libmesh package: