question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JAX was mentioned in #439 as a possible way of automating something like FEniCS’s derivative for calculating Jacobians in nonlinear problems; however, one user noted that they

could never manage to install jax on a windows machine in the past.

A successful reimplementation of ex10 which currently has a handwritten Jacobian

https://github.com/kinnala/scikit-fem/blob/85b83ec91a13b87e160326246246ab86d5ac63ae/docs/examples/ex10.py#L15-L19

using JAX was demonstrated in #440 .

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kinnalacommented, Jul 22, 2020

I’d prefer not to actually depend on something like JAX.

On the other hand, trying it out revealed already how an interface utilizing these autodiff tools should look like. So maybe we can eventually provide some additional utilities so that it’s easier to use JAX or autograd or similar tools in scikit-fem.

PS. Does it work in Docker?

1reaction
gdmcbaincommented, Jul 22, 2020

I tried installing JAX under Windows 10 using Miniconda3:

conda create -n jax
conda activate jax
conda install pip
pip install jax

but that didn’t work;

python -c "import jax"

raises

ModuleNotFoundError: No module named ‘jaxlib’

Then, seeing that jax is in conda-forge, I tried:

conda deactivate
conda env remove -n jax
conda create -n jax
conda activate jax
conda install -c conda-forge jax

but that failed with

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError:
Read more comments on GitHub >

github_iconTop Results From Across the Web

JAX (@jax) • Instagram photos and videos
906k Followers, 2307 Following, 381 Posts - See Instagram photos and videos from JAX (@jax)
Read more >
Jax Official Website
Get the latest music, tour dates, merch, videos and more at Jax's official website.
Read more >
Jacksonville International Airport (JAX)
Who says airports aren't fun? Come early and shop at JAX. >> Flight Information. Check flight schedules, set up alerts or track ...
Read more >
JAX
Press: Ted.Sullivan@atlanticrecords.comJAX mail: Jax Fan Club 20929 Ventura Blvd Ste 47 - 505Woodland Hills, CA 91364.
Read more >
JAX Mercantile Co. | Outdoor Gear, Farm & Ranch
At JAX we offer you the best gear available at fair prices. ... Family-owned and operated since 1955, shopping at JAX is a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found