JAXFLUIDS icon indicating copy to clipboard operation
JAXFLUIDS copied to clipboard

import error

Open ChengXiaoSi opened this issue 11 months ago • 2 comments

Dear developers I get an error when I use from jaxfluids.simulation_manager import SimulationManager。The reson of this error is that from jax.config import config is used in /JAXFLUIDS/src/jaxfluids/simulation_manager.py.In fact, jax suggest using this way. import jax jax.config.update(your_config_options_here) Thank you! image

ChengXiaoSi avatar Mar 06 '24 01:03 ChengXiaoSi

Downgrading jax==0.4.24 from 0.4.25 works for me. No need to change the import header in simulation_manager.py

S-Yuan137 avatar Mar 28 '24 07:03 S-Yuan137

Downgrading jax==0.4.24 from 0.4.25 works for me. No need to change the import header in simulation_manager.py

Thanks for your advice

ChengXiaoSi avatar Mar 29 '24 00:03 ChengXiaoSi