[Eeglablist] AMICA - path error

Germano Gallicchio germano.gallicchio at gmail.com
Mon Sep 15 08:50:02 PDT 2014


Dear Jason,

thanks for your support.
Now AMICA works (under MATLAB and as a compiled version).

I replaced these dlls:
libiomp5md
fmpich2
msvcp100d
msvcr100d

All the best,
Germano


On 15 September 2014 10:46, Jason Palmer <japalmer29 at gmail.com> wrote:

> Hi Germano,
>
> You might try the amica12win32.exe direct link under Matlab and EEGLAB on
> the amica_web page. I would delete the dlls you extracted, and if the new
> (or old) amica12win32.exe complains about missing dlls, try to find them on
> your system or on the web.
>
> -Jason
>
>
>
> *From:* Germano Gallicchio [mailto:germano.gallicchio at gmail.com]
> *Sent:* Monday, September 15, 2014 1:37 AM
> *To:* japalmer at ucsd.edu
> *Cc:* eeglablist at sccn.ucsd.edu
> *Subject:* Re: [Eeglablist] AMICA - path error
>
>
>
> Dear Jason,
>
> thanks for your answer.
> Yes, it did help - somehow the exe file was in a different folder (not in
> MATLAB path...).
> Unfortunately though, now that everything seems in the right place, the
> function calls the proper 32-bit file but shortly after a window pops up
> reporting that amica12win32.exe has stopped working. This is what MATLAB
> reports:
>
> >> EEG =
> pop_loadset('filename','sample.set','filepath','E:\\work\\golf_coherence\\');
> >> [ALLEEG, EEG, CURRENTSET] = eeg_store( ALLEEG, EEG, 0 );
> >> runamica12(EEG.data(:,:));
>
> pop_loadset(): loading file E:\\work\\golf_coherence\\sample.set ...
> Reading float file 'E:\\work\\golf_coherence\sample.fdt'...
> Creating a new ALLEEG dataset 1
> The system cannot find the path specified.
> The system cannot find the path specified.
> The system cannot find the path specified.
> No recognized parallel environment found. Run qconf -spl to get a list of
> available environments and use keyword use_pe.
> Running locally with maximum of 4 threads.
> Writing data file: C:\Users\germano\Documents\MATLAB\tmpdata9754.fdt
> A subdirectory or file C:\Users\germano\Documents\MATLAB\amicaouttmp\
> already exists.
> No gm present, setting num_models to 1
> No W present, exiting
> ??? Reference to non-existent field 'W'.
>
> Error in ==> runamica12 at 857
>     weights = mods.W(:,:,1);
>
>
> When running the compiled version (amica12win32.exe extracted from the
> zipped file at http://sccn.ucsd.edu/~jason/amica_web.html on my HD) I get
> an error message reporting:
>
> C:\...\AMICA\libiomp5md.dll is either not designed to run on Windows or it
> contains an error.
>
> I get the same dll error on Vista 32-bit, XP 32-bit and Windows 7 32-bit
> systems.
> Do you have any suggestions?
>
> Thanks for your time.
>
> Germano
>
>
>
>
>
>
> On 13 September 2014 02:07, Jason Palmer <japalmer29 at gmail.com> wrote:
>
> Hi Germano,
>
>
>
> It looks like the runamica12.m file is acting strangely … Near the top of
> the m-file, there should be a variable AMBIN defined, which should be
> ‘amica12win64.exe’ for win64 … it tries to query the environment to find
> out what kind of machine you are using, but this may be failing on your
> system for some reason. Probably the easiest thing to do is hard code the
> AMBIN variable to the name of the amica binary for your system, commenting
> out the machine query. AMBIN should be the name of the binary, e.g. AMBIN =
> ‘amica12win64.exe’, and it should be in the matlab path. If the binary is
> not in the matlab path, use the full path, e.g. (AMBIN =
> ‘E:\...\AMICA\amica12win64.exe’).
>
>
>
> Hope that helps.
>
> Best,
>
> Jason
>
>
>
> *From:* eeglablist-bounces at sccn.ucsd.edu [mailto:
> eeglablist-bounces at sccn.ucsd.edu] *On Behalf Of *Germano Gallicchio
> *Sent:* Friday, September 12, 2014 2:47 AM
> *To:* eeglablist at sccn.ucsd.edu
> *Subject:* [Eeglablist] AMICA - path error
>
>
>
> Dear eeglab users,
>
> I'm trying to use AMICA on MATLAB, but I seem to have problems with the
> path.
> I load the EEG structure into the workspace and I type:
>
>
> >> outdir = 'E:\work\golf_coherence\';
> >> runamica12('E:\work\golf_coherence\sample.fdt', 'num_chans',
> EEG.nbchan, 'outdir', outdir);
>
> The system cannot find the path specified.
> The system cannot find the path specified.
> The system cannot find the path specified.
> No recognized parallel environment found. Run qconf -spl to get a list of
> available environments and use keyword use_pe.
> Running locally with maximum of 4 threads.
> A subdirectory or file E:\work\golf_coherence\ already exists.
> ??? Undefined function or variable "AMBIN".
>
> Error in ==> runamica12 at 849
>     system([AMBIN ' ' outdir 'input.param']);
>
>
> 'sample.fdt' contains epoched data, which have been high-pass filtered
> above 1 Hz, with large artifacts being removed (pop_autorej()) and baseline
> set as the whole epoch. EEG.data size is 36, 2048, 60.
> All AMICA functions are in the folder C:\Users\germano\Documents\AMICA,
> which is in MATLAB's path.
> I use MATLAB 7.9.0.529 (R2009b) and EEGLAB v13.1.1 on Windows Vista Home
> Premium 32-bit.
>
> Thanks for your help!
>
> Germano
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20140915/e9e3885e/attachment.html>


More information about the eeglablist mailing list