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: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


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 Administrator


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

Attach File(s):

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):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup