|
Hi James,
So what is the alternative?
Try another version of Compiler? I will try your steps anyways.
Thanks,
Charan
James Tursa <aclassyguywithaknotac@hotmail.com> wrote in
message <ge8sm3hrssv9mch2gffgpq4cth3q8n5jio@4ax.com>...
> On Wed, 19 Dec 2007 07:52:10 GMT, James Tursa
> <aclassyguywithaknotac@hotmail.com> wrote:
>
> >On Tue, 18 Dec 2007 18:55:46 +0000 (UTC), "Charan "
> ><boyacharan@gmail.com> wrote:
> >>
> >>but the error which shows up now is
> >>
> >>//------------error-----------------------------------
> >>>> mex timestwo.f
> >>'link' is not recognized as an internal or external
command,
> >>operable program or batch file.
> >>
> >> C:\PROGRA~1\MATLAB\R2007B\BIN\MEX.PL: Error: Link of
> >>'timestwo.mexw32' failed.
> >>
> >>??? Error using ==> mex at 208
> >>Unable to complete successfully.
> >>
> >>------------------------------------------------
> >>
> >>We think this could be due to the compiler linker...
> >>We are using Intel Visual Fortran 10.1.011
> >>
> >>Thanks,
> >>Charan
> >
> >So it appears that you are fooling MATLAB into thinking
it is using
> >the Intel 9.0 compiler but really pointing it to the 10.1
directory.
> >That means it is still using the intelf90msvs2003opts.bat
file that is
> >specific to the 9.0 compiler, and probably other 9.0
specific files as
> >well. I can only wish you luck. I tried something like
this in the
> >past and never was successful. You could try copying the
following
> >files:
> >
> > intelf90msvs2003opts.bat
> > intelf90engmatopts.bat
> > intelf90opts.bat
> > intelf90opts.stp
> >
> > (or whatever specific 9.0 files that came with your
version)
> >
> >into new files:
> >
> > intelf101msvs2003opts.bat
> > intelf101engmatopts.bat
> > intelf101opts.bat
> > intelf101opts.stp
> >
> >and then hand editing them for the 10.1 specific
infomation that you
> >need. At least MATLAB will find your compiler with the
"mex -setup"
> >command. But like I said, I never got this approach to
work so I
> >can't really give you specifics as to how to modify the
files.
> >Particularly for the linker and linker options. Good luck ...
> >
> >James Tursa
>
>
> P.S. If you ever do get this to work I would be interested
in knowing
> how you did it.
>
> James Tursa
|