8000 GitHub - a1exxd0/scc-modules: An alternative to modulecmd with flavours built-in, written in C++.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

a1exxd0/scc-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCC Module System

An alternative to the standard modulecmd, using C++, with no TCL. It ties in together a "module load" type system from modulecmd, with flavours. What does this mean for you?

Upon doing a "module avail", you may be presented with 100s of modules, but with a flavours system, it will only show relevant modules to ones you have already loaded, reducing 100s to a clear few of the specific modules you require.

This is tested for ubuntu-latest and macos-latest.

Why?

We needed flavours to work, but it was buggy and written in TCL and Perl. It didn't seem too complicated to do so why not?

Dependencies

CTest requires you to have the Google Test framework installed. If you haven't already, run to install it for:

Ubuntu:

sudo apt-get update
sudo apt-get install libgtest-dev

RHEL/Rocky:

sudo dnf -y update
sudo dnf -y install cmake gtest-devel

MACOS:

brew update
brew install cmake
brew install googletest

Quick build

Navigate into the project root directory, and run:

mkdir build
cd build && cmake ..
cmake --build . --config release

# Verify installation
ctest

The final executable will be:

${PROJECT_SOURCE_DIR}/build/src/smodule

To install it into /usr/local/bin, you can run (optionally):

cd ${PROJECT_SOURCE_DIR}/build
sudo cmake --install .

About

An alternative to modulecmd with flavours built-in, written in C++.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0