Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dynare
dynare
Commits
b7421ae9
Verified
Commit
b7421ae9
authored
1 year ago
by
Sébastien Villemot
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+14
-14
14 additions, 14 deletions
README.md
with
14 additions
and
14 deletions
README.md
+
14
−
14
View file @
b7421ae9
...
@@ -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
```
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment