Coder Social home page Coder Social logo

Comments (3)

connorjward avatar connorjward commented on July 25, 2024

The log is is failing to build libsupermesh because of the cmake version:

2024-03-18 17:51:25,394 DEBUG  Running command 'cmake .. -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/home/henriqueaquino/firedrake -DMPI_C_COMPILER=/home/henriqueaquino/firedrake/src/petsc/default/bin/mpicc -DMPI_CXX_COMPILER=/home/henriqueaquino/firedrake/src/petsc/default/bin/mpicxx -DMPI_Fortran_COMPILER=/home/henriqueaquino/firedrake/src/petsc/default/bin/mpif90 -DCMAKE_Fortran_COMPILER=/home/henriqueaquino/firedrake/src/petsc/default/bin/mpif90 -DMPIEXEC_EXECUTABLE=/home/henriqueaquino/firedrake/src/petsc/default/bin/mpiexec'
2024-03-18 17:51:25,406 DEBUG  CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  CMake 3.18 or higher is required.  You are running version 3.16.3


-- Configuring incomplete, errors occurred!

Is this the most recent log file? Because if so your efforts to use a more recent version of cmake have not worked.

Having just checked we always install cmake for linux platforms by default. Could you try running firedrake-install with --no-package-manager after running sudo apt remove cmake? You should check that cmake --version gives you a more modern version before running firedrake-install.

from firedrake.

handraqui avatar handraqui commented on July 25, 2024

Contributor

I tried some other things, and ended up deleting and installing firedrake again, and also tried to upgrade it. I tried to upgrade cmake following

sudo remove cmake sudo apt install build-essential libssl-dev wget https://github.com/Kitware/CMake/releases/download/v3.20.2/cmake-3.20.2.tar.gz tar -zxvf cmake-3.20.2.tar.gz cd cmake-3.20.2 ./bootstrap make

Then, I once again ran firedrake-update in the virtual environment, and my most recent logs are the following:
firedrake-install.log

firedrake-update.log

Ironically, after doing all this, cmake --version gives me "3.16.3".

from firedrake.

connorjward avatar connorjward commented on July 25, 2024

Contributor

I tried some other things, and ended up deleting and installing firedrake again, and also tried to upgrade it. I tried to upgrade cmake following

sudo remove cmake sudo apt install build-essential libssl-dev wget https://github.com/Kitware/CMake/releases/download/v3.20.2/cmake-3.20.2.tar.gz tar -zxvf cmake-3.20.2.tar.gz cd cmake-3.20.2 ./bootstrap make

Then, I once again ran firedrake-update in the virtual environment, and my most recent logs are the following: firedrake-install.log

firedrake-update.log

Ironically, after doing all this, cmake --version gives me "3.16.3".

The install script automatically installs cmake from apt. You should pass --no-package-manager to disable this.

from firedrake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.