Git Product home page Git Product logo

htcondor-matlab's Introduction

I am a Lecturer in Psychology at City, University of London, where I work on statistical data analysis methods for cognitive neuroscience and psychology, and teach about statistical methods and their implementation in Matlab, R, and Python. My background is in physics (nonlinear dynamics).

My repositories contain

I also use GitHub to publish a random collection of nerdy notes.

htcondor-matlab's People

Contributors

allefeld avatar

Watchers

 avatar  avatar  avatar

htcondor-matlab's Issues

call condor commands via ssh

runs into problems because uniform environment is no longer guaranteed:
Matlab version → location of binary, Matlab path...

condorClean

clean up cluster directory
either all beyond 30 days age (asking), or named cluster
prevent clusters with running jobs from being cleaned

→ how to check whether job is still running?
solution depends on #13

log gets updated faster than out and err in condorMonitorCluster

No way to flush stdout and stderr within Matlab.

Happens even if Condor task is terminated, log shows that, but error messages are not yet written to task###_err. But isn't stderr already closed and therefore flushed when Matlab terminates?

Maybe it would help to not use Condor's out= and err=, but to redirect stdout and stderr within Matlab? Then it might be possible to fclose and thereby flush them?

Can we be sure that results are written when the task is terminated?

cluster description

condorCreateCluster takes a cluster description as optional second argument. if not specified, it is generated from name of calling function à la initDiag. it is stored in a plain text file in the job directory, and shown in condorMonitorCluster and condorListClusters (see #6)
date and time of job creation are appended to description

support submitting the same cluster handle again

so that it checks which jobs failed and restarts only those, in condorSubmitJob

depends on breaking 1:1 correspondence between clusterHandle & ClusterId, see #12

prevent re-running job that already have results, and those that are still running
depends on #13, condor_job_status:
in queue (JobStatus ~= 3, 4) -> cannot be restarted
ExitCode == 0 -> should not be restarted
latter will probably be a subset of JobStatus = 4

condor_job_status

giving summary information about an htcondor-matlab cluster: number of jobs, of those still running, finished, and exited with results / with error

as a basis for #9 and #6, and also of use for condorMonitorJob

condorClusters

print a list of all clusters present in the cluster directory, including number of jobs, of those still running, finished, and exited with error, and possibly cluster description

depends on #13

condorRemove

wrapper around condor_rm

condorRemove(clusterHandle, jobNumber) applies to the specified job(s) (→ condorInspect),
condorRemove(clusterHandle) applies to held jobs,
condorRemove(clusterHandle, '-all') to all running jobs

problem: "remove" already has another meaning in condorClusters fixed with babf273

call from condor_Clean?

-forcex?

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.