question

YoungChanPark-9180 avatar image
0 Votes"
YoungChanPark-9180 asked jerrance answered

Installing Singularity on a Slurm CycleCloud cluster

Hi,

I was wondering what would be the best way to install tools like Singularity on a CycleCloud cluster.

I assume the available solution would be something like adding an installation instruction in a node configuration file, but it isn't immediately clear.

Can I get some directions to relevant documentations or some guidance please?

Best wishes
YC

azure-cyclecloud
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@YoungChanPark-9180 Any updates on the issue?

Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.

Thanks

0 Votes 0 ·
prmanhas-MSFT avatar image
0 Votes"
prmanhas-MSFT answered

@YoungChanPark-9180 Thank you for your query!!!

You can refer to below documentation for configuring Slurm with Azure Cycle Cloud:

https://github.com/Azure/cyclecloud-slurm

https://docs.microsoft.com/en-us/azure/cyclecloud/download-cluster-templates?view=cyclecloud-8

For Singularity configuration on Cycle Cloud you can refer to below documentation:

https://github.com/Azure/cyclecloud-singularity

Hope it helps!!!

Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

jerrance avatar image
0 Votes"
jerrance answered

The easiest way to install Singularity (or any package) is using Cloud-Init in the cluster settings

https://docs.microsoft.com/en-us/azure/cyclecloud/how-to/cloud-init?view=cyclecloud-8

For example:

 #cloud-config
 packages:
   - nfs-utils
    
 runcmd:
   - 'setenforce 0'
   - 'sed -i –follow-symlinks "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config'
   - 'yum --enablerepo=extras install -y -q epel-release'
   - 'yum install -y htop'
   - 'yum install -y singularity'


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.