slurm-gcp | Slurm on Google Cloud Platform | GCP library

 by   SchedMD Python Version: Current License: Apache-2.0

kandi X-RAY | slurm-gcp Summary

kandi X-RAY | slurm-gcp Summary

slurm-gcp is a Python library typically used in Cloud, GCP applications. slurm-gcp has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However slurm-gcp build file is not available. You can download it from GitHub.

Slurm on Google Cloud Platform
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              slurm-gcp has a low active ecosystem.
              It has 129 star(s) with 97 fork(s). There are 28 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              slurm-gcp has no issues reported. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of slurm-gcp is current.

            kandi-Quality Quality

              slurm-gcp has 0 bugs and 0 code smells.

            kandi-Security Security

              slurm-gcp has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              slurm-gcp code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              slurm-gcp is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              slurm-gcp releases are not available. You will need to build from source code and install.
              slurm-gcp has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions, examples and code snippets are available.
              slurm-gcp saves you 622 person hours of effort in developing the same functionality from scratch.
              It has 6718 lines of code, 282 functions and 40 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed slurm-gcp and discovered the below as its top functions. This is intended to give you an instant insight into slurm-gcp implemented functionality, and help decide if they suit your requirements.
            • Resume all nodes from a list
            • Generate instance properties
            • Run a subprocess
            • Compute a Google App Service
            • Constructs a batch request
            • Callback for pubsub messages
            • Chown the given path
            • Get metadata for a given path
            • Fetch the deployment scripts from the metadata
            • Resume placement groups
            • Resume all nodes in a list
            • Setup the controller
            • Recursively sync GCP instances
            • Run subprocess
            • Delete resource policies
            • Configure root logger
            • List all subscriptions
            • Start the MOTD server
            • Synchronously update subscriptions
            • Suspend jobs on the specified nodes
            • Return the status of a node
            • Configure the directories
            • Find subscription status
            • Compute a Google App
            • Sets up compute resources
            • Fetchvel scripts from metadata
            • Sync GCP nodes and slurm nodes
            • Load slurm jobs
            • Return machine configuration
            Get all kandi verified functions for this library.

            slurm-gcp Key Features

            No Key Features are available at this moment for slurm-gcp.

            slurm-gcp Examples and Code Snippets

            No Code Snippets are available at this moment for slurm-gcp.

            Community Discussions

            QUESTION

            How to add network tag when creating compute node in Slurm-GCP?
            Asked 2021-Nov-05 at 01:36

            I would like to automatically add network-tag(http-server, https-server) to compute node which is automatically created by slurm-gcp .

            After creating a node, the method of manually adding it using the gcloud command is temporarily used.

            However, as more nodes are created, the time of manual addition becomes too slow.

            I created a custom image and created an instance template using that image. (including http-server and https-server)

            However, it does not appear to utilize the instance template at all when created.

            I wonder how to solve it.

            Thank you.

            ...

            ANSWER

            Answered 2021-Nov-01 at 07:57

            According to the documentation:

            If you need to create a tag on a VM, you must create the tag manually.

            You can assign network tags to new VMs at creation time, or you can edit the set of assigned tags at any time later. You can edit network tags without stopping a VM.You can also add tags to, and remove tags from, an existing VM.

            Check out the documentation on Configuring network tags.

            Source https://stackoverflow.com/questions/69791981

            QUESTION

            How to fix with custom image from slurm-gcp?
            Asked 2021-Sep-14 at 09:33

            I distributed slurm-gcp using Terraform through the GitHub and it was available successfully. Source:

            Slurm on Google Cloud Platform

            But I want to change the image I use when using node to a custom image.

            I am trying to edit /slurm/scripts/config.yaml.

            Among the contents of the file:

            ...

            ANSWER

            Answered 2021-Sep-14 at 07:08

            First you need to create your own image.

            Create a new VM with the image you want to modify; make appropriate changes and stop the VM. Then create a new image from the VM's disk.

            Next create a custom image from that disk and your path in the config.yaml file can look like this:

            image: projects/my-project-name/global/images/your-image-name

            You can get exact path to your custom image by running:

            Source https://stackoverflow.com/questions/69158305

            QUESTION

            Is there a way to update the image used by node in slurm-gcp?
            Asked 2021-Sep-03 at 07:46

            I installed slurm-gcp from that github using terraform in cloud shell.

            https://github.com/SchedMD/slurm-gcp#install-using-terraform

            There are two VMs created.

            • controller
            • login

            I installed several applications in /apps to confirm that they exist.

            I would like to edit node's /etc/hosts and add network tag (http-server, https-server) to run the applications.

            But nowhere does it say how to modify the image used by node .

            Is there no way to edit the image of the slurm?

            Thank you.

            ...

            ANSWER

            Answered 2021-Sep-03 at 07:46

            As of the latest version of Slurm on GCP, the images are pre-built and hosted by SchedMD, and are used directly without the requirement to make build an image at deployment time. You can continue to modify the image by creating your own image. This is done by spinning up a VM with the public image pointed to in the tfvars, making your modifications, saving the image, and pointing your tfvars to your new image.

            You can continue to use the custom compute/controller install scripts found in the scripts directory.

            Source https://stackoverflow.com/questions/69038494

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install slurm-gcp

            See the following page for Marketplace instructions.
            To deploy, you must have a GCP account and either have the GCP Cloud SDK and Terraform installed on your computer or use the GCP Cloud Shell. There are 3 types of network storage sections that can be provided to the TF modules: network_storage, login_network_storage, and partitions[].network_storage.
            cd to tf/examples/basic
            Copy basic.tfvars.example to basic.tfvars
            Edit basic.tfvars with the required configuration See the tf/examples/basic/io.tf file for more detailed information on available configuration options.
            Deploy the cluster $ terraform init $ terraform apply -var-file=basic.tfvars
            Tearing down the cluster $ terraform destroy -var-file=basic.tfvars NOTE: If additional resources (instances, networks) are created other than the ones created from the default deployment then they will need to be destroyed before deployment can be removed. This includes bursted instances that Slurm has not yet suspended.
            network_storage is mounted on all instances in the cluster.
            login_network_storage is mounted on the controller and all login nodes.
            partitions[].network_storage is mounted on compute instances within the specified partition.
            server_ip
            remote_mount
            local_mount
            fs_type
            mount_options

            Support

            Cluster environment not fully coming up For example:.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/SchedMD/slurm-gcp.git

          • CLI

            gh repo clone SchedMD/slurm-gcp

          • sshUrl

            git@github.com:SchedMD/slurm-gcp.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular GCP Libraries

            microservices-demo

            by GoogleCloudPlatform

            awesome-kubernetes

            by ramitsurana

            go-cloud

            by google

            infracost

            by infracost

            python-docs-samples

            by GoogleCloudPlatform

            Try Top Libraries by SchedMD

            slurm

            by SchedMDC