It seems that some time ago in j601, LBFGS was included in the J tree (http://code.jsoftware.com/wiki/JAL/j601), but is now no longer included. So I've been trying to get it back and functional on Windows again, with no success. Here's what I've tried:
Download L-BFGS Fortran source code: https://github.com/lawrennd/ndlutil/blob/master/src/lbfgs.f Compile Fortran code: gfortran -c lbfgs.f Compile to DLL: gfortran -shared -o lbfgs.dll lbfgs.o Copy DLL to J directory: C:\Program Files\j64-805\bin The file appears to exist to J: fexist 'lbfgs.dll' 1 However, this does not work (although it should, as it's taken from prior examples): 'lbfgs.dll lbfgs_ + i * * * * * * * * * * * *' cd (100;5;(200$0);1;(200$0);0;(200$0);0 0;1e_5;1e_16;(200$0);0) |domain error: cd | 'lbfgs.dll lbfgs_ + i * * * * * * * * * * * *' cd(100;5;(200$0);1;(200$0);0;(200$0);0 0;1e_5;1e_16;(200$0);0) |[-0] cder'' 1 0 According to this (http://code.jsoftware.com/wiki/Guides/DLLs/Error_Messages) page, result 1 0 means "file not found". That doesn't seem right. I must be missing something. help? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
