Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 428

Parallel computing MatLab Comsol [warning -Identifier: root is not serializable]

$
0
0
Dear All,

I am running COMSOL servers in parallel using parallel computation toolbox (Matlab) to solve optimization problem.

For each time when the model gets loaded using parfor i get the below warning:

Warning: COMSOL Model Object
Name: LIB_9AH_1D.mph
Tag: Model
Identifier: root is not serializable

I am not sure if COMSOL server runs parallely.

Any reasons for this warning and can i ignore it? Further i am not sure if this warning is given by COMSOL or matlab.

Code Snippet:
parfor i = 1:N
comsolPort=[2036 2037];
t = getCurrentTask();
labit=t.ID;
mphstart(comsolPort(labit))
import('com.comsol.model.*');
import('com.comsol.model.util.*');
end
....
....

Thanks in advance for your help.

yours sincerely,
Chris

Viewing all articles
Browse latest Browse all 428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>