<div dir="ltr">Dear List,<div>I'm trying AMICA out for the first time, and I'm running into some problems. After downloading the mac64 binary and MATLAB functions from Jason's website, I tried passing a continuous, 128-channel dataset through the algorithm and got the error below. It looks like there is a Fortran error message that pops up from a failure to run the 'amica12mac64' binary.  </div>

<div><br></div><div>I'm currently using EEGLAB 12.0.2.1b within Matlab 2013a on OSX (10.8.4). I've tried using both the GUI and command line methods to see if they work, both fail. The GUI just hangs, but I do get an error at the command line referencing that it can't access the "<span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.046875px">libiomp5.dylib"</span><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.046875px"> library. Perhaps this library changed in the recent releases of OSX. I did a quick google search, and it looks like this library has something to do with Fortran and Intel, which corroborates the error message below. The </span><font color="#000000" face="sans-serif"><span style="line-height:19.046875px"><a href="http://sccn.ucsd.edu/wiki/Amica_Download">http://sccn.ucsd.edu/wiki/Amica_Download</a> page mentions moving this library into the directory the binary is run from, but I can't find the library for some reason.</span></font></div>
<div><font color="#000000" face="sans-serif"><span style="line-height:19.046875px"><br></span></font></div><div style><font color="#000000" face="sans-serif"><span style="line-height:19.046875px">I'm going to find a Win7 machine to try these scripts on this afternoon, but I wanted to drop a note here to see if anyone else may have run into this same issue.  </span></font></div>
<div style><font color="#000000" face="sans-serif"><span style="line-height:19.046875px"><br></span></font></div><div style><font color="#000000" face="sans-serif"><span style="line-height:19.046875px">Thanks,</span></font></div>
<div style><font color="#000000" face="sans-serif"><span style="line-height:19.046875px">Jake</span></font></div><div style><br></div><div>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</div><div><br></div><div><div>/bin/sh: qconf: command not found</div>

<div>/bin/sh: qconf: command not found</div><div>/bin/sh: qconf: command not found</div><div>No recognized parallel environment found. Run qconf -spl to get a list of available environments and use keyword use_pe.</div><div>

Running locally with maximum of 4 threads.</div><div>Writing data file: /Users/ande2523/Documents/MATLAB/amica/tmpdata12699.fdt</div><div>mkdir: /Users/ande2523/Documents/MATLAB/amica/amicaouttmp/: File exists</div><div>
           1 processor name = </div>
<div>           1 host_num =   1917549169</div><div> This is MPI process           1 of           1 ; I am process           1 of</div><div>           1 on node: xxxxx</div>
<div>           1  : node root process           1 of           1</div><div>Processing arguments ...</div><div> num_files =            1</div><div> FILES: </div><div> /Users/ande2523/Documents/MATLAB/amica/tmpdata12699.fdt</div>

<div> num_dir_files =            1</div><div> matrix block_size =          256</div><div> number of models =            1</div><div> number of density mixture components =            3</div><div> pdf type =            0</div>

<div> max_iter =         2000</div><div> num_samples =            1</div><div> data_dim =          128</div><div> field_dim =       459165</div><div> do_history =            0</div><div> histstep =           10</div><div>

 share_comps =            0</div><div> share_start =          100</div><div> comp_thresh =   0.990000000000000     </div><div> share_int =          100</div><div> initial lrate =   5.000000000000000E-002</div><div> minimum lrate =   1.000000000000000E-008</div>

<div> lrate factor =   0.500000000000000     </div><div> initial rholrate =   5.000000000000000E-002</div><div> rho0 =    1.50000000000000     </div><div> min rho =    1.00000000000000     </div><div> max rho =    2.00000000000000     </div>

<div> rho lrate factor =   0.500000000000000     </div><div> kurt_start =            3</div><div> num kurt =            5</div><div> kurt interval =            1</div><div> do_newton =            1</div><div> newt_start =           50</div>

