Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Parallel computing MatLab Comsol [warning -Identifier: root is not serializable]
Posted 5 nov. 2015, 04:37 UTC−5 Interfacing Version 5.0 2 Replies
Please login with a confirmed email address before reporting spam
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
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
2 Replies Last Post 7 nov. 2015, 01:45 UTC−5