GithubHelp home page GithubHelp logo

fsaxen / parforprogmon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dylanmuir/parforprogmon

26.0 26.0 8.0 168 KB

Progress monitor for matlab parfor (parallel) loops with estimation of the remaining time

License: BSD 3-Clause "New" or "Revised" License

MATLAB 100.00%

parforprogmon's People

Contributors

dylanmuir avatar fsaxen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

parforprogmon's Issues

R2020b: dot indexing is not supported for variable of this type

Problem Description

It seems matlab cannot access ppm.increment() within parfor.

Error using testParforProgressbar (line 21)
Dot indexing is not supported for variables of this type.

Steps to Reproduce the Problem

Run the testParforProgressbar.m example.

Specifications

  • MATLAB Release: R2020b
  • Operating System:
  • ParforProgressbar version (or commit link/hash):

Additional Information

Probably matlab has changed how it brodcasts variables in the last updates. Does anyone know how to get it back to work?

More info: The root cause seems to be that the object is not created within the parfor loop. I've tried using step = @() ppm.increment to get rid of the dot indexing problem, however using that approach, there is no increment in the progressbar.

Thread-based pool progressbar

Hey! I've been experimenting with thread-based pools recently and I haven't been able to get the progressbar working with it so far, is it not compatible or am I missing something? Thanks

Removing dependency on the Instrument Control Toolbox

Is your feature request related to a problem? Please describe.
As of now, the tool requires the Instrument Control Toolbox to use udp. While many users have access to this toolbox as part of their license (e.g. Academic), many others don't (this is a complaint seen on FEX).

Describe the solution you'd like
There are alternatives to the udp function that is provided by the paid toolbox. To name a couple: TCP/UDP/IP Toolbox and A simple UDP communications application. There is also an open-source implementation of udp in Octave, which could be adapted for this.

With some effort it might be possible to remove this dependency, and instead rely on some OS-specific APIs.

Additional context
N/A.

Disappearing progressbar titles

Problem Description

I'm having an issue where the titles of the bars disappear after a short while. It looks like this:

image

(Although it's mildly amusing that some workers reach >100%, it's not the main issue here :) ).

Steps to Reproduce the Problem

This is how I use the tool:

ppm = ParforProgressbar(nGuesses, 'title', 'someTitle',...
        'showWorkerProgress', true, 'progressBarUpdatePeriod', 10);
tic
parfor ind1 = 1:nGuesses
  someFunction(someInput);
  ppm.increment(); %#ok<PFBNS>
end
toc 
delete(ppm); clear ppm;

Initially, the progressbar window appears with all the labels, then it "reopens" several times after which the labels become blank. Here's a screen capture:

progbar

Specifications

  • MATLAB Release: R2019a
  • Operating System: Win10.
  • ParforProgressbar version (or commit link/hash): 7e84b2d

Additional Information

In the off-chance that this is some graphical glitch, I'll mention that I'm connected to the machine that runs MATLAB using RDP (remote desktop), where the terminal runs Win7.

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.