Dave Parker
931bbbb0b1
Allow --javamaxmem as well as -javamaxmem (same for --javastack).
This is consistent with all other switches in PRISM, but these are handled
separately, in the launch shell scripts, so have to be detected there.
6 years ago
Joachim Klein
615d3c2147
PRISM startup scripts: use exec call to start Java by default
Previously, we have called java as a child process of the startup
script. This is a bit problematic, as killing the startup script (in a
non-interactive setting, e.g., by running via a script that enforces a
time limit or killing it via a process manager) does not necessarily kill the
Java child process. This can leave potentially long-running Java processes
consuming resources floating around.
We avoid this by using 'exec java ...' to invoke Java, which replaces
the shell process with the Java process for PRISM, keeping the process
ID.
As a fallback, if it turns out there a unforseen problems with the new
exec-based approach, one can set the environment variable
PRISM_NO_EXEC to 'yes' to obtain the old behaviour, i.e.,
export PRISM_NO_EXEC=yes
bin/prism ...
7 years ago
Joachim Klein
9e386b90a1
PRISM startup scripts: remove support for notification via NOTIFY='yes'
Previously, the PRISM startup scripts on MacOS and Linux would call a
GUI notification tool when the PRISM execution has finished and the
environment variable NOTIFY was set to 'yes'.
This feature was not advertised and probably not used much in
practice. We remove it because it interferes with an exec-based
mechanism of starting the Java VM for PRISM (see next commit).
It is simple to get similar functionality by using a small wrapper
script or other shell functionality.
7 years ago
Joachim Klein
e33f8eee3c
Add -javastack x command line parameter to specify Java stack size
Similar to -javamaxmem, make stack size configurable, either via
-javastack argument or by setting the PRISM_JAVASTACKSIZE environment
variable
8 years ago
Dave Parker
2bec750205
Removed -d64 and -d32 from Mac launch scripts.
These were previously deprecated and now removed in Java 10.
The 32/64-bit scripts are now identical, but kept separate
for now in case of later changes.
8 years ago
Dave Parker
7615d9fcd8
Fix handling of PRISM_DEBUG and PRISM_DEBUG_ARG variables in launch scripts so that the scripts work when they are not set.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11767 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
241547abe9
Add PRISM_DEBUG and PRISM_DEBUG_ARG variables to launch scripts, which allow debugging of C++ code, as described at http://www.prismmodelchecker.org/wiki/Developers/Debugging .
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11766 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
26a73e3248
Fix Cygwin launch scripts to handle paths with spaces in.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11335 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
cd4e8cba19
Fix for Mac launch scripts - find right Java executable to avoid DYLD_LIBRARY_PATH problems.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11329 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
63f5241b73
Make linux prism script run as bash, not sh (because -javamaxmem handling breaks on e.g. dash).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10296 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
6fb7606632
Bug fix in Mac launch scripts (icon, dock name)
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10190 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
00f9134d6b
New -javamaxmem switch (sets PRISM_JAVAMAXMEM).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10185 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
c2fee24dd7
Set Windows launch script java memory limits to match other OSs.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10184 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
3cb8db6899
Set default Java heap size to 1g (2g might be too high in some cases).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10183 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
30c5001aaf
Increase the default Java max memory (from to 512m to 2g) - should be ok these days.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9993 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
c1681a04b2
Increase the default Java stack size - was consistently crashing on Tarjan SCC detection on a non-huge model (as reported by Steffen Marcker).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9992 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
e577bc851d
Fix for run scripts on Mac where install directory has a space.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9408 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
5cb2faff94
Slight (additional) refactor in launch scripts to ease addition of extra libraries.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8848 bbc10eb1-c90d-0410-af57-cb519fbb1720
12 years ago
Dave Parker
b9ade0d5dd
Slight refactor in launch scripts to ease addition of extra libraries.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8846 bbc10eb1-c90d-0410-af57-cb519fbb1720
12 years ago
Dave Parker
bb6b91f696
Simplify bin scripts by adding all jar files to classpath at once.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4888 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
b8e9b6b9d4
Fix previous Makefile addition + add d32/64 to Mac launch scripts.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4579 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
a0e74ef88b
Cleaner Makefile generation of bin scripts.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4578 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
bfbe832a90
Bug fix in launch scripts re notifiers: bash does not always short circuit & it seems and so can print out warning about non-existent notifiers even when NOTIFY=no.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4571 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
cf44bfead1
Add missing arg in xprism.bat (reported problems on Win 64).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4254 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Vojtech Forejt
f64583167c
Fixing exit codes (a bug introduced by notification)
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4252 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Vojtech Forejt
5ab2ac9262
a very simple notification using growl in Mac and notify-send in Linux
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4233 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
95b75fbe4e
Allow gigabytes in PRISM_JAVAMAXMEM, e.g. "2g".
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2429 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
53a5274cb3
Addition of new statistical model checking stuff (patch difference between trunk and prism-statmc branch at this revision).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2391 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
b379696ef4
Unneeded comment in launch script.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2387 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
dbfd975c66
Some formatting issues in Win launch scripts.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2256 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Luke Herbert
4b6c9290bd
Modified xprism.bat so as not to pop up a console window when launching the GUI version of PRISM under windows. Tested on a Windows 7 system (this only affects windows).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2094 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
067e0aebc6
Icon location bugfix for Mac Dock.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2067 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
81168bdc62
Added default java memory (512MB) to run scripts.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1873 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
6eaf351114
New OS X launch script: icon + typo.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1103 bbc10eb1-c90d-0410-af57-cb519fbb1720
17 years ago
Dave Parker
84f44d3cbc
Version nums in bin examples.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@566 bbc10eb1-c90d-0410-af57-cb519fbb1720
18 years ago
Dave Parker
467f978da0
Added debug option to launch scripts.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@505 bbc10eb1-c90d-0410-af57-cb519fbb1720
19 years ago
Dave Parker
1b6b8a1f6d
Merged jfreechart port into trunk.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@436 bbc10eb1-c90d-0410-af57-cb519fbb1720
19 years ago
Dave Parker
ea856282e1
Bug fix in Windows .bat files (for case where PRISM_DIR is set manually).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@315 bbc10eb1-c90d-0410-af57-cb519fbb1720
19 years ago
Dave Parker
6bbe33bf61
Fixes for possible bug in Windows launch scripts.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@252 bbc10eb1-c90d-0410-af57-cb519fbb1720
19 years ago
Dave Parker
8c4f68075f
Move images/dtds out of classes directory (is a pain in Eclipse).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@144 bbc10eb1-c90d-0410-af57-cb519fbb1720
20 years ago
Dave Parker
8e1c5ec0d5
Bugfixes for new script file generation stuff (on Cygwin).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@127 bbc10eb1-c90d-0410-af57-cb519fbb1720
20 years ago
Dave Parker
6118ce60e9
New way of generating startup scripts (bin/prism, etc.).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@126 bbc10eb1-c90d-0410-af57-cb519fbb1720
20 years ago