Question in Microbiome Modeling Toolbox -- Worker Aborted

23 views
Skip to first unread message

Xinyi Chen

unread,
Jan 16, 2025, 2:55:16 PMJan 16
to COBRA Toolbox
Hello, 

I am using mgpipe function from the Microbiome Modeling Toolbox in Linux Cluster but change the abundance file to another one. I used AGORA2 Infofile as the reference file, and mgpipe function for species level model (used createPanModels beforehand). The rest inputs are the same as demo example.

I ran the codes multiple times but couldn't figure out the reason why I am getting the error (listed below). My abundance file have 318 species in total and reduce to 177 species by setting cutoff = 0.0001. The abundance data file is also attached here. 

Thanks a lot!

Best regards,
Xinyi

Warning: A worker aborted during execution of the parfor loop. The parfor loop

will now run again on the remaining workers.

> In distcomp/remoteparfor/handleIntervalErrorResult (line 240)

  In distcomp/remoteparfor/getCompleteIntervals (line 387)

  In parallel_function>distributed_execution (line 745)

  In parallel_function (line 577)

  In buildModelStorage (line 134)

  In mgPipe (line 104)

  In initMgPipe (line 202)    25%     [..........         90%     [....................................    ]Error using distcomp.remoteparfor/rebuildParforController (line 194)

All workers aborted during execution of the parfor loop.

 

Error in distcomp.remoteparfor/handleIntervalErrorResult (line 253)

                obj.rebuildParforController();

 

Error in distcomp.remoteparfor/getCompleteIntervals (line 387)

                            [r, err] = obj.handleIntervalErrorResult(r);

 

Error in buildModelStorage (line 134)

parfor i = 1:size(microbeNames, 1)

 

Error in mgPipe (line 104)

    [activeExMets,couplingMatrix]=buildModelStorage(microbeNames, modPath,

    dietFilePath, adaptMedium, includeHumanMets, numWorkers, pruneModels,

    biomasses);

 

Error in initMgPipe (line 202)

[netSecretionFluxes, netUptakeFluxes, Y, modelStats, summary, statistics,

modelsOK] = mgPipe(modPath, abunFilePath, computeProfiles, resPath,

dietFilePath, infoFilePath, biomasses, hostPath, hostBiomassRxn,

hostBiomassRxnFlux, figForm, numWorkers, rDiet, pDiet, lowerBMBound,

upperBMBound, includeHumanMets, adaptMedium, pruneModels);

The client lost connection to worker 2. This might be due to network problems,

or the interactive communicating job might have errored.



CDGEMM_abun_norm.xlsx

Almut Heinken

unread,
Jan 20, 2025, 4:10:05 AMJan 20
to cobra-...@googlegroups.com

Hello,
it seems like the issue is with the Parallel Computing Toolbox, not with mgPipe uitself. Have a look here:

https://fr.mathworks.com/matlabcentral/answers/1981944-all-workers-aborted-during-execution-of-parfor-loop

Best regards,

Almut


--

---
You received this message because you are subscribed to the Google Groups "COBRA Toolbox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cobra-toolbo...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cobra-toolbox/721e2543-c7cf-4c5d-820e-017ab47efad6n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages