Giter Club home page Giter Club logo

pbala's Issues

task.c :: when fork fails, master is notified, but does not liste

If fork fails, the slave notifies the master, but the master is programmed to send a job to the slave and does not listen to possible errors when forking. Thus, we can have a deadlock (both pieces trying to send messages to the other one but none listening).

Unfinished tasks not tracked with Sage

When killing Sage jobs (e.g. killing the GP processes, or the Python processes), the program returns to Sage, and Sage exits without the killed flag, so the job is not registered in the unfinished_tasks.txt file.

If a node has full memory, task allocation fails

PBala doesn't give tasks to a node if it has too low memory, but it also fails to give the task to another node, making executions fail if a node in nodelist has no memory left because of another user.

stderr redirection line buffering not working

The user might not be able to get information about the execution until it is completed if they redirect stderr to a file.

I've added setvbuf(stderr,NULL,_IOLBF,BUFFER_SIZE) to the code but doesn't look like it's working

Measure total time of execution for each node

Would be... Total time of task being alive, or actual execution time by task? Could do:

  • a time() when tasks are spawned and another when each task is killed,
  • ime each execution inside the tasks and return the sum to the master.

ant_lib.c:: warning: ‘struct rusage’ declared inside parameter list

This is a warning by gcc because a variable of type struct rusage is used as argument of a function defined in the program, but gcc fails to notice that is not the declaration of such type.

Required libraries are included and the program works, so the warning does not affect the execution.

How to get rid of it?

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.