XDMoD (XD Metrics on Demand) is an NSF-funded open source tool designed to audit and facilitate the utilization of the XSEDE cyberinfrastructure by providing a wide range of metrics on XSEDE resources, including resource utilization, resource performance, and impact on scholarship and research. The XDMoD framework is designed to meet the following objectives:
- Provide the user community with a tool to manage their allocations and optimize their resource utilization,
- Provide operational staff with the ability to monitor and tune resource performance,
- Provide management with a tool to monitor utilization, user base, and performance of resources, and
- Provide metrics to help measure scientific impact.
While initially focused on the XSEDE program, Open XDMoD has been created to be adaptable to any HPC environment.
For more information, including information about additional Open XDMoD capabilities provided as optional modules, please visit the Open XDMoD website.
Support is available by emailing firstname.lastname@example.org. Please include the following in your support request. Failure to include this information may delay support. See the Open XDMoD Support page for additional information.
- Open XDMoD version number
- Operating system and version where Open XDMoD is installed
- The output of
- PHP and MySQL version (e.g, the output from
mysql --version, and the SQL command
SHOW VARIABLES LIKE "%version%";)
- A description of the problem you are experiencing
- Detailed steps to reproduce the problem
Modules for Open XDMoD
In addition to the analysis functionality provided by the main Open XDMoD package, Open XDMoD also supports extending its capabilities through modules. The XDMoD team currently supports the modules below.
This module enables analysis of "application kernels", which are regression tests for the performance of an HPC system and the software that runs on it. For more information, visit the Application Kernels Module website and repository.
This module enables analysis of individual and aggregate job performance using hardware data from CPUs, memory, filesystems, network interfaces, and more. For more information, visit the SUPReMM Module website and repository.
Prebuilt packages of Open XDMoD are available as releases on GitHub. Packages for Open XDMoD modules are available as releases in their respective repositories.
See the installation instructions on the Open XDMoD website for additional information.
Feedback is always welcome, and contributions are greatly appreciated! Before getting started, please see our contributing instructions and guidelines.
In short, the steps to take are:
- Fork any repositories for Open XDMoD or its modules that you wish to work on.
- Clone and set up the repositories on your local system (see "Developing", below).
- Develop your work and test it, ensuring your work follows our contributing guidelines.
- Push your work to your forks.
- Open pull requests for your work from your forks to the central repositories. The pull requests will then be reviewed by the XDMoD team.
Development on Open XDMoD and its modules can be started using either Repo or Git. If you are unsure which to start with, try Repo, as it is easy to transition from a Repo workflow to a pure Git workflow. If you don't want to install yet another tool, using Git will work just fine.
Whichever tool you choose, we recommend keeping your various repository clones inside a dedicated directory on your local system. This will make it easier to use quality assurance tools locally.
Before starting with either, however, you will want to fork any repositories you are interested in working on. Simply visit the repositories' pages on GitHub and click the Fork button. Once you have finished working on a feature or bug fix for a project, push the work to your fork and open a pull request against the main repo for that project.
To get started on core Open XDMoD development, simply clone the Open XDMoD repository.
To work on an Open XDMoD module, one option is to clone the module repository
directly inside of your Open XDMoD repository's
If your module repository is named with the
xdmod- prefix, remove it from the
clone's directory name. Alternatively, you may clone the module repository
elsewhere and create a symbolic link to it from
For example, to work on your fork of the SUPReMM module using a direct clone, run this command, substituting in your GitHub username and Open XDMoD repo location:
git clone email@example.com:[username]/xdmod-supremm [xdmod_repo]/open_xdmod/modules/supremm
To work on your fork of the SUPReMM module using an external clone and a symbolic link, run these commands, substituting in your GitHub username and the relevant paths:
git clone firstname.lastname@example.org:[username]/xdmod-supremm [supremm_repo] ln -s [supremm_repo] [xdmod_repo]/open_xdmod/modules/supremm
To assist with initial setup and development across Open XDMoD and its modules, we support the use of Repo, a tool built by the Android development team to help manage multi-repository projects. It can help you get started by setting up multiple repositories at once, and it provides some convenience functions for working across repositories. We supply a Repo manifest repository that can be used to get started with Open XDMoD and first-party modules.
The steps below will get you started, but further documentation on using Repo can be found here. At any point, standard Git commands may be used in individual project directories, as the directories are simply standard Git repositories.
To clone Open XDMoD and first-party modules, run the following commands,
substituting in the branch for the version you wish you base your work on
repo init -u email@example.com:ubccr/xdmod-repo-manifest -b [branch] repo sync
Note that unlike
git clone, Repo does not automatically create a local branch
tracking the initial branch that was checked out (although you can create these
branches manually, if you wish, by running
repo forall -c 'git checkout [branch]').
To add forks of the various projects to all repositories at once, run this command, substituting in your GitHub username:
repo forall -c 'git remote add origin firstname.lastname@example.org:[username]/$REPO_PROJECT'
To check that the above command worked correctly, you can run this command:
repo forall -c 'git fetch origin'
Now that the repositories have been set up, you can use standard Git commands
in each repository. Repo also provides some convenience functions for performing
tasks across all repositories. For example,
repo status will display the
current branch and changes for all repositories. You can also use
to execute any shell command in all repositories.
Custom Modules with Repo
If you are working on custom modules for Open XDMoD, you can tell Repo where to find them using one of two methods.
If you want to use a custom configuration in multiple places, you can fork or clone the XDMoD Repo manifest repository and apply modifications there. (Note that a fork, like the source repo, will be public. If you wish to keep your custom configs private, clone the main repo directly and treat the clone as an independent repo. You can then push the clone to your own private server, or you can just keep it local to your machine.) The existing entries for various Open XDMoD modules can be used as templates for your custom modules. The format of the Repo manifest file is described in greater detail here. Once you have made your changes and committed them, run these commands to pull in your changes:
repo init -u [local_or_remote_path_to_manifest_repo] -b [branch_with_changes] repo sync
If you just want to make some small changes locally, you can add local manifest
.repo/local_manifests that will extend the main manifest file being
used. More information about the manifest file format and local manifest files
may be found here. Once you have made the desired changes, run
repo sync to pull the changes in.
Installing Quality Assurance Tools
If you wish to locally install and use the quality assurance tools that will be used to check your code, you can do so by following the instructions on the Open XDMoD QA repository page.
NOTE: Modules for Open XDMoD may have their own build dependencies.
The examples in the steps below apply to Open XDMoD, but similar procedures
may be followed to build modules for Open XDMoD as well. Simply ensure that
the modules (or symbolic links to the modules) are present in
open_xdmod/modules and do not have the
xdmod- prefix. For example, to build
the SUPReMM module (which is stored in the repository
clone it or create a symbolic link to it at
This process has been tested on CentOS 7. Known issues are documented in the Building FAQ below. If you run into any issues not listed below on these or any other platforms, please let us know. The tested version of composer is 1.3.2 (TravisCI builds use --stable)
- Change directory to the root of the Open XDMoD repository.
- Install Composer dependencies for Open XDMoD.
- Depending on the versions of various software installed on your system, you may run into errors. If you do, see the Building FAQ below.
- Run the package builder script.
open_xdmod/build_scripts/build_package.php --module xdmod
- To build Open XDMoD modules, substitute
xdmodwith the name of a module's directory within
The resulting tarball will be located in
This process has been tested on CentOS 7. Known issues are documented in the Building FAQ below. If you run into any issues not listed below on these or any other platforms, please let us know.
This procedure assumes your
rpmbuild directory is
~/rpmbuild. If it is not,
- Change directory to the root of the Open XDMoD repository.
- If you have not already, create a source tarball using the steps in the Source section.
- Copy the source tarball to the
SOURCESdirectory in your
cp open_xdmod/build/xdmod-x.y.z.tar.gz ~/rpmbuild/SOURCES
- Extract the
.specfile from the source tarball into the
SPECSdirectory in your
tar -xOf ~/rpmbuild/SOURCES/xdmod-x.y.z.tar.gz xdmod-x.y.z/xdmod.spec >~/rpmbuild/SPECS/xdmod.spec
rpmbuild -bb ~/rpmbuild/SPECS/xdmod.spec
- There may be warnings about files not being found or files being listed twice. These are likely benign - see the Building FAQ below.
The resulting RPM will be located in
Why is Composer unable to download some files?
Certain combinations of PHP and Composer do not handle redirects over HTTPS correctly. This is known to affect the version of PHP that CentOS 6 supplies combined with current stable versions of Composer (as of this writing, 1.3.2). To get things working, try one or more steps below.
- Update Composer to a newer version.
- If the above did not work or is not feasible, you can globally disable
HTTPS in Composer by running
composer config -g disable-tls true. While disabling HTTPS is not recommended by the Composer developers or us, all dependencies downloaded using XDMoD's config files will be checked against checksums to help prevent against tampering.
Why is Composer failing to unzip Ext JS?
Older versions of Composer (< 1.3.2) had issues with the Ext JS zip file.
Upgrading to at least version 1.3.2 resolves this issue.
rpmbuild warning about files not being found?
When building modules for Open XDMoD,
rpmbuild may warn about core Open
XDMoD files being missing. These warnings can be safely ignored if they are
for the following files:
If other files are not being found, then there may be a problem with the build configuration or the module's RPM spec file.
rpmbuild warning about files being listed twice?
When building the core Open XDMoD package,
robots.txt is included both as
a code file (being inside the
html directory) and as a config file (in order
to prevent customizations from being lost on upgrade). This warning can be
If other files produce this warning, then there may be a problem with the build configuration or the module's RPM spec file.
Open XDMoD is released under the GNU Lesser General Public License ("LGPL") Version 3.0. See the LICENSE file for details.
Open XDMoD includes several libraries that are licensed separately. See the license page on the Open XDMoD website for details.
Some software products used by Open XDMoD are not free for commercial use. See the license page on the Open XDMoD website for details.