Git Product home page Git Product logo

Comments (10)

Ig-dolci avatar Ig-dolci commented on July 29, 2024

I saw the error Failed to build islpy. Perhaps this error is solved by running pip install islpy.

from firedrake.

dham avatar dham commented on July 29, 2024

The failure was indeed during building isplpy, but what's interesting is that gcc actually crashed during the build:

    212 | isl_bool isl_space_match(__isl_keep isl_space *space1, enum isl_dim_type type1,
        |          ^~~~~~~~~~~~~~~
  x86_64-linux-gnu-gcc: fatal error: Killed signal terminated program cc1plus
  compilation terminated.
  error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
  error: subprocess-exited-with-error

That's a new one. It would be helpful to run the installation of that package outside the install script. The command to do so would be:

/home/alkaios/firedrake/bin/python -m pip install --no-build-isolation --no-binary mpi4py,randomgen,islpy,numpy -vvv islpy

What does that do?

from firedrake.

AlcaeusX avatar AlcaeusX commented on July 29, 2024

I saw the islpy error and tried installing it but i had the same error.

Regarging-->

/home/alkaios/firedrake/bin/python -m pip install --no-build-isolation --no-binary mpi4py,randomgen,islpy,numpy -vvv islpy

(firedrake) alkaios@Legion-Alcaeus:~$ /home/alkaios/firedrake/bin/python -m pip install --no-build-isolation --no-binary mpi4py,randomgen,islpy,numpy -vvv islpy
Using pip 23.2.1 from /home/alkaios/firedrake/lib/python3.10/site-packages/pip (python 3.10)
Non-user install because user site-packages disabled
Created temporary directory: /tmp/pip-build-tracker-ul9zji09
Initialized build tracking at /tmp/pip-build-tracker-ul9zji09
Created build tracker: /tmp/pip-build-tracker-ul9zji09
Entered build tracker: /tmp/pip-build-tracker-ul9zji09
Created temporary directory: /tmp/pip-install-dwzr38ah
Created temporary directory: /tmp/pip-ephem-wheel-cache-r1bdf5qp
Requirement already satisfied: islpy in ./firedrake/lib/python3.10/site-packages (2023.1.2)
Created temporary directory: /tmp/pip-unpack-pzkq3h5r
Remote version of pip: 23.2.1
Local version of pip: 23.2.1
Was pip installed by pip? True
Removed build tracker: '/tmp/pip-build-tracker-ul9zji09'

from firedrake.

connorjward avatar connorjward commented on July 29, 2024

Perhaps you could make sure that your system is up to date with sudo apt update && sudo apt upgrade? Also, since you are failing to build the ISL shipped with islpy you could try running sudo apt install libisl-dev.

from firedrake.

AlcaeusX avatar AlcaeusX commented on July 29, 2024

Perhaps you could make sure that your system is up to date with sudo apt update && sudo apt upgrade? Also, since you are failing to build the ISL shipped with islpy you could try running sudo apt install libisl-dev.

I did run both commands but the problem persists. Should I delete everything and run these before installing again or send you the new logs?

from firedrake.

connorjward avatar connorjward commented on July 29, 2024

Perhaps you could make sure that your system is up to date with sudo apt update && sudo apt upgrade? Also, since you are failing to build the ISL shipped with islpy you could try running sudo apt install libisl-dev.

I did run both commands but the problem persists. Should I delete everything and run these before installing again or send you the new logs?

Yes please do.

from firedrake.

AlcaeusX avatar AlcaeusX commented on July 29, 2024

configure.log
firedrake-install.log

from firedrake.

connorjward avatar connorjward commented on July 29, 2024

I think you are running out of memory during compilation of ISL. Can you try increasing the memory available to WSL? It is described here for example.

from firedrake.

JDBetteridge avatar JDBetteridge commented on July 29, 2024

We have removed the part of the install script that builds islpy from source. Can you try downloading the latest version of the install script and trying again?

from firedrake.

JDBetteridge avatar JDBetteridge commented on July 29, 2024

https://github.com/firedrakeproject/firedrake/wiki/Closing-Installation-Issues

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.