Info

This question is closed. Reopen it to edit or answer.

MATLAB is crashing Mavericks during non-linear optimization using gpu

2 views (last 30 days)
Let me do my best to describe the problem.
Equipment: MacBook Pro Retina 2012, 16 GB of RAM, using OSX Mavericks. Graphics card is an nVidia GeForce 650M. Automatic graphics switching is turned off. All other programs are turned off.
Computation: I am running a non-linear optimization on a function using "fminsearch". Inside the function I use gpu commands in order to gain a speedup.
Problem: As the routine searches for an optimum, I have it print out function values. After about 100 evaluations of the objective function, one of the following will happen: a) The screen freezes and nothing is responsive. b) A "gray screen of death" appears, and nothing is responsive. c) OS X will "log out" and take me back to the login screen. (note: it doesn't appear to be a full restart).
  1 Comment
Marc
Marc on 19 Dec 2013
Edited: Marc on 19 Dec 2013
I assume this was working with OS 10.8.5? If not post your code if it is not too painful and I will see if this happens on my non-retina MacBook running 10.8.6....

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!