Skip to content

Commit

Permalink
Merge pull request #36 from nakatamaho/v2.0
Browse files Browse the repository at this point in the history
V2.0
  • Loading branch information
nakatamaho authored Jul 26, 2022
2 parents bc22cf0 + 2095425 commit 6cf4457
Show file tree
Hide file tree
Showing 1,528 changed files with 5,393 additions and 45,825 deletions.
12 changes: 12 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
2022/07/26 Nakata Maho <[email protected]> 2.0.0
* tag 2.0.0
* Update test results for aarch64-unknown-linux-gnu, x86_64-apple-darwin20.6.0,
x86_64-pc-linux-gnu, x86_64-pc-linux-gnu_inteloneapi and x86_64-w64-mingw32.
* Update Dockerfiles accordingly.

2022/07/24 Nakata Maho <[email protected]> 2.0
* Fix double-double CLS (Ctest.in) by disabling gcc optimization mplapack/test/matgen/Claror.cpp. (#30)
* Correct fixes for Rgejsv, Cgejsv, Rgesvj and Cgesvj using dd/qd. Rlamch("O")s are replaced by
"one / sfmin", indicated by the comments in the source codes.
* Fix qd/dd division overflow bug.

2022/07/22 Nakata Maho <[email protected]> 2.0 branch
* Fix iMparam2stage.
* Fix issues for test programs; stack overflows, possible memory leaks and memory accesses.
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile_CentOS7_AArch64
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ RUN echo "[user]" >> /home/$DOCKER_USER/.gitconfig && \
echo "name = ${GIT_NAME}" >> /home/$DOCKER_USER/.gitconfig

RUN cd /home/$DOCKER_USER && echo "cd /home/$DOCKER_USER" >> .bashrc
RUN cd /home/$DOCKER_USER && wget https://github.com/nakatamaho/mplapack/releases/download/v1.9.9/mplapack-2.0.0-alpha.tar.xz
RUN cd /home/$DOCKER_USER && tar xvfJ mplapack-2.0.0-alpha.tar.xz
RUN cd /home/$DOCKER_USER && wget https://github.com/nakatamaho/mplapack/releases/download/v2.0.0/mplapack-2.0.0.tar.xz
RUN cd /home/$DOCKER_USER && tar xvfJ mplapack-2.0.0.tar.xz
RUN cd /home/$DOCKER_USER/mplapack-2.0.0
ARG CXX="/opt/rh/devtoolset-9/root/usr/bin/g++"
ARG CC="/opt/rh/devtoolset-9/root/usr/bin/gcc"
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile_CentOS7_amd64
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ RUN echo "[user]" >> /home/$DOCKER_USER/.gitconfig && \
echo "name = ${GIT_NAME}" >> /home/$DOCKER_USER/.gitconfig

RUN cd /home/$DOCKER_USER && echo "cd /home/$DOCKER_USER" >> .bashrc
RUN cd /home/$DOCKER_USER && wget https://github.com/nakatamaho/mplapack/releases/download/v1.9.9/mplapack-2.0.0-alpha.tar.xz
RUN cd /home/$DOCKER_USER && tar xvfJ mplapack-2.0.0-alpha.tar.xz
RUN cd /home/$DOCKER_USER && wget https://github.com/nakatamaho/mplapack/releases/download/v2.0.0/mplapack-2.0.0.tar.xz
RUN cd /home/$DOCKER_USER && tar xvfJ mplapack-2.0.0.tar.xz
RUN cd /home/$DOCKER_USER/mplapack-2.0.0
ARG CXX="/opt/rh/devtoolset-9/root/usr/bin/g++"
ARG CC="/opt/rh/devtoolset-9/root/usr/bin/gcc"
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile_CentOS8
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ RUN echo "[user]" >> /home/$DOCKER_USER/.gitconfig && \
echo "name = ${GIT_NAME}" >> /home/$DOCKER_USER/.gitconfig

RUN cd /home/$DOCKER_USER && echo "cd /home/$DOCKER_USER" >> .bashrc
RUN cd /home/$DOCKER_USER && wget https://github.com/nakatamaho/mplapack/releases/download/v1.9.9/mplapack-2.0.0-alpha.tar.xz
RUN cd /home/$DOCKER_USER && tar xvfJ mplapack-2.0.0-alpha.tar.xz
RUN cd /home/$DOCKER_USER && wget https://github.com/nakatamaho/mplapack/releases/download/v2.0.0/mplapack-2.0.0.tar.xz
RUN cd /home/$DOCKER_USER && tar xvfJ mplapack-2.0.0.tar.xz
RUN cd /home/$DOCKER_USER/mplapack-2.0.0
ARG CXX="g++"
ARG CC="gcc"
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile_debian_bullseye
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN echo "${TZ}" > /etc/timezone \

RUN apt install -y build-essential gfortran python3
RUN apt install -y autotools-dev automake libtool
RUN apt install -y git wget time
RUN apt install -y git wget time parallel
RUN apt install -y ng-common ng-cjk emacs-nox
RUN sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1

Expand All @@ -33,8 +33,8 @@ RUN echo "\n\
" > /home/$DOCKER_USER/.gitconfig

RUN cd /home/$DOCKER_USER && echo "cd /home/$DOCKER_USER" >> .bashrc
RUN cd /home/$DOCKER_USER && wget https://github.com/nakatamaho/mplapack/releases/download/v1.9.9/mplapack-2.0.0-alpha.tar.xz
RUN cd /home/$DOCKER_USER && tar xvfJ mplapack-2.0.0-alpha.tar.xz
RUN cd /home/$DOCKER_USER && wget https://github.com/nakatamaho/mplapack/releases/download/v2.0.0/mplapack-2.0.0.tar.xz
RUN cd /home/$DOCKER_USER && tar xvfJ mplapack-2.0.0.tar.xz
RUN cd /home/$DOCKER_USER/mplapack-2.0.0
ARG CXX="g++"
ARG CC="gcc"
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile_fable
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ RUN apt install -y build-essential python3 gcc g++ gfortran
RUN apt install -y gcc-10 g++-10 gfortran-10
RUN apt install -y autotools-dev automake libtool
RUN apt install -y gdb valgrind libtool-bin
RUN apt install -y git wget ccache time pkg-config clangd clang-format unifdef octave
RUN apt install -y git wget ccache time parallel
RUN apt install -y pkg-config clangd clang-format unifdef octave
RUN apt install -y ng-common ng-cjk emacs-nox
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile_ubuntu18.04
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN echo "${TZ}" > /etc/timezone \

RUN apt install -y build-essential gfortran python3
RUN apt install -y autotools-dev automake libtool
RUN apt install -y git wget time
RUN apt install -y git wget time parallel
RUN apt install -y ng-common ng-cjk emacs-nox
RUN sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1

Expand All @@ -33,8 +33,8 @@ RUN echo "\n\
" > /home/$DOCKER_USER/.gitconfig

RUN cd /home/$DOCKER_USER && echo "cd /home/$DOCKER_USER" >> .bashrc
RUN cd /home/$DOCKER_USER && wget https://github.com/nakatamaho/mplapack/releases/download/v1.9.9/mplapack-2.0.0-alpha.tar.xz
RUN cd /home/$DOCKER_USER && tar xvfJ mplapack-2.0.0-alpha.tar.xz
RUN cd /home/$DOCKER_USER && wget https://github.com/nakatamaho/mplapack/releases/download/v2.0.0/mplapack-2.0.0.tar.xz
RUN cd /home/$DOCKER_USER && tar xvfJ mplapack-2.0.0.tar.xz
RUN cd /home/$DOCKER_USER/mplapack-2.0.0
ARG CXX="g++"
ARG CC="gcc"
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile_ubuntu20.04
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN echo "${TZ}" > /etc/timezone \

RUN apt install -y build-essential gfortran python3
RUN apt install -y autotools-dev automake libtool
RUN apt install -y git wget time
RUN apt install -y git wget time parallel
RUN apt install -y ng-common ng-cjk emacs-nox
RUN sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1

Expand All @@ -33,8 +33,8 @@ RUN echo "\n\
" > /home/$DOCKER_USER/.gitconfig

RUN cd /home/$DOCKER_USER && echo "cd /home/$DOCKER_USER" >> .bashrc
RUN cd /home/$DOCKER_USER && wget https://github.com/nakatamaho/mplapack/releases/download/v1.9.9/mplapack-2.0.0-alpha.tar.xz
RUN cd /home/$DOCKER_USER && tar xvfJ mplapack-2.0.0-alpha.tar.xz
RUN cd /home/$DOCKER_USER && wget https://github.com/nakatamaho/mplapack/releases/download/v2.0.0/mplapack-2.0.0.tar.xz
RUN cd /home/$DOCKER_USER && tar xvfJ mplapack-2.0.0.tar.xz
RUN cd /home/$DOCKER_USER/mplapack-2.0.0
ARG CXX="g++"
ARG CC="gcc"
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile_ubuntu20.04_inteloneapi
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN echo "${TZ}" > /etc/timezone \

RUN apt install -y build-essential gfortran python3
RUN apt install -y autotools-dev automake libtool
RUN apt install -y git wget time
RUN apt install -y git wget time parallel
RUN apt install -y ng-common ng-cjk emacs-nox
RUN sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1
RUN wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
Expand All @@ -41,8 +41,8 @@ RUN echo "\n\
SHELL ["/bin/bash", "-c"]
RUN cd /home/$DOCKER_USER && echo "cd /home/$DOCKER_USER" >> .bashrc
RUN cd /home/$DOCKER_USER && echo "source /opt/intel/oneapi/setvars.sh" >> /home/$DOCKER_USER/.bashrc
RUN cd /home/$DOCKER_USER && wget https://github.com/nakatamaho/mplapack/releases/download/v1.9.9/mplapack-2.0.0-alpha.tar.xz
RUN cd /home/$DOCKER_USER && tar xvfJ mplapack-2.0.0-alpha.tar.xz
RUN cd /home/$DOCKER_USER && wget https://github.com/nakatamaho/mplapack/releases/download/v2.0.0/mplapack-2.0.0.tar.xz
RUN cd /home/$DOCKER_USER && tar xvfJ mplapack-2.0.0.tar.xz
ARG CXX="icpc"
ARG CC="icc"
ARG FC="ifort"
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile_ubuntu20.04_mingw64
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN echo "${TZ}" > /etc/timezone \

RUN apt install -y build-essential mingw-w64 gfortran-mingw-w64 python3
RUN apt install -y autotools-dev automake libtool
RUN apt install -y git wget time
RUN apt install -y git wget time parallel
RUN apt install -y ng-common ng-cjk emacs-nox
RUN sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1

Expand Down Expand Up @@ -47,8 +47,8 @@ ARG WINEPATH="/usr/x86_64-w64-mingw32/lib/;/usr/lib/gcc/x86_64-w64-mingw32/9.3-w
ARG WINEDEBUG="-all"

RUN cd /home/$DOCKER_USER && echo "cd /home/$DOCKER_USER" >> .bashrc
RUN cd /home/$DOCKER_USER && wget https://github.com/nakatamaho/mplapack/releases/download/v1.9.9/mplapack-2.0.0-alpha.tar.xz
RUN cd /home/$DOCKER_USER && tar xvfJ mplapack-2.0.0-alpha.tar.xz
RUN cd /home/$DOCKER_USER && wget https://github.com/nakatamaho/mplapack/releases/download/v2.0.0/mplapack-2.0.0.tar.xz
RUN cd /home/$DOCKER_USER && tar xvfJ mplapack-2.0.0.tar.xz
RUN cd /home/$DOCKER_USER/mplapack-2.0.0
ARG CXX="x86_64-w64-mingw32-g++"
ARG CC="x86_64-w64-mingw32-gcc"
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile_ubuntu22.04
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN echo "${TZ}" > /etc/timezone \

RUN apt install -y build-essential gfortran python3
RUN apt install -y autotools-dev automake libtool
RUN apt install -y git wget time
RUN apt install -y git wget time parallel
RUN apt install -y ng-common ng-cjk emacs-nox
RUN sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1

Expand All @@ -33,8 +33,8 @@ RUN echo "\n\
" > /home/$DOCKER_USER/.gitconfig

RUN cd /home/$DOCKER_USER && echo "cd /home/$DOCKER_USER" >> .bashrc
RUN cd /home/$DOCKER_USER && wget https://github.com/nakatamaho/mplapack/releases/download/v1.9.9/mplapack-2.0.0-alpha.tar.xz
RUN cd /home/$DOCKER_USER && tar xvfJ mplapack-2.0.0-alpha.tar.xz
RUN cd /home/$DOCKER_USER && wget https://github.com/nakatamaho/mplapack/releases/download/v2.0.0/mplapack-2.0.0.tar.xz
RUN cd /home/$DOCKER_USER && tar xvfJ mplapack-2.0.0.tar.xz
RUN cd /home/$DOCKER_USER/mplapack-2.0.0
ARG CXX="g++"
ARG CC="gcc"
Expand Down
6 changes: 5 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,11 @@ mplapack/test/eig/nep.in \
mplapack/test/eig/se2.in \
mplapack/test/eig/sep.in \
mplapack/test/eig/svd.in \
mplapack/test/eig/test_eig_all.sh \
mplapack/test/eig/test_eig_all_mingw.sh \
mplapack/test/lin/Ctest.in \
mplapack/test/lin/Ctest_rfp.in \
mplapack/test/lin/Rtest.in \
mplapack/test/lin/Rtest_rfp.in
mplapack/test/lin/Rtest_rfp.in \
mplapack/test/lin/test_lin_all.sh \
mplapack/test/lin/test_lin_all_mingw.sh
4 changes: 2 additions & 2 deletions external/qd/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ if IS_MINGW
cd $(abs_builddir)/work/internal/qd-$(QDVERSION); patch -p0 < $(abs_builddir)/patches/patch-mingw ; autoreconf -f -i ; cp config/* .
cd $(abs_builddir)/work/install/qd-$(QDVERSION); patch -p0 < $(abs_builddir)/patches/patch-mingw ; autoreconf -f -i ; cp config/* .
endif
cd $(abs_builddir)/work/internal/qd-$(QDVERSION); patch -p0 < $(abs_builddir)/patches/patch-sqrtoverflow
cd $(abs_builddir)/work/install/qd-$(QDVERSION); patch -p0 < $(abs_builddir)/patches/patch-sqrtoverflow
cd $(abs_builddir)/work/internal/qd-$(QDVERSION); patch -p0 < $(abs_builddir)/patches/patch-overflow
cd $(abs_builddir)/work/install/qd-$(QDVERSION); patch -p0 < $(abs_builddir)/patches/patch-overflow

touch $(abs_builddir)/work/$(PATCH_STAMP)

Expand Down
Loading

0 comments on commit 6cf4457

Please sign in to comment.