forked from layeredqueuing/V5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME-LOCAL
108 lines (81 loc) · 3.29 KB
/
README-LOCAL
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
$Id: README-LOCAL 14950 2021-08-20 22:08:50Z 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.
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)
----------------------------------
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.
To bootstrap the build process above, run the file .bootstrap in the
src directory.
BUILD INSTRUCTIONS (Ubuntu 64 bit)
----------------------------------
The simulator does not execute on a 64 bit environment, so it is
necessary to build a 32 bit version:
sudo apt install gcc-multilib g++-multilib
./.configure-ubuntu # to use -m32
make
make install
BUILD INSTRUCTIONS (Windows)
----------------------------
There are three 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. I believe the original MinGW is no
longer supported. DJGPP builds for DOS.
If using MinGW2
1) Install mingw2 (See msys2.org). It's relatively painless now.
- Update packages to latest:
% pacman -Syu
- I recommend to you install most used developer apps by:
% pacman -S base-devel
- You can run MSYS2 with mingw32_shell.bat and install mingw-w64 toolchain:
% pacman -S mingw-w64-i686-toolchain
2) Install other libraries for mingw.
None needed with the above.
3) The user manuals are built using LaTeX and
Install miktex - http://www.miktex.org/
Install ghostview - http://www.cs.wisc.edu/~ghost/
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
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:
./.bootstrap
./.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!
./configure
make
make install
lqns must be executed from the cygwin environment.