<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:black;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Hi Jonas,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Thanks for searching out those DLLs, and sorry for the confusion—I have been unsure which if any DLLs were still necessary as I have been trying to compile as much into the binary statically as possible.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>I put links to fmpich2.dll and libiomp5md.dll on the amica website, and I changed runamica15.m to refer to loadmodout15.m and added a link for the latter to the website:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal style='text-indent:.5in'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><a href="http://sccn.ucsd.edu/~jason/amica_web.html">http://sccn.ucsd.edu/~jason/amica_web.html</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>I have tried to make the mac binary self-contained as well, though I haven’t heard back that it is working for others yet. So if anyone finds that the mac binary is still missing something, please let me know. As far as I know, the Ubuntu binary is working ok.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Jason<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> eeglablist-bounces@sccn.ucsd.edu [mailto:eeglablist-bounces@sccn.ucsd.edu] <b>On Behalf Of </b>Jonas Chatel-Goldman<br><b>Sent:</b> Monday, March 14, 2016 7:59 AM<br><b>To:</b> eeglablist@sccn.ucsd.edu<br><b>Subject:</b> [Eeglablist] Getting to run AMICA15 on windows 10 64bits - solving packaging problem with binary file<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><div><div><p class=MsoNormal><span style='font-size:9.5pt'>Hi all,</span><o:p></o:p></p><div><p class=MsoNormal><span style='font-size:9.5pt'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'>This is to share some work-around I went through when trying (and finally managing) to run AMICA on my setup (windows 10 64bits, Matlab R2015a). <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'><br>First I downloaded the latest version on Jason's website (<a href="http://sccn.ucsd.edu/~jason/amica_web.html" target="_blank">http://sccn.ucsd.edu/~jason/amica_web.html</a>) and tested the binary file 'amica15mkl.exe'. This failed outputing error that two lib files are missing: libiomp5md.dll and fmpich2.dll. <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'>Then I browsed the net and found Jason's GitHub (<a href="https://github.com/japalmer29/amica" target="_blank">https://github.com/japalmer29/amica</a>) with source code in Fortran. Jason gives some suggestions to compile it so as to create our own binary file... well, the least I can say is that for a naive user like me the whole process is not straightforward! It requires installing the costly Intel Fortran compiler. Though it exists in a free student version (<a href="https://software.intel.com/en-us/qualify-for-free-software/student" target="_blank">https://software.intel.com/en-us/qualify-for-free-software/student</a>), this is a huge software (>3Gb). Compiling the binary also requires installing mpich2 (<a href="http://www.mpich.org/downloads/" target="_blank">http://www.mpich.org/downloads/</a>), for which no simple windows installer is provided in the last versions.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'>I wondered if I could find a simpler approach? Instead of recompiling everything, I tried to simply get the two missing lib file. I could obtain a proper libiomp5md.dll on some library repository website after having downloaded a few corrupted ones. Regarding fmpich2.dll, browsing internet and mpich website I could find a .msi windows installer for an older mpich2 version (<a href="http://www.mpich.org/static/downloads/1.4/" target="_blank">http://www.mpich.org/static/downloads/1.4/</a>). Installing this is straightforward and provides fmpich2.dll. Finally, putting the two lib files in the same folder as amica binary and I could run everything smoothly!<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'>Voilà, I hope this can help future windows users. If needed, I can provide the lib files directly.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'>Few suggestions and remarks:<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'>- first of all big thanks for the hard work and dedication in providing and sharing code for these advanced signal processing tools!<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'>- available info and files regarding AMICA are scattered in multiple websites with different information. For instance, Jason's website has the latest version but lacks necessary file 'loadmodout12.m'; the Amica plugin is not available from download within EEGlab; only GitHub has all necessary files but without precompiled binaries; lib files necessary to run amica (at least on windows) are not provided anywhere. This makes it not so straightforward to get to run AMICA...<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'>cheers,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.5pt'><br clear=all><o:p></o:p></span></p><div><div><p class=MsoNormal><b><span style='font-size:9.5pt;color:#999999'>Jonas</span></b><span style='font-size:9.5pt'><o:p></o:p></span></p></div></div></div></div></div></div></div></div></body></html>