- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I'm looking forward to mex fortran code with ivf 9.0
in the matlab environment under windows 2000.
in the matlab environment under windows 2000.
So far ivf is not supported by mathworks.
I could get intelf8.1opts.bat online but it is
written for ivf8.1 version.
i need help to rewrite theintelf8.1opts.bat
so that matlab can work with ivf 9.0.
Can anyone send me intelf9.0.opts.bat to run
fortran mex code with intel visual fortran 9.1
in matlab
I could get intelf8.1opts.bat online but it is
written for ivf8.1 version.
i need help to rewrite theintelf8.1opts.bat
so that matlab can work with ivf 9.0.
Can anyone send me intelf9.0.opts.bat to run
fortran mex code with intel visual fortran 9.1
in matlab
or suggest what changes should i make in
intelf8.1opts.bat or df66opts.bat
intelf8.1opts.bat or df66opts.bat
Thanks
Sunnam
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There should be no difference between 8.1 and 9.0 in this regard.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve,
But when i try running the mex file,
i get this following error.
>> cd([matlabroot 'externexamplesmex'])
>> mex yprimef.f yprimefg.f
'link' is not recognized as an internal or external command,
operable program or batch file.
C:MATLAB6P5BINWIN32MEX.PL: Error: Link of 'yprimef.dll' failed.
??? Error using ==> mex
Unable to complete successfully
>> mex yprimef.f yprimefg.f
'link' is not recognized as an internal or external command,
operable program or batch file.
C:MATLAB6P5BINWIN32MEX.PL: Error: Link of 'yprimef.dll' failed.
??? Error using ==> mex
Unable to complete successfully
Can you help me in solving this problem
Thanks
Sunnam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to somehow make the environment variables defined by a "Fortran Build Environment for IA-32 Applications" command prompt available to the process that runs the mex file. I am not familiar with using mex files - it may be as simple as calling ifortvars.bat from a command file. Actually, it looks to me as if you're missing the defines from Visual C++. Running ifortvars.bat will take care of that - it's in Program FilesIntelFortran9.0IA32in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi , Sunnam
Can you send me a copy of intelf8.1opts.bat that you found online? I am also trying to write a intel9.0opts.bat.
You need to modify mexopts.bat and add a path to "PATH=" for"link" to be recognized. It is "
C:Program FilesMicrosoft Visual Studio .NET 2003Vc7Bin"
Thanks,
Liping

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page