queso icon indicating copy to clipboard operation
queso copied to clipboard

Unable to install Queso Library on Ubuntu VM

Open Prem7Chand opened this issue 1 year ago • 5 comments

I have tried to clone the Queso Library from the link https://github.com/libqueso/queso.git on a ubuntu VM

Tried to configure it using cmake..

However, when I tried to configure it throws an error, that the file downloaded doesnt have CMakeLists.txt

Could you please help in sorting out the issue. Also Please let me know if there are any other ways to install queso library

Prem7Chand avatar Jul 19 '23 20:07 Prem7Chand

Queso doesn't use cmake; it uses autotools. https://github.com/libqueso/queso/#installation

roystgnr avatar Jul 19 '23 22:07 roystgnr

When I try to configure using that above process. I am getting the Epetra error

checking absolute name of <Trilinos_version.h>... checking for Trilinos_version.h... (cached) yes ///usr/local/include/Trilinos_version.h configure: adding automake macro support configure: creating aminclude.am checking for main in -lepetra... yes checking Epetra_Vector.h usability... yes checking Epetra_Vector.h presence... yes checking for Epetra_Vector.h... yes checking for file ///usr/local/include/Makefile.export.Trilinos... yes checking for file ///usr/local/include/Makefile.export.Epetra... no configure: WARNING: Could not find ///usr/local/include/Makefile.export.Epetra. Was Trilinos compiled with: -D Trilinos_ENABLE_Epetra:BOOL=ON?? configure: error: Could not find Epetra - which is required if Trilinos is enabled.

When I try to re-configure Trilinos & install queso I am getting the same error

Prem7Chand avatar Jul 24 '23 17:07 Prem7Chand

Is there a Makefile.export.Epetra installed? You might need a Trilinos configuration option to enable export Makefiles ... assuming Trilinos still has such an option? I don't think Queso has been tested with any recent versions of it.

roystgnr avatar Jul 27 '23 22:07 roystgnr

On the Trilinos versions installed, there is no makefile.export.epetra file installed, I have checked in the first and last versions but no luck. Is ther any other way we can get it done?

Prem7Chand avatar Jul 31 '23 16:07 Prem7Chand

RELEASE_NOTES on the latest Trilinos git head still mentions "the Makefile.export.* system", so it's at least still an option. If you want to rewrite trilinos.m4 here to make it more flexible, that'd be another option, but it'd probably be easier to use a custom build+install of EPetra rather than the Ubuntu package.

roystgnr avatar Jul 31 '23 19:07 roystgnr