Coder Social home page Coder Social logo

INSTALL: about firedrake HOT 5 CLOSED

lynntf avatar lynntf commented on August 29, 2024
INSTALL:

from firedrake.

Comments (5)

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

Can you please follow these instructions? Keep us informed if it works for you.

from firedrake.

lynntf avatar lynntf commented on August 29, 2024

Thanks for the instructions.

I downloaded Xcode 15.1 Beta 315C5059c as Xcode_15.1_beta_3.xip. I then extracted Xcode-beta.app from it. I ran the app and it asked what platform I would be developing for and I selected MacOS. It then installed, but I do not know where. I have been unable to find where it was actually installed so I do not know where to direct the code in the shared instructions:

sudo xcode-select --switch /local_path_to_Xcode15beta

Where is Xcode installed?

I thought that perhaps the installation via the .app would have fixed the problem, so I tried python3 firedrake-install again, but encountered the same issue as before.

Thank you for your help.

from firedrake.

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

Where your Xcode-beta.app is? Can you please add here the output of the command clang -v?

from firedrake.

lynntf avatar lynntf commented on August 29, 2024

Before making any changes, the output of clang -v is:

Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: arm64-apple-darwin23.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

I then redirected it to the directory where I placed Xcode-beta.app:

sudo xcode-select --switch /Applications/Xcode-beta.app

The output of clang -v after making that change is:

Apple clang version 15.0.0 (clang-1500.1.0.2.5)
Target: arm64-apple-darwin23.1.0
Thread model: posix
InstalledDir: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

I will try the installation again now.

from firedrake.

lynntf avatar lynntf commented on August 29, 2024

The installation has succeeded and I am again able to import Firedrake successfully.

For posterity, the installation command line output is:

python3 firedrake-install                              
/Users/tlynn/Code/firedrake/firedrake-install:20: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  from pkg_resources.extern.packaging.version import Version, InvalidVersion
Running firedrake-install
Installing command line tools...
Checking brew doctor...
Installing required packages via homebrew...
Required package 'gcc' is already installed via Homebrew.
Required package 'autoconf' is already installed via Homebrew.
Required package 'make' is already installed via Homebrew.
Required package 'automake' is already installed via Homebrew.
Required package 'cmake' is already installed via Homebrew.
Required package 'libtool' is already installed via Homebrew.
Required package 'boost' is already installed via Homebrew.
Creating firedrake venv in '/Users/tlynn/Code/firedrake/firedrake'.
We use pybind11==2.9.2 until the issue with pybind11==2.10.0 is resolved.

BLAS config is {'BLAS': '/Users/tlynn/Code/firedrake/firedrake/src/petsc/default', 'OPENBLAS': '/Users/tlynn/Code/firedrake/firedrake/src/petsc/default', 'LDFLAGS': '-L/opt/homebrew/opt/gcc/lib/gcc/13'}
Configuration saved to /Users/tlynn/Code/firedrake/firedrake/.configuration.json
Cloning firedrake

Failed to clone firedrake using ssh, falling back to https.
Successfully cloned repository firedrake.
Checking out branch master
Successfully checked out branch master
Updating submodules.
Successfully updated submodules.
Creating firedrake-update script.
Pip installing VTK for Python 3.11 to venv
Cloning the dependencies of firedrake
Cloning ufl

Failed to clone ufl using ssh, falling back to https.
Successfully cloned repository ufl.
Checking out branch master
Successfully checked out branch master
Updating submodules.
Successfully updated submodules.
Cloning fiat

Failed to clone fiat using ssh, falling back to https.
Successfully cloned repository fiat.
Checking out branch master
Successfully checked out branch master
Updating submodules.
Successfully updated submodules.
Cloning FInAT

Failed to clone FInAT using ssh, falling back to https.
Successfully cloned repository FInAT.
Checking out branch master
Successfully checked out branch master
Updating submodules.
Successfully updated submodules.
Cloning tsfc

Failed to clone tsfc using ssh, falling back to https.
Successfully cloned repository tsfc.
Checking out branch master
Successfully checked out branch master
Updating submodules.
Successfully updated submodules.
Cloning PyOP2

Failed to clone PyOP2 using ssh, falling back to https.
Successfully cloned repository PyOP2.
Checking out branch master
Successfully checked out branch master
Updating submodules.
Successfully updated submodules.
Cloning pyadjoint

Failed to clone pyadjoint using ssh, falling back to https.
Successfully cloned repository pyadjoint.
Checking out branch master
Successfully checked out branch master
Updating submodules.
Successfully updated submodules.
Cloning petsc

Failed to clone petsc using ssh, falling back to https.
Successfully cloned repository petsc.
Checking out branch firedrake
Successfully checked out branch firedrake
Updating submodules.
Successfully updated submodules.
Cloning pytest-mpi

Failed to clone pytest-mpi using ssh, falling back to https.
Successfully cloned repository pytest-mpi.
Checking out branch main
Successfully checked out branch main
Updating submodules.
Successfully updated submodules.
Cloning the dependencies of PyOP2
Cloning loopy

Failed to clone loopy using ssh, falling back to https.
Successfully cloned repository loopy.
Checking out branch main
Successfully checked out branch main
Updating submodules.
Successfully updated submodules.
Installing petsc/
Depending on your platform, PETSc may take an hour or more to build!
Installing numpy using setuptools==59.2.0 and wheel==0.37.0 and Cython==0.29.36
Installing numpy==1.24 due to performance regression
Updating setuptools and wheel to latest versions
Installing pip dependencies for loopy
Installing pip dependencies for petsc4py
No dependencies found. Skipping.
Installing pip dependencies for ufl
No dependencies found. Skipping.
Installing pip dependencies for fiat
No dependencies found. Skipping.
Installing pip dependencies for FInAT
Installing pip dependencies for tsfc
Installing pip dependencies for PyOP2
Installing pip dependencies for pyadjoint
No dependencies found. Skipping.
Installing pip dependencies for pytest-mpi
No dependencies found. Skipping.
Installing pip dependencies for firedrake
Installing h5py
Cloning h5py

Failed to clone h5py using ssh, falling back to https.
Successfully cloned repository h5py.
Checking out branch firedrake
Successfully checked out branch firedrake
Updating submodules.
Successfully updated submodules.
Linking h5py against HDF5_DIR=/Users/tlynn/Code/firedrake/firedrake/src/petsc/default

Removing existing h5py installations

Installing h5py/
Installing libsupermesh
Cloning libsupermesh

Failed to clone libsupermesh using ssh, falling back to https.
Successfully cloned repository libsupermesh.
Checking out branch master
Successfully checked out branch master
Updating submodules.
Successfully updated submodules.
Installing libspatialindex
Cloning libspatialindex

Failed to clone libspatialindex using ssh, falling back to https.
Successfully cloned repository libspatialindex.
Checking out branch master
Successfully checked out branch master
Updating submodules.
Successfully updated submodules.
Installing loopy/
Installing petsc4py/
Installing ufl/
Installing fiat/
Installing FInAT/
Installing tsfc/
Installing PyOP2/
Installing pyadjoint/
Installing pytest-mpi/
Installing firedrake/


Successfully installed Firedrake.


Firedrake has been installed in a python venv. You activate it with:

  . /Users/tlynn/Code/firedrake/firedrake/bin/activate

The venv can be deactivated by running:

  deactivate


To upgrade Firedrake activate the venv and run firedrake-update



Install log saved in /Users/tlynn/Code/firedrake/firedrake-install.log

The installation logs:
firedrake-install.log
configure.log

Thank you for your help.

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.