Rank: 5126 based on 2 downloads (last 30 days) and 1 file submitted
photo

Leslie Foster

E-mail
Company/University
San Jose State University

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Leslie
Updated   File Tags Downloads
(last 30 days)
Comments Rating
04 Jun 2009 MEXING WITH IFORT 11.0 IN 64 BIT MATLAB FOR 64 BIT MATLAB IN WINDOWS MEXING WITH MATLAB 7.6 - 7.8 AND IFORT 11.0 Author: Leslie Foster external interfaces, mex, mex setup, mexing, ifort, fortran 2 1
Comments and Ratings by Leslie
Updated File Comments Rating
25 Jan 2011 MEXING WITH IFORT 11.0 IN 64 BIT MATLAB FOR 64 BIT MATLAB IN WINDOWS MEXING WITH MATLAB 7.6 - 7.8 AND IFORT 11.0 Author: Leslie Foster

As pointed out in
http://www.mathworks.com/matlabcentral/newsreader/view_thread/283589

the type of nlhs and nrhs in Matlab's mexFunction should be int*4, even on a 64 bit computer. This means that changes are required in lupp.F and luppf.F. Line 38 of lupp.F should be changed to
      INTEGER*4 NLHS, NRHS
and line 25 of luppf.F should be changed to
      integer m,n,lda,ldl,ldu,ldp
      integer*4 nlhs
The original code worked in Matlab 7.8 but the correction is required for Matlab 7.9.

Also for lupp_mex.m to work with Matlab 7.9 (or greater, I presume, but have not tested) in lupp_mex.m the three occurrences of
version_num == 7.8
should be changed to
version_num >= 7.8).

Les Foster

Comments and Ratings on Leslie's Files
Updated File Comment by Comments Rating
25 Jan 2011 MEXING WITH IFORT 11.0 IN 64 BIT MATLAB FOR 64 BIT MATLAB IN WINDOWS MEXING WITH MATLAB 7.6 - 7.8 AND IFORT 11.0 Author: Leslie Foster Foster, Leslie

As pointed out in
http://www.mathworks.com/matlabcentral/newsreader/view_thread/283589

the type of nlhs and nrhs in Matlab's mexFunction should be int*4, even on a 64 bit computer. This means that changes are required in lupp.F and luppf.F. Line 38 of lupp.F should be changed to
      INTEGER*4 NLHS, NRHS
and line 25 of luppf.F should be changed to
      integer m,n,lda,ldl,ldu,ldp
      integer*4 nlhs
The original code worked in Matlab 7.8 but the correction is required for Matlab 7.9.

Also for lupp_mex.m to work with Matlab 7.9 (or greater, I presume, but have not tested) in lupp_mex.m the three occurrences of
version_num == 7.8
should be changed to
version_num >= 7.8).

Les Foster

Top Tags Applied by Leslie
blas, external interfaces, fortran, ifort, lapack
Files Tagged by Leslie
Updated   File Tags Downloads
(last 30 days)
Comments Rating
04 Jun 2009 MEXING WITH IFORT 11.0 IN 64 BIT MATLAB FOR 64 BIT MATLAB IN WINDOWS MEXING WITH MATLAB 7.6 - 7.8 AND IFORT 11.0 Author: Leslie Foster external interfaces, mex, mex setup, mexing, ifort, fortran 2 1

Contact us at files@mathworks.com