Trophime / python_magnetrun

MIT License
0 stars 1 forks source link

Installation trouble with pyclaw #12

Open jaghili opened 2 months ago

jaghili commented 2 months ago

In the branch refactor (also in main), when I execute the installation command :

pip install -r requirements.txt

I get an error related to pyclaw :

[39/480] Compiling C object pyclaw/src/pyclaw/reconstruct.cpython-312-x86_64-linux-gnu.so.p/limiters_weno_reconstruct.c.o
      FAILED: pyclaw/src/pyclaw/reconstruct.cpython-312-x86_64-linux-gnu.so.p/limiters_weno_reconstruct.c.o
      cc -Ipyclaw/src/pyclaw/reconstruct.cpython-312-x86_64-linux-gnu.so.p -Ipyclaw/src/pyclaw -I../pyclaw/src/pyclaw -I/tmp/pip-build-env-pzdtvu5q/overlay/lib/python3.12/site-packages/numpy/_core/include -I/tmp/pip-build-env-pzdtvu5q/overlay/lib/python3.12/site-packages/numpy/f2py/src -I/home/jagh/.conda/envs/magnet/include/python3.12 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -Wno-unused-but-set-variable -fPIC -MD -MQ pyclaw/src/pyclaw/reconstruct.cpython-312-x86_64-linux-gnu.so.p/limiters_weno_reconstruct.c.o -MF pyclaw/src/pyclaw/reconstruct.cpython-312-x86_64-linux-gnu.so.p/limiters_weno_reconstruct.c.o.d -o pyclaw/src/pyclaw/reconstruct.cpython-312-x86_64-linux-gnu.so.p/limiters_weno_reconstruct.c.o -c ../pyclaw/src/pyclaw/limiters/weno/reconstruct.c

Seee the full log attached : log.txt

jaghili commented 2 months ago

Any idea @Trophime ?

Trophime commented 2 months ago

I will investigate this. In the meantime, you can safely ignore clawpack This is optional right now.

Trophime commented 2 months ago

@jaghili which version of python are you using?

jaghili commented 2 months ago

I will investigate this. In the meantime, you can safely ignore clawpack This is optional right now.

Ok, I commented clawpack, now it seems fine.

@jaghili which version of python are you using?

Python 3.11.6 (main, Nov 14 2023, 09:36:21) [GCC 13.2.1 20230801] on linux