<div> newt_ramp =           10</div><div> initial newton lrate =    1.00000000000000     </div><div> do_reject =            0</div><div> num reject =            3</div><div> reject sigma =    3.00000000000000     </div><div>

 reject start =            2</div><div> reject interval =            3</div><div> max_thrds =            2</div><div> write step =           10</div><div> write_nd =            0</div><div> write_LLt =            1</div>
<div>
 dec window =            1</div><div> max_decs =            3</div><div> fix_init =            0</div><div> update_A =            1</div><div> update_c =            1</div><div> update_gm =            1</div><div> update_alpha =            1</div>

<div> update_mu =            1</div><div> update_beta =            1</div><div> invsigmax =    100.000000000000     </div><div> invsigmin =   0.000000000000000E+000</div><div> do_rho =            1</div><div> load_rej =            0</div>

<div> load_c =            0</div><div> load_gm =            0</div><div> load_alpha =            0</div><div> load_mu =            0</div><div> load_beta =            0</div><div> load_rho =            0</div><div> load_comp_list =            0</div>

<div> do_mean =            1</div><div> do_sphere =            1</div><div> doPCA =            1</div><div> pcakeep =          128</div><div> pcadb =    30.0000000000000     </div><div> byte_size =            4</div><div>

 doscaling =            1</div><div> scalestep =            1</div><div>mkdir: /Users/ande2523/Documents/MATLAB/amica/amicaouttmp/: File exists</div><div> output directory = /Users/ande2523/Documents/MATLAB/amica/amicaouttmp/</div>

<div>           1 : setting num_thrds to            2  ...</div><div>           1 : using           2 threads.</div><div>           1 : node_thrds =            2</div><div> getting segment list ...</div><div> blocks in sample =       459165</div>

<div> total blocks =       459165</div><div> node blocks =       459165</div><div> node            1  start: file            1  sample            1  index </div><div>           1</div><div> node            1  stop : file            1  sample            1  index </div>

<div>      459165</div><div>forrtl: severe (36): attempt to access non-existent record, unit 8, file /Users/ande2523/Documents/MATLAB/amica/tmpdata12699.fdt</div><div>Image              PC        Routine            Line        Source             </div>

<div>amica12mac64       0039A6C8  Unknown               Unknown  Unknown</div><div>amica12mac64       003990A9  Unknown               Unknown  Unknown</div><div>amica12mac64       0037099F  Unknown               Unknown  Unknown</div>

<div>amica12mac64       00336294  Unknown               Unknown  Unknown</div><div>amica12mac64       00335967  Unknown               Unknown  Unknown</div><div>amica12mac64       0034CB44  Unknown               Unknown  Unknown</div>

<div>amica12mac64       0034B413  Unknown               Unknown  Unknown</div><div>amica12mac64       00229E34  Unknown               Unknown  Unknown</div><div>amica12mac64       001FC4D2  Unknown               Unknown  Unknown</div>

<div>amica12mac64       0000218D  Unknown               Unknown  Unknown</div><div>amica12mac64       00002145  Unknown               Unknown  Unknown</div><div>Unknown            00000002  Unknown               Unknown  Unknown</div>

<div>No gm present, setting num_models to 1</div><div>No W present, exiting</div><div>Reference to non-existent field 'W'.</div><div><br></div><div>Error in runamica12 (line 854)</div><div>    weights = mods.W(:,:,1);</div>

<div><br></div><div>Error in amica_test (line 3)</div><div>[ EEG.icaweights, EEG.icasphere, mods ] = runamica12(EEG.data(:,:));</div></div><div><br></div><div><br></div><div><br><div><br></div><div><br></div><div>
<br></div>-- <br>
<div dir="ltr">*************************************************<br>Jacob E. Anderson, MA<br>

Doctoral Student<br>
Institute of Child Development<br>51 East River Rd.<br>Minneapolis, MN  55455<br><br>E-mail: <a href="mailto:jea@umn.edu" target="_blank">jea@umn.edu</a><br>Web: <a href="http://www.cehd.umn.edu/icd/people/gradstudents/andersonJ.html" target="_blank">Click Here</a><br>





</div>
</div></div>