poolStartup.m is throwing an error

2 views (last 30 days)
Markella
Markella on 8 Aug 2013
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 Comments
Friedrich
Friedrich on 9 Aug 2013
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 on 12 Aug 2013
Hi Friedrich, unfortunately not! When I try and validate the profile, I can see ta couple of files created but they are both empty.

Sign in to comment.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!