Skip to content
Snippets Groups Projects
Verified Commit b7421ae9 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

README.md: bump to SLICOT 5.9 in compilation instructions

[skip ci]

(cherry picked from commit 0b8b05bc)
parent 0a25c158
No related branches found
No related tags found
No related merge requests found
...@@ -242,15 +242,15 @@ The documentation packages have slightly different names in CentOS and RHEL, but ...@@ -242,15 +242,15 @@ The documentation packages have slightly different names in CentOS and RHEL, but
# compile slicot from source and put it into /home/$USER/dynare/slicot/lib/ # compile slicot from source and put it into /home/$USER/dynare/slicot/lib/
mkdir -p /home/$USER/dynare/slicot mkdir -p /home/$USER/dynare/slicot
cd /home/$USER/dynare/slicot cd /home/$USER/dynare/slicot
wget https://deb.debian.org/debian/pool/main/s/slicot/slicot_5.0+20101122.orig.tar.gz wget https://github.com/SLICOT/SLICOT-Reference/archive/refs/tags/v5.9.tar.gz
tar xf slicot_5.0+20101122.orig.tar.gz tar xf v5.9.tar.gz
cd slicot-5.0+20101122 cd SLICOT-Reference-5.9
mkdir -p /home/$USER/dynare/slicot/lib mkdir -p /home/$USER/dynare/slicot/lib
# The following two lines are only for MATLAB # The following two lines are only for MATLAB
make FORTRAN=gfortran OPTS="-O2 -fPIC -fdefault-integer-8" LOADER=gfortran lib make -f makefile_Unix FORTRAN=gfortran OPTS="-O2 -fPIC -fdefault-integer-8" LOADER=gfortran lib
cp slicot.a /home/$USER/dynare/slicot/lib/libslicot64_pic.a cp slicot.a /home/$USER/dynare/slicot/lib/libslicot64_pic.a
# The following two lines are only for Octave # The following two lines are only for Octave
make FORTRAN=gfortran OPTS="-O2 -fPIC" LOADER=gfortran lib make -f makefile_Unix FORTRAN=gfortran OPTS="-O2 -fPIC" LOADER=gfortran lib
cp slicot.a /home/$USER/dynare/slicot/lib/libslicot_pic.a cp slicot.a /home/$USER/dynare/slicot/lib/libslicot_pic.a
# compile x13as from source and put it into /usr/bin/ # compile x13as from source and put it into /usr/bin/
...@@ -307,10 +307,10 @@ pacman -S git bison flex make tar mingw-w64-x86_64-meson mingw-w64-x86_64-gcc mi ...@@ -307,10 +307,10 @@ pacman -S git bison flex make tar mingw-w64-x86_64-meson mingw-w64-x86_64-gcc mi
``` ```
- Compile and install SLICOT - Compile and install SLICOT
```sh ```sh
wget https://deb.debian.org/debian/pool/main/s/slicot/slicot_5.0+20101122.orig.tar.gz wget https://github.com/SLICOT/SLICOT-Reference/archive/refs/tags/v5.9.tar.gz
tar xf slicot_5.0+20101122.orig.tar.gz tar xf v5.9.tar.gz
cd slicot-5.0+20101122 cd SLICOT-Reference-5.9
make FORTRAN=gfortran OPTS="-O2 -fno-underscoring -fdefault-integer-8" LOADER=gfortran lib make -f makefile_Unix FORTRAN=gfortran OPTS="-O2 -fno-underscoring -fdefault-integer-8" LOADER=gfortran lib
mkdir -p /usr/local/lib mkdir -p /usr/local/lib
cp slicot.a /usr/local/lib/libslicot64_pic.a cp slicot.a /usr/local/lib/libslicot64_pic.a
cd .. cd ..
...@@ -440,13 +440,13 @@ export DYNAREDIR=$HOME/dynare ...@@ -440,13 +440,13 @@ export DYNAREDIR=$HOME/dynare
```sh ```sh
mkdir -p $DYNAREDIR/slicot/lib mkdir -p $DYNAREDIR/slicot/lib
cd $DYNAREDIR/slicot cd $DYNAREDIR/slicot
curl -O https://deb.debian.org/debian/pool/main/s/slicot/slicot_5.0+20101122.orig.tar.gz curl -O https://github.com/SLICOT/SLICOT-Reference/archive/refs/tags/v5.9.tar.gz
tar xf slicot_5.0+20101122.orig.tar.gz tar xf v5.9.tar.gz
cd slicot-5.0+20101122 cd SLICOT-Reference-5.9
make -j$(sysctl -n hw.ncpu) FORTRAN=$BREWDIR/bin/gfortran OPTS="-O2" LOADER=gfortran lib make -f makefile_Unix -j$(sysctl -n hw.ncpu) FORTRAN=$BREWDIR/bin/gfortran OPTS="-O2" LOADER=gfortran lib
cp slicot.a $DYNAREDIR/slicot/lib/libslicot_pic.a cp slicot.a $DYNAREDIR/slicot/lib/libslicot_pic.a
make clean make clean
make -j$(sysctl -n hw.ncpu) FORTRAN=$BREWDIR/bin/gfortran OPTS="-O2 -fdefault-integer-8" LOADER=gfortran lib make -f makefile_Unix -j$(sysctl -n hw.ncpu) FORTRAN=$BREWDIR/bin/gfortran OPTS="-O2 -fdefault-integer-8" LOADER=gfortran lib
cp slicot.a $DYNAREDIR/slicot/lib/libslicot64_pic.a cp slicot.a $DYNAREDIR/slicot/lib/libslicot64_pic.a
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment