I am a user of the "ndfun" function, created by Peter
Boettcher to enable matrix operations on n-dimensional arrays.
After switching to 2007b, I re-compiled it from the C code
(with the BLAS and LAPACK libraries in the command line, as
the help page suggested) with no problem.
Now, when I try to use it, I get the following error:
??? Invalid MEX-file 'D:\.....\ndfun.mexw32': The
specified procedure could not be found.
This is not an issue of version incompatibility, as I have
just compiled it on this very system (hence a different
issue from the one reported here:
www.mathworks.com/matlabcentral/newsreader/view_thread/153618 )
Any ideas?
-Tom
Subject: Re: MEX 'specified procedure could not be found' in 2007b
I suggest you try DependencyWalker, it's a free tool you can
use to find out if there's some libraries missing. It can be
downloaded from http://dependencywalker.com/
Just open your *.mexw32 with the tool and check what's missing.
Regards,
Martti
"Erez " <tom.erez.no@spam.gmail.com> wrote in message
<ff2hh0$d6n$1@fred.mathworks.com>...
> Hello,
>
> I am a user of the "ndfun" function, created by Peter
> Boettcher to enable matrix operations on n-dimensional arrays.
>
> After switching to 2007b, I re-compiled it from the C code
> (with the BLAS and LAPACK libraries in the command line, as
> the help page suggested) with no problem.
>
> Now, when I try to use it, I get the following error:
>
> ??? Invalid MEX-file 'D:\.....\ndfun.mexw32': The
> specified procedure could not be found.
>
> This is not an issue of version incompatibility, as I have
> just compiled it on this very system (hence a different
> issue from the one reported here:
>
www.mathworks.com/matlabcentral/newsreader/view_thread/153618 )
>
> Any ideas?
>
> -Tom
Subject: Re: MEX 'specified procedure could not be found' in 2007b
"Martti " <martti@nospam.sophilos.com> wrote in message
<fimanu$ahb$1@fred.mathworks.com>...
> Hi Tom,
>
> I suggest you try DependencyWalker, it's a free tool you can
> use to find out if there's some libraries missing. It can be
> downloaded from
> http://dependencywalker.com/
> Just open your *.mexw32 with the tool and check what's
missing.
>
> Regards,
> Martti
>
>
> "Erez " <tom.erez.no@spam.gmail.com> wrote in message
> <ff2hh0$d6n$1@fred.mathworks.com>...
> > Hello,
> >
> > I am a user of the "ndfun" function, created by Peter
> > Boettcher to enable matrix operations on n-dimensional
arrays.
> >
> > After switching to 2007b, I re-compiled it from the C code
> > (with the BLAS and LAPACK libraries in the command line, as
> > the help page suggested) with no problem.
> >
> > Now, when I try to use it, I get the following error:
> >
> > ??? Invalid MEX-file 'D:\.....\ndfun.mexw32': The
> > specified procedure could not be found.
> >
> > This is not an issue of version incompatibility, as I have
> > just compiled it on this very system (hence a different
> > issue from the one reported here:
> >
>
www.mathworks.com/matlabcentral/newsreader/view_thread/153618 )
> >
> > Any ideas?
> >
> > -Tom
>
A CHOLMOD user just emailed me with the same problem - not
with ndfun but with CHOLMOD. Curious ... seems that it
might not be related to NDFUN or CHOLMOD but to a compiler
issue.
Tim Davis
Subject: Re: MEX 'specified procedure could not be found' in 2007b
"Tim Davis" <davis@cise.ufl.edu> wrote in message
<finkcm$fec$1@fred.mathworks.com>...
> "Martti " <martti@nospam.sophilos.com> wrote in message
> <fimanu$ahb$1@fred.mathworks.com>...
> > Hi Tom,
> >
> > I suggest you try DependencyWalker, it's a free tool
you can
> > use to find out if there's some libraries missing. It
can be
> > downloaded from
> > http://dependencywalker.com/
> > Just open your *.mexw32 with the tool and check what's
> missing.
> >
> > Regards,
> > Martti
> >
> >
> > "Erez " <tom.erez.no@spam.gmail.com> wrote in message
> > <ff2hh0$d6n$1@fred.mathworks.com>...
> > > Hello,
> > >
> > > I am a user of the "ndfun" function, created by Peter
> > > Boettcher to enable matrix operations on n-dimensional
> arrays.
> > >
> > > After switching to 2007b, I re-compiled it from the C
code
> > > (with the BLAS and LAPACK libraries in the command
line, as
> > > the help page suggested) with no problem.
> > >
> > > Now, when I try to use it, I get the following error:
> > >
> > > ??? Invalid MEX-file 'D:\.....\ndfun.mexw32': The
> > > specified procedure could not be found.
> > >
> > > This is not an issue of version incompatibility, as I
have
> > > just compiled it on this very system (hence a
different
> > > issue from the one reported here:
> > >
> >
>
www.mathworks.com/matlabcentral/newsreader/view_thread/15361
8 )
> > >
> > > Any ideas?
> > >
> > > -Tom
> >
>
>
> A CHOLMOD user just emailed me with the same problem - not
> with ndfun but with CHOLMOD. Curious ... seems that it
> might not be related to NDFUN or CHOLMOD but to a compiler
> issue.
>
> Tim Davis
With 2007b lcc compiler, to me it seems to be impossible to
get both LAPACK and BLAS linked to the mex dll. In my
system, only the library mentioned first when calling mex
gets linked. That behaviour is only when using lcc.
Martti
Subject: Re: MEX 'specified procedure could not be found' in 2007b
"Tim Davis" <davis@cise.ufl.edu> wrote in message
<finkcm$fec$1@fred.mathworks.com>...
> "Martti " <martti@nospam.sophilos.com> wrote in message
> <fimanu$ahb$1@fred.mathworks.com>...
> > Hi Tom,
> >
> > I suggest you try DependencyWalker, it's a free tool you can
> > use to find out if there's some libraries missing. It can be
> > downloaded from
> > http://dependencywalker.com/
> > Just open your *.mexw32 with the tool and check what's
> missing.
> >
> > Regards,
> > Martti
> >
> >
> > "Erez " <tom.erez.no@spam.gmail.com> wrote in message
> > <ff2hh0$d6n$1@fred.mathworks.com>...
> > > Hello,
> > >
> > > I am a user of the "ndfun" function, created by Peter
> > > Boettcher to enable matrix operations on n-dimensional
> arrays.
> > >
> > > After switching to 2007b, I re-compiled it from the C code
> > > (with the BLAS and LAPACK libraries in the command
line, as
> > > the help page suggested) with no problem.
> > >
> > > Now, when I try to use it, I get the following error:
> > >
> > > ??? Invalid MEX-file 'D:\.....\ndfun.mexw32': The
> > > specified procedure could not be found.
> > >
> > > This is not an issue of version incompatibility, as I have
> > > just compiled it on this very system (hence a different
> > > issue from the one reported here:
> > >
> >
>
www.mathworks.com/matlabcentral/newsreader/view_thread/153618 )
> > >
> > > Any ideas?
> > >
> > > -Tom
> >
>
>
> A CHOLMOD user just emailed me with the same problem - not
> with ndfun but with CHOLMOD. Curious ... seems that it
> might not be related to NDFUN or CHOLMOD but to a compiler
> issue.
>
> Tim Davis
Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central. Read the complete Disclaimer prior to use.