---
# System prepended metadata

title: 在其他平台上遭遇的問題
tags: [Clara, Azure, 基因體, Parabricks-v3.5, 二級分析, NVIDIA, Parabricks]

---

在其他平台上遭遇的問題
===
###### tags: `Parabricks-v3.5`
###### tags: `基因體`, `NVIDIA`, `Clara`, `Parabricks`, `二級分析`, `Azure`

<br>

[TOC]

<br>

## [TWCC](https://www.twcc.ai/)
### 開發型容器 (#singularity)
- 不能在容器裡安裝 docker,
- 安裝 singularity
    - [[sylabs.io][Singularity container]<br>Install the Debian/Ubuntu package using apt](https://sylabs.io/guides/3.0/user-guide/installation.html#install-the-debian-ubuntu-package-using-apt)
        - apt 安裝的版本不到 3.0
        - parabricks 至少要 3.0 以上
    - [[github] singularity](https://github.com/sylabs/singularity/)
        - [INSTALL.md](https://github.com/sylabs/singularity/blob/master/INSTALL.md)
            ```
            sudo apt install -y git
            ```
            剩餘文件中的步驟
            最後還是 fail
            [![](https://i.imgur.com/Et29bfx.png)](https://i.imgur.com/Et29bfx.png)
    - [Parabricks: INSTALLING WITH SINGULARITY 3.0 OR HIGHER](https://docs.nvidia.com/clara/parabricks/v3.5/text/getting_started.html#installing-with-singularity-3-0-or-higher)
        ```bash=
        $ sudo ./parabricks/installer.py \
            --install-location localdir \
            --container singularity
        ```

<br>

### 虛擬運算(VCS)
- 沒有 GPU 資源

<br>

### HPC 高速運算任務 (#singularity)
- 使用 singularity 而不使用 docker
- 沒有 root 權限
    ```
    $ sudo ./parabricks/installer.py --install-location localdir --container singularity

    Sorry, user tjtsai29863 is not allowed to execute './parabricks/installer.py --install-location localdir --container singularity' as root on ln01-twnia2.twcc.ai.
    ```
- 必須是 root
    ```
    $ ./parabricks/installer.py --install-location localdir --container singularity
    ...
    ---1---
    Checking curl installation

    Checking singularity installation

    ---2---
    ---3---
    ---4---
    ---5---
    FATAL:   You must be the root user, however you can use --remote or --fakeroot to build from a Singularity recipe file
    Could not create singularity image
    Contact Parabricks-Support@nvidia.com for troubleshooting
    Documentation can be found at https://docs.nvidia.com/clara/#parabricks
    ```
    - however you can use `--remote` or `--fakeroot` to build from a Singularity recipe file
- `--enable-fakeroot`
    ```
    $ ./parabricks/installer.py --install-location localdir --container singularity --enable-fakeroot
    ...
    ---1---
    Checking curl installation

    Checking singularity installation

    ---2---
    ---3---
    ---4---
    ---5---
    FATAL:   could not use fakeroot: no mapping entry found in /etc/subuid for tjtsai29863
    Could not create singularity image
    Contact Parabricks-Support@nvidia.com for troubleshooting
    Documentation can be found at https://docs.nvidia.com/clara/#parabricks
    ```
- singularity config fakeroot
    ```
    $ singularity config fakeroot --add tjtsai29863
    FATAL:   "singularity config fakeroot" command requires root privileges
    ```
    - [[singularity] Fakeroot feature](https://sylabs.io/guides/3.5/user-guide/fakeroot.html)
