Back to the main page.
Bug 1579 - CalcMD5 mex file is missing for most platforms
Status | CLOSED FIXED |
Reported | 2012-07-02 13:58:00 +0200 |
Modified | 2012-08-23 10:33:53 +0200 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | PC |
Operating System: | Mac OS |
Importance: | P3 normal |
Assigned to: | Robert Oostenveld |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Robert Oostenveld - 2012-07-02 13:58:31 +0200
at the moment it only exists for win32 and linux64. Since it is used in "ft_version update", it is important to get it compiled on all platforms.
Robert Oostenveld - 2012-07-02 14:00:43 +0200
I have just compiled it for 64 bit OS X. Furthermore, I have set the autosync property to true and added it to fieldtrip/private. svn propset autosync true CalcMD5.mexmaci64 svn propget autosync CalcMD5* svn copy CalcMD5.mexmaci64 ../private/ svn commit CalcMD5.* ../private/CalcMD5.m* Adding (bin) private/CalcMD5.mexmaci64 Adding (bin) src/CalcMD5.mexmaci64 Transmitting file data .. Committed revision 6176.
Robert Oostenveld - 2012-07-02 14:01:38 +0200
@jorn, could you compile it for win64?
Jörn M. Horschig - 2012-07-02 14:42:14 +0200
svn add CalcMD5.mexw64 svn propset autosync true CalcMD5.mexw64 svn copy CalcMD5.mexw64 ../private/ svn commit CalcMD5.* ../private/CalcMD5.m* -m "enhancement -#1579- compiled for w64" Adding (bin) private/CalcMD5.mexw64 Adding (bin) src/CalcMD5.mexw64 Transmitting file data .. Committed revision 6180.
Jörn M. Horschig - 2012-07-02 14:42:46 +0200
linux is still missing, right?
Robert Oostenveld - 2012-07-02 15:13:13 +0200
(In reply to comment #4) 32-bit linux is indeed still missing. I'll try to compile that on a virtual machine
Robert Oostenveld - 2012-07-02 16:15:00 +0200
matlab2008b is installed on mentat:/opt and seems to be useable on CentOS 6.2
Robert Oostenveld - 2012-07-02 16:28:59 +0200
(In reply to comment #6) nope, glnx86 is missing in roboos@mentat001> ls /opt/matlab2008b/extern/lib/ glnxa64 which means that mex fails.
Robert Oostenveld - 2012-07-02 16:46:13 +0200
after struggling with getting all required packages installed on centos62 (xpm, xp, gcc, gcc-g++), I managed to compile with gcc 4.4.6 and matlab2007b. roboos@mentat001> svn commit CalcMD5.* ../private/CalcMD5.m* Adding (bin) private/CalcMD5.mexglx Adding (bin) src/CalcMD5.mexglx Transmitting file data .. Committed revision 6188.
Robert Oostenveld - 2012-07-02 16:52:23 +0200
(In reply to comment #8) ft_compile_mex also compiled another bunch of mex files which were apparently missing on glnx86. I have added them to svn (in the fieldtrip/src directory) and set autosync=true. roboos@mentat001> svn commit *.mexglx Adding (bin) det2x2.mexglx Sending ft_getopt.mexglx Adding (bin) ft_spike_sub_crossx.mexglx Adding (bin) getpid.mexglx Adding (bin) inv2x2.mexglx Adding (bin) mtimes2x2.mexglx Adding (bin) nanmean.mexglx Adding (bin) nanstd.mexglx Adding (bin) nansum.mexglx Adding (bin) nanvar.mexglx Adding (bin) rename.mexglx Adding (bin) sandwich2x2.mexglx Transmitting file data ............ Committed revision 6189. I have not yet svn copied them to the final destination.
Robert Oostenveld - 2012-07-02 16:54:17 +0200
(In reply to comment #9) and some more... roboos@mentat001> svn commit fileio/@uint64/abs.mexglx @config/private/*.mexglx Sending @config/private/deepcopy.mexglx Sending @config/private/increment.mexglx Sending @config/private/setzero.mexglx Adding (bin) fileio/@uint64/abs.mexglx Transmitting file data .... Committed revision 6191.
Robert Oostenveld - 2012-07-02 16:55:43 +0200
CalcMD5.mexmaci is still missing, but I don't know an easy way of compiling it. I'll leave it at this for now.