-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #112 from parthenon-hpc-lab/BenWibking/add-devcont…
…ainer add dev container configuration
- Loading branch information
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// devcontainer.json | ||
{ | ||
"name": "athenapk-dev", | ||
"image": "ghcr.io/parthenon-hpc-lab/cuda11.6-mpi-hdf5-ascent", | ||
// disable Dockerfile for now | ||
//"build": { | ||
// // Path is relative to the devcontainer.json file. | ||
// "dockerfile": "Dockerfile" | ||
//}, | ||
"hostRequirements": { | ||
"cpus": 4 | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"settings": {}, | ||
"extensions": [ | ||
"-ms-vscode.cpptools", | ||
"llvm-vs-code-extensions.vscode-clangd", | ||
"github.vscode-pull-request-github", | ||
"ms-python.python", | ||
"ms-toolsai.jupyter", | ||
"ms-vscode.live-server", | ||
"ms-azuretools.vscode-docker", | ||
"swyddfa.esbonio", | ||
"tomoki1207.pdf", | ||
"ms-vscode.cmake-tools", | ||
"ms-vsliveshare.vsliveshare" | ||
] | ||
} | ||
}, | ||
"remoteEnv": { | ||
"PATH": "${containerEnv:PATH}:/usr/local/hdf5/parallel/bin", | ||
"OMPI_MCA_opal_warn_on_missing_libcuda": "0" | ||
}, | ||
//"remoteUser": "ubuntu", | ||
// we need to manually checkout the submodules, | ||
// but VSCode may try to configure CMake before they are fully checked-out. | ||
// workaround TBD | ||
"postCreateCommand": "git submodule update --init" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters