From: steven pav on
"steven pav" <spav(a)ucsd.edu> wrote in message
<ef5ae95.0(a)webcrossing.raydaftYaTP>...
> steven pav wrote:
> >
> >
> > I am compiling a simple matlab file to a library, then
compiling it
> > with MPI using MPICC. It compiles and runs. However, it
gives me
> > the error
> >
> > MEX Authentication file read Failed!
> > ??? DATENUM failed.
> > Invalid MEX-file
> >
>
'/home/matlab/work/lib/v76/toolbox/matlab/timefun/private/dtstr2dtnu
> > mm
> > x.mexa64': .
> >
> > Error in ==> par1 at 17
> >
> > I am using the datenum function, whose call gives the
error. When
> > I
> > try the same function as a simple helloworld, without
using any
> > real
> > matlab functions, it compiles and runs just fine under
MPI. I have
> > played with include libraries, setting LD_LIBRARY_PATH,
etc, and
> > cannot solve the problem. Mathworks compiler
documentation is no
> > help.
>
> My original solution was to roll back to the compiler from
R2006b,
> which did solve this problem. I have now, very stupidly,
decided to
> package my application separately from the matlab
executable and am
> running into this error again. It probably has something
to do with
> the LD_LIBRARY_PATH, but I cannot say for sure what has
changed.
> this is very irritating.
>
> --sep

I am still using r2006b, but Mathworks has evidently
addressed the problem. see
http://www.mathworks.com/support/bugreports/details.html?rp=388482
(thanks to Matt Beal for pointing out this bug report.)


 | 
Pages: 1
Prev: B-H Curve Simulation
Next: matlabpool problem