[Eeglablist] AMICA errors on Win 11
Grace Harvie
ghar8070 at uni.sydney.edu.au
Tue Sep 15 21:37:37 PDT 2026
Hi All,
I'm struggling to get AMICA running on Windows 11. I managed to run it successfully once, yesterday, by moving my eeg.set file off OneDrive (which contained spaces in the file path) and onto my local storage. However, I have been unable to replicate this success with subsequent attempts.
Currently, the following error is returned when attempting to execute AMICA through "Run AMICA" in the EEGLAB GUI:
> Error using fwrite
> Invalid file identifier. Use fopen to generate a valid file identifier.
>
> Error in runamica15 (line 756)
> fwrite(fid, dat, 'float');
> ^^^^^^^^^^^^^^^^^^^^^^^^^
> Error in pop_runamica (line 341)
> [W,S,mods] = runamica15(EEG.data(:,:),arglist{:});
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Error while evaluating Menu Callback.
I receive the same error when attempting to run AMICA through standard EEGLAB ICA menu, also.
I have been through many of the EEGLABlist messages pertaining to AMICA errors, implemented many of the suggestions, with only very modest success.
System and software specifications:
Windows 11 (64 bit), AMD Ryzen 5 5600X
MATLAB R2024b, EEGLAB v2026.1.0, AMICA v1.7
MPICH2 v1.4 installed, copies of fmpich2.dll and libiomp5md.dll in both /eeglab/plugins/amica1.7 and /Windows/System32 (instructions on where these binary files should be seemed to vary).
Since installing MPICH2 and copying binary files to /amica1.7 and /System32, I have been able to successfully run AMICA in PowerShell by executing .\amica15mkl.exe amicadefs.param. However, I still cannot run AMICA in EEGLAB (on Windows).
Based on some comments on the mailing list about how AMICA doesn't like to run on Windows, I installed MATLAB/EEGLAB on an old laptop running Linux Mint and managed to run AMICA first time without any issues. It also runs perfectly with subsequent attempts. However, the laptop's hardware leaves much to be desired (Intel Core i5-4200U, 8GB RAM, with the AMICA decomposition taking 7min 48s compared to 3min 40s on my Win 11 desktop).
The thing that baffles me about this is the fact that AMICA did run perfectly on Windows once, before installing MPICH2.
Any advice on how to get AMICA to consistently run on Windows would be immensely appreciated.
Failing that, I might have to install Ubuntu on a partition or possibly run it off external media.
Many thanks,
Grace Harvie
PhD Candidate, Faculty of Medicine and Health, University of Sydney
Research Assistant, Brain Dynamics Centre
[The Westmead Institute For Medical Research Logo] [The University of Sydney Logo]
[cid:ca29c7a6-3485-42de-b693-5862e530a67e]
176 Hawkesbury Road | PO Box 412 | Westmead NSW 2145 Australia
ghar8070 at uni.sydney.edu.au
westmeadinstitute.org.au<https://urldefense.com/v3/__https://www.westmeadinstitute.org.au/__;!!Mih3wA!FFJGCGMKvNHm_mbWIHnMg6axaTHimhRUvmjOMnql5cIEzlrRmrSZtGrtN2OFQKZl1d237eju3omZRaRXiDPO4LPWeXKt0doo$ > | Follow us on Facebook<https://urldefense.com/v3/__https://www.facebook.com/TheWestmeadInstitute/__;!!Mih3wA!FFJGCGMKvNHm_mbWIHnMg6axaTHimhRUvmjOMnql5cIEzlrRmrSZtGrtN2OFQKZl1d237eju3omZRaRXiDPO4LPWeeNeZW0-$ > | Watch us on YouTube<https://urldefense.com/v3/__http://tinyurl.com/WIMRYoutube__;!!Mih3wA!FFJGCGMKvNHm_mbWIHnMg6axaTHimhRUvmjOMnql5cIEzlrRmrSZtGrtN2OFQKZl1d237eju3omZRaRXiDPO4LPWeQlNdIks$ >
This email is private and confidential to the intended recipient. If you are not the intended recipient, please do not copy it, circulate it or take any action in reliance on it. Kindly notify me that it has been misdirected and then delete it. Thank you.
More information about the eeglablist
mailing list