Closed jacktang closed 1 year ago
And when I inspected the layer ---> f766f66fb432
, it did contain build-aux
dir, so I don't understand why below error came up
---> f766f66fb432
Step 15/22 : RUN ./sbin/bootstrap && mkdir /opt/saturne_tmp /opt/code_saturne-${version}_build /opt/code_saturne-${version}_debug && chmod -R 777 /opt/code_saturne-${version}_src
---> Running in e085d0a5542c
running aclocal
running autoconf
running autoheader
running automake
configure.ac:61: error: required directory ./build-aux does not exist
cp: cannot create regular file 'build-aux/ar-lib': No such file or directory
configure.ac:133: error: installing 'build-aux/ar-lib'
configure.ac:133: error while copying
cp: cannot create regular file 'build-aux/compile': No such file or directory
configure.ac:125: error: installing 'build-aux/compile'
configure.ac:125: error while copying
cp: cannot create regular file 'build-aux/config.guess': No such file or directory
configure.ac:64: error: installing 'build-aux/config.guess'
configure.ac:64: error while copying
You can run autoreconf -vif
in the source code folder of code_saturne. So instead
RUN ./sbin/bootstrap && ....
you can modify this line as following
RUN autoreconf -vif && RUN ./sbin/bootstrap && ....
@kikuznetsov Thanks! I'll it later.
Another question is libopenmpi2
is missed in ubuntu 22, which means I have to install it by source code?
I think openmpi is not installed by default. In order to install all dependencies you can run:
apt-get install gcc g++ openmpi-bin openmpi-common libopenmpi-dev git automake libtool gfortran make cmake vim python3 python3-dev ssh python3-pyqt5 pyqt5-dev-tools qttools5-dev-tools
Hello,
Please see https://github.com/code-saturne/code_saturne/wiki/Pre-installation:-Linux-distribution-packages for lists of recommended packages.
If the documentation for the Docker image is outdated, updates are welcome here (otherwise I would close thus issue).
Hello,
The issue with the PLE library's build-aux
directory not being created seems to occur on systems without autopoint
. Its creation is now forced in this case (commit af8c7a93c on master branch and 83c2f87e6da on v7.2 branch).
Hello!
The document on docker image is outdated? I copy the code of Dockerfile (https://github.com/code-saturne/code_saturne/wiki/Code_Saturne-in-a-Docker-container#create-a-container-based-on-the-development-version-of-code_saturne=) and build the image, and it failed.
The error is