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 with Livelink

Please login with a confirmed email address before reporting spam

Hello,

I'm using the pattern search algorithm in Matlab to optimize a geometry.

[x,fval]=patternsearch(@(para)func(para),para0,[],[],[],[],[w_l,h_l],[w_u,h_u],[],options);

I wish to use the parallel computing, i.e. I turn on the option 'UseParallel' of the algorithm. My objective function func calls the Comsol model (which I saved as m-file and introduced parameters).

With no parallelization everything runs fine; however with parallel computing, I get the error:

Java exception occurred:
java.lang.IllegalStateException: Not active: CDOTransaction(1)

1 Reply Last Post Mar 20, 2013, 9:38 a.m. EDT
Sven Friedel COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Mar 20, 2013, 9:38 a.m. EDT
Dear Oliver,

this is a question best answered by our support.
Feel free to submit it here: www.ch.comsol.com/support/

Sven Friedel
Dear Oliver, this is a question best answered by our support. Feel free to submit it here: http://www.ch.comsol.com/support/ Sven Friedel

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.