sccn / amica

Code for AMICA: Adaptive Mixture ICA with shared components
BSD 2-Clause "Simplified" License
23 stars 13 forks source link

Issue with mpich #28

Open nateriek opened 3 years ago

nateriek commented 3 years ago

Hi Dr. Palmer,

I installed AMICA 1.5.1 using the eeglab plugin manager in MATLAB 2019b. When I run the pop_runamica() function from the eeglab gui I am prompted with the image below to install mpich, which I already installed. Once I finish, I am left with the following command window output:

No datfile field found in EEG structure. Will write temp file. Writing data file: C:\Users\nater\OneDrive\Documents\College\Research\eeglab2021.0\tmpdata63236.fdt A subdirectory or file C:\Users\nater\OneDrive\Documents\College\Research\eeglab2021.0\processedData\clean\amicaout\ already exists. No gm present, setting num_models to 1 No W present, exiting Reference to non-existent field 'W'. Error in runamica15 (line 892) weights = mods.W(:,:,1); Error in pop_runamica (line 242) [W,S,mods] = runamica15(EEG.data(:,:),arglist{:}); Error while evaluating Menu Callback.

image

Thanks in advance, Nate Riek

CorentinWicht commented 3 years ago

Same problem here with MATLAB 2019b, while AMICA 1.5.1 used to work fine before...

What is intriguing is that even if MPICH 2.1.4 is already installed, AMICA's warning pops up every time I run the command.

campusge commented 3 years ago

Not sure if it is exactly the same issue but possibly a similar situation. I tried to run amica15mkl.exe or amica from the EEGLab GUI, same problem: it requires to install mpich2-1.4-win-x86-64.msi which seems to require an old version of .net framework. However, it seems that it is not possible to install an old version of .net framework on win10 that has a built in newer version. So apparently the dependency of mpich2-1.4-win-x86-64.msi cannot be satisfied and therefore amica cannot run. I'm running EEGLab 2020.0 on, Matlab 2019b, windows 10 64 bit. Thank you very much for any suggestion! best!

japalmer29 commented 3 years ago

I don't think the problem was actually mpich. The code was changed to give this error when it crashed for any reason, assuming it was an mpich problem.

I think it was actually a binary incompatibility with newer cpus in PCs. I recompiled on a new laptop, and the new binary can be downloaded from EEGLAB plugins. I removed the error and msi recommendation.

Hopefully the new binary will fix most issues of not running on windows.

Best, Jason

On Mon, Aug 16, 2021, 4:24 PM campusge @.***> wrote:

Not sure if it is exactly the same issue but possibly a similar situation. I tried to run amica15mkl.exe or amica from the EEGLab GUI, same problem: it requires to install mpich2-1.4-win-x86-64.msi which seems to require an old version of .net framework. However, it seems that it is not possible to install an old version of .net framework on win10 that has a built in newer version. So apparently the dependency of mpich2-1.4-win-x86-64.msi cannot be satisfied and therefore amica cannot run. I'm running EEGLab 2020.0 on, Matlab 2019b, windows 10 64 bit. Thank you very much for any suggestion! best!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/japalmer29/amica/issues/28#issuecomment-899285468, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRBESSQX3GPGNASZIFYMJDT5C4LXANCNFSM45N5GEJQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

campusge commented 3 years ago

Thank you very much Jason, I tried to update AMICA plugin and tried again with AMICA 1.6 however again when I tried to run from EEGLab GUI it opens automatically a popup window saying "before running AMICA you need to install the MPI LIBRARY.... press ok to install the missing library now", then pressing ok it opens mpich2-1.4-win-x86-64.msi which has however the same unresolvable dependency. If I try to run directly amica15mkl.exe it gives me an error: "the operation was unable to start correctly (0xc000007b)" Thank you again for your help!

chris-hilton commented 3 years ago

Hi Jason, I am also having this issue, using windows and an 11th gen Intel CPU. I updated via EEGLAB plugin manager per above comment but no change. I am running MATLAB 2021a & EEGLAB 2021.1.

japalmer29 commented 2 years ago

Hi Chris,

There was an issue preventing the previous update from being applied.

There is a new update 1.6.1 which will hopefully work for newer pcs.

Best,

Jason

From: chris-hilton @. Sent: Monday, September 13, 2021 5:47 PM To: japalmer29/amica @.> Cc: Jason Palmer @.>; Comment @.> Subject: Re: [japalmer29/amica] Issue with mpich (#28)

Hi Jason, I am also having this issue, using windows and an 11th gen Intel CPU. I updated via EEGLAB plugin manager per above comment but no change. I am running MATLAB 2021a & EEGLAB 2021.1.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/japalmer29/amica/issues/28#issuecomment-917974334 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRBESV74MI5UDAXZGSARLDUBW3A7ANCNFSM45N5GEJQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . https://github.com/notifications/beacon/ACRBESVERYZHQOIIOS3VWN3UBW3A7A5CNFSM45N5GEJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOG23S2PQ.gif

japalmer29 commented 2 years ago

Hi, there is an update for Amica (1.6.1) which will hopefully resolve the issue. No need to download any mpi libraries.

Best,

Jason

From: campusge @. Sent: Tuesday, August 17, 2021 2:01 PM To: japalmer29/amica @.> Cc: Jason Palmer @.>; Comment @.> Subject: Re: [japalmer29/amica] Issue with mpich (#28)

Thank you very much Jason, I tried to update AMICA plugin and tried again with AMICA 1.6 however again when I tried to run from EEGLab GUI it opens automatically a popup window saying "before running AMICA you need to install the MPI LIBRARY.... press ok to install the missing library now", then pressing ok it opens mpich2-1.4-win-x86-64.msi which has however the same unresolvable dependency. If I try to run directly amica15mkl.exe it gives me an error: "the operation was unable to start correctly (0xc000007b)" Thank you again for your help!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/japalmer29/amica/issues/28#issuecomment-899994428 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRBESQPJF2TJGJVUND7FX3T5HUJ7ANCNFSM45N5GEJQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/ACRBESWG4FI4YGZ5ZPD3FXLT5HUJ7A5CNFSM45N5GEJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWSNGPA.gif