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