Giter Site home page Giter Site logo

4.0 SDK about azure-batch-samples HOT 5 CLOSED

azure-samples avatar azure-samples commented on August 17, 2024
4.0 SDK

from azure-batch-samples.

Comments (5)

matthchr avatar matthchr commented on August 17, 2024

Hi @sbryfcz - I'm actually working on this right now and will probably have a PR out later today/tomorrow.

from azure-batch-samples.

sbryfcz avatar sbryfcz commented on August 17, 2024

Thanks! That's awesome! Can't wait to try them out.

from azure-batch-samples.

matthchr avatar matthchr commented on August 17, 2024

This is fixed by PR #128

from azure-batch-samples.

sbryfcz avatar sbryfcz commented on August 17, 2024

Works great. Thanks for all your help.

1 more question I have (and cant find an example). Have you gotten Linux instances running with the .NET code? I've been trying to mashup the Linux python examples with the .NET ones but I keep getting generic errors from .NET. I've been trying to port over the python helper select_latest_verified_vm_image_with_node_agent_sku method but having trouble with that as well. Any help in this area would be awesome. I can open a new 'issue' if you'd like.

var imageReference = new ImageReference("UbuntuServer", "Canonical", "14.04.2-LTS", "latest");
var virtualMachineConfiguration = new VirtualMachineConfiguration(imageReference, "Batch.Node.Ubuntu 14.04");

// For this job, ask the Batch service to automatically create a pool of VMs when the job is submitted.
unboundJob.PoolInformation = new PoolInformation()
{
    AutoPoolSpecification = new AutoPoolSpecification()
    {
        AutoPoolIdPrefix = "HelloWorld",
        PoolSpecification = new PoolSpecification()
        {                        
            TargetDedicated = configurationSettings.PoolTargetNodeCount,
            //CloudServiceConfiguration = new CloudServiceConfiguration(configurationSettings.PoolOSFamily),
            VirtualMachineSize = configurationSettings.PoolNodeVirtualMachineSize,      
            VirtualMachineConfiguration = virtualMachineConfiguration                  
        },
        KeepAlive = false,
        PoolLifetimeOption = PoolLifetimeOption.Job
    }
};

from azure-batch-samples.

sbryfcz avatar sbryfcz commented on August 17, 2024

Sorry! Found my issue. Didnt change the VirtualMachineSize to an appropriate choice.

Thanks again for the help

from azure-batch-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.