Installing Xyce from source requires the following general steps:
- Install a complete compiler suite.
- Install all prerequisite libraries from packages or from source code.
- Build Trilinos from source code and install it.
- Download and unpack the Xyce source code.
- Build Xyce.
Most of the work is in the first three steps, and the most difficult step to get right is building and installing Trilinos. Therefore this document spends a lot of time explaining those steps in detail. Building Xyce itself is straightforward once the prerequisite steps are complete.
It is also recommended that after building Xyce one run the complete regression test suite. After building and testing, the code may be installed.
Most libraries that Xyce requires are available through system package managers; they are also all available in source form, which you can compile yourself. Since the majority of the work in installing Xyce involves installing the prerequisite libraries, most of this page is focused on these prerequisites.