icaoberg / Adding Sylabs Remote Builder to Singularity

Created Wed, 27 Dec 2023 03:57:45 -0500 Modified Sun, 22 Dec 2024 03:20:12 -0500

Adding Sylabs Remote Builder to Apptainer

To enable the remote builder on Sylabs.io we need to follow these steps

  • Create an account on SyLabs.io. Click Login`` or Sign up`
  • Click Access Tokens on the left menu.

  • Click Create a New Access Token

  • Add a label and click Create Access Token
  • Click Copy token to Clipboard
  • Login to Bridges 2 and run the command
interact -p RM-shared --time "02:00:00"

to start an interactive session, and then

module load SingularityCE/4.1.2

Since Singulariy is not a production tool, you need to specify the name and version. You should see a message similar to

SingularityCE/4.1.2:
   Warning - Please note that you are using a preproduction module provided for testing purposes. Please
   report any issues to PSC User Services at help@psc.edu.

If you see this message, then run the tool

singularity remote login
  • Paste the token and click Enter.

This is will ad token to your local account at Bridges 2. You might need to follow these procedure again when the token expires.

Happy computing.