Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The SimDist package bundles together all the dependencies of SLIC into one project. This greatly simplifies the build process.

How

...

can I compile simulation binaries for my platform?

Follow the build instructions for the SimDist project to make binaries for your platform.

How do I build SLIC and the packages it depends on from scratch?

Building SLIC and its dependencies "from scratch" is not encouraged now that the SimDist project can manage this build procedure.

There are separate instructions for building on Linux and building on Windws if you must do this.

Running SLIC

How do I run if I installed with SimDist?

SimDist has a run script at scripts/slic.sh which will setup the LD_LIBRARY_PATH to contain the Xerces lib directory and execute the current slic binary from the packages/slic/[slic_version] directory.

...

This script passes all arguments to slic, so use it as you would the normal binary.

How

...

do I run the simulator binary from the slic home directory?

Assuming you are within the slic package's top directory you would run it with this command.

No Format

./bin/$G4SYSTEM/slic [options]

The G4SYSTEM variable depends on your platform. For instance, on Linux, it is set to Linux-g++, so the command would be ...

No Format

./bin/Linux-g++/slic [options]

Follow the build instructions for the SimDist project to make binaries for your platform.

How do I build SLIC and the packages it depends on from scratch?

Building SLIC and its dependencies "from scratch" is not encouraged now that the SimDist project can manage this build procedure.

There are separate instructions for building on Linux and building on Windws if you must do this.

...

Does SLIC have any runtime dependencies?

...

The SimDist run script will set this variable automatically.

How do I run the simulator binary?

Assuming you are within the slic package's top directory you would run it with this command.

No Format

./bin/$G4SYSTEM/slic [options]

The G4SYSTEM variable depends on your platform. For instance, on Linux, it is set to Linux-g++, so the command would be ...

...

How do I get help on the command-line syntax?

...