Clear Filters
Clear Filters

mex setup gfortran mac osX

1 view (last 30 days)
surya
surya on 2 Jun 2016
Commented: Kyle Miller on 6 Sep 2016
Gentlemen, I'm trying to run "mex -setup -v FORTRAN" and I get the following response. I have MATLAB 2015a and gfortran 6.1. Any help is appreciated.
... Looking for compiler 'gfortran' ...
... Looking for environment variable 'DEVELOPER_DIR' ...No.
... Executing command 'which gfortran' ...Yes ('/usr/local/gfortran/bin/gfortran').
... Looking for folder '/usr/local/gfortran/bin' ...Yes.
... Executing command 'which gfortran' ...Yes ('/usr/local/gfortran/bin/gfortran').
... Executing command '/usr/local/gfortran/bin/gfortran -print-file-name=libgfortran.dylib' ...Yes ('/usr/local/gfortran/lib/libgfortran.dylib').
... Looking for folder '/usr/local/gfortran/lib' ...Yes.
... Executing command 'which gfortran' ...Yes ('/usr/local/gfortran/bin/gfortran').
... Executing command '/usr/local/gfortran/bin/gfortran -print-file-name=libgfortranbegin.a' ...Yes ('libgfortranbegin.a').
... Looking for folder 'libgfortranbegin.a' ...No.
Did not find installed compiler 'gfortran'.
... Looking for compiler 'Intel Fortran' ...
... Looking for environment variable 'IFORT_COMPILER14' ...No.
... Looking for environment variable 'IFORT_COMPILER13' ...No.
... Executing command 'which ifort' ...No.
Did not find installed compiler 'Intel Fortran'.

Answers (0)

Categories

Find more on Fortran with MATLAB in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!