bugGNU Octave - Bugs: bug #58350, [octave forge] (parallel)...

 
 

bug #58350: [octave forge] (parallel) parcellfun: could not close child pipe ends in parent couldn't create process

Submitter:  None
Submitted:  Mon 11 May 2020 01:33:45 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  None Assigned to:  None
Originator Name:  Gord Gray Originator Email:  -email is unavailable-
Open/Closed:  * Open Release:  * 5.2.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 07 Jun 2020 12:56:07 PM UTC, comment #1: 

Thanks for noting this down and sorry for the delayed response. But I see no obvious cause, and all I could do up to now is to push a changeset which prints some diagnostic information in case of failed closing (wish I had done this before). Don't know if I can ask you to get the changeset from the repository, build the package from scratch and run your procedure again for 8 hours...

BTW, calling 'parcellfun_set_nproc(0);' in the loop should not be necessary and is inefficient, since it causes the process creation to newly happen when you call parcellfun. Dropping this call would probably avoid the problem you described (although I'd rather like to have it fixed).

Olaf Till <i7tiol>
Group Member
Mon 11 May 2020 01:33:45 PM UTC, original submission:  

for loop
    parcellfun_set_nproc(0) ;
    Params = complex code
    [result1, result2] = parcellfun(nproc-4, fun, Params, "UniformOutput", false) ;
endfor

time inside parcellfun ranges from 1 to 5 seconds.
parcellfun_set_nproc returns with the following 8 times with each loop:
    could not terminate child process

After about 8 hours of execution time, I ge the following message:
    could not close child pipe ends in parent
    couldn't create process

Which is a bit frustrating, as I expected my job to run for about 30 hours.

Anonymous

 

(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 i7tiol (Posted a comment)
  • -email is unavailable- added by siko1056 (Updated the item)
  • -email is unavailable- added by None (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 group members can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-05-28 siko1056 Summaryparcellfun: could not close child pipe ends in parent couldn't create process [octave forge] (parallel) parcellfun: could not close child pipe ends in parent couldn't create process

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code