Installing Singularity on a Slurm CycleCloud cluster

Young-Chan Park 1 Reputation point
2021-05-21T08:13:47.057+00:00

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
Azure CycleCloud
A Microsoft tool for creating, managing, operating, and optimizing high-performance computing (HPC) and big compute clusters in Azure.
62 questions
{count} votes

2 answers

Sort by: Most helpful
  1. prmanhas-MSFT 17,901 Reputation points Microsoft Employee
    2021-05-21T12:01:31.833+00:00

    @Young-Chan Park 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://learn.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.

    0 comments No comments

  2. Jerrance 81 Reputation points Microsoft Employee
    2021-06-17T14:16:45.643+00:00

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

    https://learn.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'  
      
    
    0 comments No comments