Skip to content
Snippets Groups Projects
Commit 106b5a81 authored by kasravi1's avatar kasravi1
Browse files

update readme related to build_base_image.sh docs

parent da89b01b
No related branches found
No related tags found
No related merge requests found
...@@ -16,10 +16,11 @@ Building your base singularity image is a crucial step in preparing your environ ...@@ -16,10 +16,11 @@ Building your base singularity image is a crucial step in preparing your environ
Once you have reviewed the repository details and determined the appropriate Python version, you can proceed to build the base Python image using the following command: Once you have reviewed the repository details and determined the appropriate Python version, you can proceed to build the base Python image using the following command:
```bash ```bash
bash scripts/build_base_image.sh -A {account} -p {partition} -V {python_version} -N {base_image_name} bash scripts/build_base_image.sh -A {account} -G {Group_name} -p {partition} -V {python_version} -N {base_image_name}
``` ```
- `account`: The account name for using supercomputers. - `account`: The account name for using supercomputers (you can find the name of the budget on JuDoor).
- `partition`: The partition name on the supercomputer. Please use a partition that has internet access (e.g., `devel`, `develgpus`, `develbooster`, etc.). - `Group_name`: The group name for using supercomputers (you can find the name of the Group on JuDoor). Sometimes account and group name are the same.
- `partition`: The partition name on the supercomputer. Please use a partition that has internet access (e.g., `devel`, `develgpus`, `develbooster`, `all (JEDI)`, etc.).
- `python_version`: The Python version (e.g., `3.10`). - `python_version`: The Python version (e.g., `3.10`).
- `base_image_name`: The name of the base image with a `.sif` extension (e.g., `base.sif`). - `base_image_name`: The name of the base image with a `.sif` extension (e.g., `base.sif`).
...@@ -27,14 +28,14 @@ bash scripts/build_base_image.sh -A {account} -p {partition} -V {python_version} ...@@ -27,14 +28,14 @@ bash scripts/build_base_image.sh -A {account} -p {partition} -V {python_version}
Here is the example how to build the base image: Here is the example how to build the base image:
```bash ```bash
bash scripts/build_base_image.sh -A atmlaml -P devel -V 3.10 -N test.sif bash scripts/build_base_image.sh -A atmlaml -G atmlaml -P devel -V 3.10 -N test.sif
``` ```
After running scripts/build_base_image.sh, a SLURM job will be launched, and a report will be generated in the `slurm_report` path. Please make sure to review this report to confirm that your image was created without any errors. After running scripts/build_base_image.sh, a SLURM job will be launched, and a report will be generated in the `slurm_report` path. Please make sure to review this report to confirm that your image was created without any errors.
The above command will create an singularity image in the following path: The above command will create an singularity image in the following path:
`/p/project1/{account}/{$USER}/apptainer/test.sif` `/p/project1/{account}/$USER/apptainer/test.sif`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment