poolStartup.m is throwing an error

2 次查看(过去 30 天)
Markella
Markella 2013-8-8
Hello, I am trying to set up a parfor loop that will connect to the database and pull data. At this point I need to load the driver in every iteration of the parfor loop. I tried adding this piece of code to the poolStartup.m file but the pool creation keels over. How can I load the driver to the workers when they initiate?
javaclasspath(which('org.postgresql.Driver'));
Any thoughts appreciated.
  4 个评论
Friedrich
Friedrich 2013-8-9
sounds like the worker crash (SegV). Is a crash log created in tempdir? (trype tempdir in MATLAB to get the path to your temporary directory)
Markella
Markella 2013-8-12
Hi Friedrich, unfortunately not! When I try and validate the profile, I can see ta couple of files created but they are both empty.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by