-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME-LOCAL
More file actions
150 lines (117 loc) · 4.4 KB
/
README-LOCAL
File metadata and controls
150 lines (117 loc) · 4.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
$Id: README-LOCAL 17409 2024-10-31 13:27:39Z greg $
The software herein with the exception of parasol is:
Copyright the Real-Time and Distributed Systems Group,
Department of Systems and Computer Engineering,
Carleton University, Ottawa, Ontario, Canada. K1S 5B6
This package contains:
libmva: Mean Value Analysis (Exact,Linearizer) for Extended Queueing Networks.
lqiolib: LQN/SRVN input/output file parsing library (lqn,xml,json supported).
lqn2csv: LQN model result extraction program.
lqn2ps: LQN file format converter.
lqngen: LQN model generator.
lqns: Analytic solver for Layered Queueing Networks.
lqsim: Simulator for Layered Queueing Networks.
lqx: Layered Queueing eXperiment interpreter.
parasol: Event-driven Simulation package.
qnsolver: Analytic solver for conventional Queueing Networks.
srvndiff: Result comparison program.
BUILD INSTRUCTIONS (Unix variants)
----------------------------------
You require:
flex
bison
gcc-c++ (or clang++, or...)
expat
groff (man pages)
automake
libtool
gd-devel (optional for png/jpeg output)
texlive (optional for documentation)
texlive-epsf (optional for documentation)
xfig (optional for documentation)
fig2dev (optional for documentation)
for a complete build.
To build and install from the distribution tarball using the gcc/g++
compiler:
./configure
make
make install
Please refer to the file INSTALL for more information.
If building from source files fetched directly from the git
repository, you need to bootstrap the build process. Run:
autoreconf -i
Then follow the instructions for the tarball.
BUILD INSTRUCTIONS (Ubuntu 64 bit)
----------------------------------
The simulator does not execute on a 64 bit environment using gcc, so
it is necessary to build a 32 bit version, or use clang (preferred).
sudo apt install gcc-multilib g++-multilib
autoreconf -i # optional
./.configure-m32 # to use -m32
make
make install
On ubuntu, you must add -stdlib=libc++ as a clang++ option in order to
find the Standard Template Library.
sudo apt install clang
autoreconf -i # optional
./.configure-llvm-ubuntu # Adds -stdlib=libc++
make
make install
BUILD INSTRUCTIONS (Windows)
----------------------------
There are four options: MinGW, MinGW2, Cygwin, and DJGPP. Use MinGW2
for distribution as it builds native executables in Win32 mode.
Cygwin is probably the best choice for development, though MinGW2 is
good enough. I believe the original MinGW is no longer supported.
DJGPP builds for DOS.
Windows does not have symbolic links, so the regression tests cannot
be run easily using 'make check'.
If using MinGW2
1) Install mingw2 (See msys2.org). It's relatively painless compared to MinGW.
- Update packages to latest:
% pacman -Syu
% pacman -Su
- I recommend to you install most used developer apps by:
% pacman -S base-devel
- for automake and friends:
% pacman -S autotools
% pacman -S groff
- You can run MSYS2 with mingw32_shell.bat and install mingw-w64 toolchain:
% pacman -S mingw-w64-i686-toolchain
- Ghostscript is needed to build .pdf manual pages.
% pacman -S mingw-w64-i686-ghostscript
2) Install other libraries for mingw.
None needed with the above.
3) The user manuals are built using LaTeX.
Install texlive
pacman -S mingw-w64-x86_64-texlive-full
Modify %PATH% to point to the bin directories of the above three packages.
See: My Computer -> Change a setting -> Performance and Maintenance -> System ->
Advanced -> Environment Variables
** For msys64, you have to set the PATH in .bashrc
PATH=$PATH:/mingw64/bin
4) Build away...
** Make sure that you run the 32 bit version of MINGW (Programs->MSYS2 32bit->MinGW-wew Win64 Shell)
** You need /mingw32/bin/gcc
If buidling from the repo:
autoreconf -i
./.configure-mingw32
make
make install
If building from lqns-?.??.tar.gz:
./configure --disable-shared LDFLAGS='-L/usr/local/lib' CPPFLAGS='-I/usr/local/include' CXXFLAGS='-static-libstdc++ -static-libgcc'
make
make install
5) To install on Windows:
Install the Nullsoft Installer. (https://nsis.sourceforge.io/Download)
go to dist/win-nt
Run the NSI Installer on the installer scripts.
Run the installer.
If using Cygwin:
Note: Be sure that tetex, groff, and xfree (for ps2pdf) are all
installed!
autoreconf -i
./configure
make
make install
lqns must be executed from the cygwin environment.