cobratoolbox icon indicating copy to clipboard operation
cobratoolbox copied to clipboard

fastFVA error

Open AgustinPardo opened this issue 3 years ago • 3 comments

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:

  • [x] Tried to solve the issue on my own
  • [x] Retried to run my code with the latest version of The COBRA Toolbox
  • [x] Checked that a similar issue has not already been opened

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

AgustinPardo avatar Nov 10 '20 13:11 AgustinPardo

Hi @AgustinPardo Do you have IBM cplex installed?

almut-heinken avatar Feb 02 '21 16:02 almut-heinken

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

yhbae6022 avatar Dec 22 '21 09:12 yhbae6022

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.)

rmtfleming avatar Dec 23 '21 13:12 rmtfleming