Comments (2)
Unfortunately I haven't found an elegant solution to this.
Here's the best I've come up with:
- Ignore the return status of
yum-config-manager --add-repo
. This would involve adding a (non-default?) option to theyum
building block that would use(yum-config-manager --add-repo https://developer.download.nvidia.com/devtools/repos/rhel7/x86_64 || true)
instead ofyum-config-manager --add-repo https://developer.download.nvidia.com/devtools/repos/rhel7/x86_64
. - Remove the repo file at the end of the building block. This would involve adding a (non-default?) option to the
yum
building block that would runrm -f /etc/yum.repos.d/developer.download.nvidia.com_devtools_repos_rhel7_x86_64.repo
after installing the packages. - Combine the
nsight_systems
andnsight_compute
building blocks into a singlensight
building block. The repo would only need to be added once, with options to individually enable / disable installing Nsight System and Nsight Compute. However, this would break existing recipes.
Thoughts?
from hpc-container-maker.
@samcmill same. I was hoping there would be an option to ignore a repo if it exists on yum-config-manager, but unfortunately, there's not. 3 sounds like the best option if it didn't break existing recipes, so it's probably a non-starter. There may also be another tool down the line that uses the same repo, and it would break again. I like the first option as a quick hack since that command shouldn't fail anyways.
from hpc-container-maker.
Related Issues (20)
- Mellanox HPC-X installation error HOT 3
- Upload universal wheel to PyPi HOT 2
- nvshmem building block issue (singularity): nvshmem does not build when flag hydra=True set HOT 1
- nvhpc building block with C++20 library support HOT 9
- Public GPG key error fron nvidia ubuntu repository HOT 2
- Need to update default version of Slurm
- Support for Intel oneAPI HOT 2
- Allow use of CMake binary package for aarch64
- Support for chmod flag in copy primitive
- Newer Miniconda versions aren't accessible via the conda module
- error dockerfile with example hpcbase-nvhpc-openmpi.py HOT 1
- Question on boost.py: Why runtime instructions only copies boost-binary? HOT 2
- ucx() problem with versions with the suffix -rc HOT 6
- Error while using "node:latest" base image on HPCCM HOT 2
- LLVM 15 toolchain cant find omp.h HOT 8
- LLVM trunk version out-of-date HOT 2
- GPG error with MKL building block
- Incompatible with python 3.12
- Create a build_block for micromamba HOT 1
- Building blocks should error if a passed parameter does not match any parameters.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hpc-container-maker.