nmag-project / patches

This project contains the materials necessary to make the NMAG micromagnetic solver easier to compile on modern GNU/Linux distros.
7 stars 4 forks source link

Can not "make" #2

Open wiemrachman opened 3 years ago

wiemrachman commented 3 years ago

when run 'make' i get error as below -ccopt "-Wall -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math -I -I/usr/include/python2.7" \ -o pycaml_stubs.o pycaml_stubs.c pycaml_stubs.c:16:10: fatal error: Python.h: No such file or directory 16 | #include "Python.h" | ^~~~~~ compilation terminated. make[3]: [Makefile:146: pycaml_stubs.o] Error 2 rm dimensions_lexer.ml make[3]: Leaving directory '/home/wiem/Dev/nmagMods/nmag-0.2.1/nsim/src' make[2]: [Makefile:18: all] Error 2 make[2]: Leaving directory '/home/wiem/Dev/nmagMods/nmag-0.2.1/nsim'

How to fix it? Thank a lot

wiemrachman commented 3 years ago

Fyi, I am using Ubuntu version 20.04