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

 
 

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

Submitted by:  Benedict Verhegghe <bverheg>
Submitted on:  Tue 22 Oct 2013 04:06:45 PM UTC  
 
Category: CoreSeverity: 3 - Normal
Item Group: Functionality errorStatus: Fixed
Privacy: PublicAssigned to: Benedict Verhegghe <bverheg>
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 26 May 2014 08:53:15 AM UTCbverhegStatusNone=>Fixed
      Assigned toNone=>bverheg
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup