필터 지우기
필터 지우기

mex and compilation with pgifortran

조회 수: 1 (최근 30일)
martin
martin 2015년 8월 7일
답변: Varun Bhaskar 2015년 8월 10일
I have ported Fortran90 functions that I used to compile with mex (using gfortran as F90-compiler) to CUDA-Fortran code with the intention to compile it with mex, editing the engopts.sh to use pgifortran instead. However this causes problems of the kind "undefined reference to MAIN_" and "undefined reference to mexerrmsgtxt_'. When I Google, I find some mostly older posts about this problem but its not clear whether the issues are resolved. My question is if there exists a (publically available) engopts.sh sample which allows for pgi fortan90 compilation. I use Matlab R2015a, the intended fortran compiler being pgi/14.10 and the Linux distro being Scientific Linux 6 x86_64.
Cheers, Martin

채택된 답변

Varun Bhaskar
Varun Bhaskar 2015년 8월 10일
Hello,
The PGI Fortran compiler is currently not supported with MATLAB. I work at MathWorks and I will put forth the PGI Fortran compiler as a possible enhancement request to the appropriate product team to consider for future releases.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Fortran with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by