mex setup gfortran mac osX

1 vue (au cours des 30 derniers jours)
surya
surya le 2 Juin 2016
Commenté : Kyle Miller le 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'.
  2 commentaires
Walter Roberson
Walter Roberson le 3 Juin 2016
Kyle Miller
Kyle Miller le 6 Sep 2016
I'm having this same problem. Any answers?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Fortran with MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by