Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

compiler

0 views
Skip to first unread message

PabloG Guerron

unread,
Feb 9, 2010, 6:35:21 PM2/9/10
to
Hi,

I have Intel Visual Fortran 10.1 with MS Visual Studio 8.0 . When I use mex -setup, my compiler does not show up. What can I do to fix this problem? Thanks

TideMan

unread,
Feb 9, 2010, 7:14:02 PM2/9/10
to
On Feb 10, 12:35 pm, "PabloG Guerron" <pablo_guer...@hotmail.com>
wrote:

> Hi,
>
> I have Intel Visual Fortran 10.1 with MS Visual Studio 8.0 . When I use mex -setup, my compiler does not show up. What can I do to fix this problem? Thanks

Why did you post this message a second time, 2 minutes after the
first?

On my version of Matlab, when I type mex -setup, it gives me the
option of locating an installed compiler or not. What happens when
you reply n to this question?
It should give you the opportunity to choose a compiler, then give you
the opportunity to enter its location.
So, if you're certain you have installed the compiler, you should be
able to find it.

James Tursa

unread,
Feb 9, 2010, 8:02:25 PM2/9/10
to
"PabloG Guerron" <pablo_...@hotmail.com> wrote in message <hksrfp$c7j$1...@fred.mathworks.com>...

> Hi,
>
> I have Intel Visual Fortran 10.1 with MS Visual Studio 8.0 . When I use mex -setup, my compiler does not show up. What can I do to fix this problem? Thanks

One option is to create your own mexopts files for your configuration. That would involve going into the bin\win32\mexopts directory and finding the intelf___ files that are there, copying them to new files with appropriate new names, and then editing them for your setup. e.g., make new files like this out of the old files:

intelf10msvs2008engmatopts.bat
intelf10msvs2008opts.bat
intelf10msvs2008opts.stp

and then edit them to change the 2005 to 2008, the previous intel version to 10, the compiler directory locations to match your actual locations, etc. Once you do this, it should show up in your mex -setup list.

James Tursa

0 new messages