bugpyFormex - Bugs: bug #40346, Multitask an external command...

 
 

bug #40346: Multitask an external command hangs in script mode.

Submitter:  Benedict Verhegghe <bverheg>
Submitted:  Tue 22 Oct 2013 04:06:45 PM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  Functionality error Status:  Fixed
Privacy:  Public Assigned to:  bverheg
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 26 May 2014 08:53:15 AM UTC, comment #1: 

The warning was added in commit 606a091.
Since then other improvements have been added to the multitasking.
When used properly, there seem to be no issues anymore.
Closing the bug.

Benedict Verhegghe <bverheg>
Group administrator
Tue 22 Oct 2013 04:06:45 PM UTC, original submission:  

pyFormex may hang when using multi.multitask to run multiple functions in parallel, if your functions include calling an external command and you run in script mode.

The problem does not seem to occur when no external commands are called, or when you run in app mode.

Thus, the IsoSurface example uses 4 processes, does not call any externals, and runs will both as script and as app.

The Inside example however calls an external (gtsinside) and, with nproc > 1, runs well as app, but hangs when executed as script.

If this can be confirmed, we should add a detection of run mode and a warning to the multitask function.

Benedict Verhegghe <bverheg>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bverheg (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-05-26 bverheg StatusNone Fixed
        Assigned toNone bverheg
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code