Lapack is disabled on 64-bit Macs due to the following guard in
'math/lapack.ijs' (added in r4400):

  if. IF64 > UNAME-: 'Linux' do.
    '64-bit not supported' 13!:8[10
  end.

This signal is overly general as the OS X VecLib framework provides a
64-bit implementation. Since the 64-bit check is only relevant on
Windows, here's a possible fix:

  3 : 0''
  if. UNAME-:'Linux' do.
    if. IF64 do.
      dll=: '"',path,'lapack64.so" '
    else.
      dll=: '"',path,'lapack.so" '
    end.
  elseif. UNAME-:'Darwin' do.
    dll=: '/System/Library/Frameworks/vecLib.framework/vecLib '
  elseif. UNAME-:'Win' do.
    if. IF64 do.
      '64-bit not supported' 13!:8[10
    end.
    dll=: '"',path,'jlapack.dll" '
  elseif. do.
    'platform not supported' 13!:8[10
  end.
  ''
  )

Best,
Marc
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to