opencobra / cobratoolbox

The COnstraint-Based Reconstruction and Analysis Toolbox. Documentation:
https://opencobra.github.io/cobratoolbox
Other
251 stars 313 forks source link

fastFVA error #1664

Open AgustinPardo opened 3 years ago

AgustinPardo commented 3 years ago

Hello, I am trying to run "fastFVA" function of cobraToolBox using Matlab R2018b on Linux 18.

This is the model I am using: http://bigg.ucsd.edu/models/iEK1008.

I run this:

[v11, v12] = fastFVA(iEK1008)

I get this:

 > The exact version of CPLEX could not be determined
Error using fastFVA>checkFastFVAbin (line 746)
Official binaries are only available for CPLEX version 128. You have installed version . Please run: >> generateMexFastFVA() in
order to generate a new binary file.

Error in fastFVA (line 130)
checkFastFVAbin(cplexVersion);

Error in run_prom (line 41)
[v11, v12] = fastFVA(iEK1008);

Do you know what is happening and how to solve it?

Regards

I hereby confirm that I have:

(Note: You may replace [ ] with [X] to check the box)

almut-heinken commented 3 years ago

Hi @AgustinPardo Do you have IBM cplex installed?

yhbae6022 commented 2 years ago

Hi.

I also had a similar error when running AGREDA 1.0 using CPLEX 12.8 and Matlab 2018b on Ubuntu 20.04/Windows

I think this is due to a bug in fastFVA.m. In my opinition, because throwBinGenerationError will be false when an appropriate binary version of CPLEX is found in the above code, "if throwBinGenerationError" on line 758 of fastFVA.m should be "if ~throwBinGenerationError".

Regards, Young-Ho

rmtfleming commented 2 years ago

Hi Young-Ho, Ines Thiele has implemented a bugfix for fastFVA.m https://github.com/opencobra/cobratoolbox/tree/master/src/analysis/FVA/fastFVA/mex and generated a new binary for Windows. Subsequently, also Tim Hensen generated an additional new binary https://github.com/opencobra/COBRA.binary/tree/master/win64/bin/fastFVA Unfortunately, the new binary for Cplex 12.8 on Windows has not yet been generated, but if you follow Ines' guide https://github.com/opencobra/cobratoolbox/blob/master/src/analysis/FVA/fastFVA/mex/README.txt you could do a bit for the community by generating them and making a PR to COBRA.binary. Use testFastFVA to check it works correctly. Regards, Ronan

On Wed, 22 Dec 2021 at 09:04, yhbae6022 @.***> wrote:

Hi.

I also had a similar error when running AGREDA 1.0 using CPLEX 12.8 and Matlab 2018b on Ubuntu 20.04/Windows

I think this is due to a bug in fastFVA.m. In my opinition, because throwBinGenerationError will be false when an appropriate binary version of CPLEX is found in the above code, "if throwBinGenerationError" on line 758 of fastFVA.m should be "if ~throwBinGenerationError".

Regards, Young-Ho

— Reply to this email directly, view it on GitHub https://github.com/opencobra/cobratoolbox/issues/1664#issuecomment-999405412, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQMEORTPFCJFXWFTBOAWATUSGIARANCNFSM4TQVSKGA . 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.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

Mr. Ronan MT Fleming B.V.M.S. Dip. Math. Ph.D.

Associate Professor, School of Medicine, National University of Ireland, Galway. & Assistant Professor, Division of Systems Biomedicine and Pharmacology, Leiden Academic Centre for Drug Research, Faculty of Science, Leiden University. https://www.universiteitleiden.nl/en/staffmembers/ronan-fleming & H2020 Project Coordinator, Systems Medicine of Mitochondrial Parkinson’s Disease, http://sysmedpd.eu

Peer-reviewed publications: https://goo.gl/FZPG23 Mobile: +353 852 109 806 Skype: ronan.fleming

(This message is confidential and may contain privileged information. It is intended for the named recipient only. If you receive it in error please notify me and permanently delete the original message and any copies.)