- If Java 17 or newer (Java 21 recommended) is not installed, install a recent Java from Adoptium (recommended):
- Download the HPCViewer binary package matching your architecture:
- Apple Silicon (M1/M2/M3) MacOS: hpcviewer-macosx.cocoa.aarch64.dmg
- Intel MacOS: hpcviewer-macosx.cocoa.x86_64.dmg
- Double-click the downloaded
*.dmg
file. - Drag the
hpcviewer.app
icon to the "Applications" icon. - Run
hpcviewer.app
from the Applications menu.
- If Java JDK (development kit) or JRE (runtime) is installed with
homebrew
, you need to add a soft link the installed java to/Library/Java
location:
sudo ln -sfn /usr/local/opt/openjdk/libexec/openjdk.jdk \
/Library/Java/JavaVirtualMachines/openjdk.jdk
- If Java 17 or newer (Java 21 recommended) is not installed, install a recent Java from Adoptium (recommended):
- Download the HPCViewer binary package matching your architecture:
- Intel or AMD x86: hpcviewer-win32.win32.x86_64.zip
- Double-click the downloaded
*.zip
file to open it. - Extract the
hpcviewer
folder inside to a local folder (e.g.Desktop
). - Run
hpcviewer.exe
in the extractedhpcviewer
folder.
- If Java 17 or newer (Java 21 recommended) is not installed, install a recent Java from Adoptium or via Spack.
- Download the HPCViewer binary package matching your architecture:
- Intel or AMD x86: hpcviewer-linux.gtk.x86_64.tgz
- ARM: hpcviewer-linux.gtk.aarch64.tgz
- IBM PowerPC: hpcviewer-linux.gtk.ppc64le.tgz
- Extract the downloaded tarball to a local directory:
$ tar xzf hpcviewer-linux.gtk.*.tgz
- Run the install script:
$ cd hpcviewer/ $ ./install /my/install/dir/ # e.g. ~/hpcviewer/
- Run
/my/install/dir/hpcviewer
, or add/my/install/dir
to yourPATH
.
HPCViewer is available via Spack, simply run:
$ spack install hpcviewer
$ spack load hpcviewer
See the Spack User's Manual for instructions on how to set up Spack for your system and use it to install packages including HPCViewer.
- Download and install Maven (if not available on the systems) at https://maven.apache.org/
Run the build script from the project root:
$ ./build.sh
The script generates five hpcviewer-<release>-<platform>.[zip|tgz]
files: Windows, Mac (x86_64 and Arm), and Linux (x86_64, ppcle64, and Arm).
- For MacOS:
unzip
the appropriate.zip
file for your platform and run thehpcviewer
script contained inside. - For Linux: Follow the install instructions for Linux above with the appropriate
.tgz
file for your platform.
Build directly with the Maven script:
$ mvnw.cmd clean package
This will compile and create hpcviewer packages for 4 platforms: Linux x86_64 and ppcle64, Windows and MacOS with Eclipse 4.30 (the default). Example of the output:
...
[INFO] Building zip: <hpcviewer.e4>/edu.rice.cs.hpcviewer.product/target/products/hpcviewer-win32.win32.x86_64.zip
Extract hpcviewer-win32.win32.x86_64.zip
to a local folder, then run the hpcviewer.exe
contained inside. (It is recommended to keep your development HPCViewer install separate from a release install.)
Requirements:
- Recommended: Eclipse 2023.12 RCP or newer.
- Warning: May not work properly with older versions of Eclipse.
git clone https://gitlab.com/hpctoolkit/hpcviewer
to your local system- Start Eclipse
- Open the Import window via the menu File > Import
- Select the import wizard General > Existing Projects into Workspace and click Next >
- In Select root directory, select the directory where you have downloaded (the Git root)
- In the Options section of the window, activate Search for nested projects
- Click Finish
To run hpcviewer, it requires Eclipse bundles and some external libraries such as Nebula NatTable, Eclipse Collections, JCraft and SLF4J. The set of bundles that are available is defined by the bundles in the Eclipse workspace, and additionally the bundles in the active target platform The first Eclipse starts after the installation, the target platform only includes the bundles that are installed in the workspace which doesn't include the external libraries.
The bundles that hpcviewer needs are defined in a custom target platform definition project, which is located in the target.platform
directory:
- Open file
target-platform.target
intarget.platform project
. - Click the "Set as Active Target Platform" link at the top-right panel.
- Open product configuration
hpcviewer.product
atedu.rice.cs.hpcviewer.product
- To run: Click
Launch an Eclipse application
Recommended coding and formatting style: