Search/Navigation:
Related:
SLAC/EPP
/HPS Public
Jefferson Lab/Hall B
/HPS Run Wiki
S30XL-LESA/LDMX
...
For instance, after building HPS Java, the distribution jar for the copy of HPS Java I am using can be found here.
Code Block | ||||
---|---|---|---|---|
| ||||
cd hps-java-trunk; ls distribution/target/hps-distribution-3.6-SNAPSHOT-bin.jar |
...
Assuming you have followed the instructions at Installing HPS Java, you can run the standalone jar file two ways.
Using the -jar switch from the command line will run the main from the class JobManager, which is listened in the manifest inside the jar.
...
Without any arguments it will print the command line options and then exit.
You can also run the main method from any class in the jar.
...
Some XML steering files have variables that need to be resolved with command line arguments.
For instance, suppose the XML file has this variable definition.
...
Code Block | ||
---|---|---|
| ||
java -DdisableSvtAlignmentConstants=true [...] |
When set in this way, these values are accessible as Java system properties at runtime.
The JVM accepts a number of command line arguments that alter its behavior.
In particular, you will likely want to increase the default heap space, as the default is too low for running HPS Java.
Code Block | ||
---|---|---|
| ||
java -Xmx2g [...] |
That will change the heap space to 2 gigabytes.
Also, you may want to run the JVM in server mode.
Code Block | ||
---|---|---|
| ||
java -server [...] |
The server VM has been optimized for peak operating speed rather than responsiveness.
...