Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/a1exxd0/scc-modules
An alternative to modulecmd with flavours built-in, written in C++.
https://github.com/a1exxd0/scc-modules
Last synced: 24 days ago
JSON representation
An alternative to modulecmd with flavours built-in, written in C++.
- Host: GitHub
- URL: https://github.com/a1exxd0/scc-modules
- Owner: a1exxd0
- Created: 2024-06-24T22:34:15.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-27T18:18:10.000Z (7 months ago)
- Last Synced: 2024-06-28T00:42:05.329Z (7 months ago)
- Language: C++
- Homepage:
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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**:
```sh
sudo apt-get update
sudo apt-get install libgtest-dev
```
**RHEL/Rocky**:
```sh
sudo dnf -y update
sudo dnf -y install cmake gtest-devel
```
**MACOS**:
```sh
brew update
brew install cmake
brew install googletest
```
# Quick build
Navigate into the project root directory, and run:
```sh
mkdir build
cd build && cmake ..
cmake --build . --config release# Verify installation
ctest
```
The final executable will be:
```sh
${PROJECT_SOURCE_DIR}/build/src/smodule
```
To install it into `/usr/local/bin`, you can run (optionally):
```sh
cd ${PROJECT_SOURCE_DIR}/build
sudo cmake --install .
```