Platform: Mac OS X 10.8.4, Intel Core i7 2.90GHz
Matlab version: Matlab 2013a (64-bit)
Compiler: GNU gfortran 4.3
Note that the glmnet Fortran source file uses real to define real variables and functions. On 64-bit systems, compiler options should be used to specify default kind for real declarations, constants, functions and intrinsics. We use
mex FFLAGS='-fdefault-real-8 -ffixed-form' glmnetMex.F GLMnet.f
to make the default 8 bytes long.