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
Posted Mar 20, 2013, 9:32 a.m. EDT 1 Reply
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)
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