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.

Warning: Identifier: root is not serializable

Please login with a confirmed email address before reporting spam

The below post is related to an archived discussion


[start here] Warning: Identifier: root is not serializable I have exactly the same problem. But I am running additional jave stuff. Anyone has an answer.

Regards


1 Reply Last Post Nov 20, 2018, 6:14 a.m. EST
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 5 years ago Nov 20, 2018, 6:14 a.m. EST

We don't have access to the Parallel computation toolbox and hence can't give good advise about any error messages it produces.

The error means that you can't use the model variable as a parameter when calling a function that is supposed to run in parallel. Instead you must transfer the tag of the model to the function.

Inside the function you can then use model = ModelUtil.model(tag); to obtain a model variable after having connected to a Comsol Multiphysics Server.

-------------------
Lars Gregersen
Comsol Denmark
We don't have access to the Parallel computation toolbox and hence can't give good advise about any error messages it produces. The error means that you can't use the model variable as a parameter when calling a function that is supposed to run in parallel. Instead you must transfer the tag of the model to the function. Inside the function you can then use model = ModelUtil.model(tag); to obtain a model variable after having connected to a Comsol Multiphysics Server.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.