Giter Site home page Giter Site logo

Comments (4)

matthchr avatar matthchr commented on July 18, 2024

I will look into this. I am not sure if this is intended or a bug.

from azure-batch-samples.

matthchr avatar matthchr commented on July 18, 2024

I investigated this and determined that this behavior is expected at least currently.

Here's the reasoning behind it:

  1. It is intended that we download the common resource files to the task directory (and not the task working directory). This was primarily to dodge the possibility of conflicts between master task resource files and common resource files, and to put them into different folders for clarity. Also to more reasonably support multiple subtasks on the same node (which could then share files as opposed to downloading the same files into two different locations on the node).
  2. It is the case that the coordination command line runs from the task working directory though, which means that you do have to do cd .. OR run the executable using the AZ_BATCH_TASK_SHARED_DIR environment variable.

Does using $AZ_BATCH_TASK_SHARED_DIR make sense in your use case?

from azure-batch-samples.

rupertnash avatar rupertnash commented on July 18, 2024

Thanks for this Matt. Could this please be documented somewhere?

from azure-batch-samples.

matthchr avatar matthchr commented on July 18, 2024

Yes, we should definitely document this more clearly than we do. I've made a note and we will update our documentation shortly.

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.