Hello,
I am new in dedalus.
I wanted to install manually the package, but I always get the same error : error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
I guess the problem comes from an import in module libraries.fftw (in bold below).
Does someone have an idea of the problem?
Thank you!
Miguel
Looking for fftw prefix
Found matching library in /usr/lib
Looking for mpi prefix
Found matching library in /usr/lib/openmpi/lib
Looking for fftw prefix
Found matching library in /usr/lib
missing cimport in module '..libraries.fftw': dedalus/core/transposes.pyx
running build_ext
building 'dedalus.libraries.fftw.fftw_wrappers' extension
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Idedalus/libraries/fftw/ -I/home/users/calpelin7m/opt/mypy3/lib/python3.5/site-packages/numpy/core/include -I/opt/python/3.5.1/lib/python3.5/site-packages/mpi4py/include -I/usr/include -I/usr/lib/openmpi/include -I/opt/python/3.5.1/include/python3.5m -c dedalus/libraries/fftw/fftw_wrappers.c -o build/temp.linux-x86_64-3.5/dedalus/libraries/fftw/fftw_wrappers.o -Wno-error=declaration-after-statement
In file included from /home/users/calpelin7m/opt/mypy3/lib/python3.5/site-packages/numpy/core/include/numpy/ndarraytypes.h:1809:0,
from /home/users/calpelin7m/opt/mypy3/lib/python3.5/site-packages/numpy/core/include/numpy/ndarrayobject.h:18,
from /home/users/calpelin7m/opt/mypy3/lib/python3.5/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from dedalus/libraries/fftw/fftw_wrappers.c:301:
/home/users/calpelin7m/opt/mypy3/lib/python3.5/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
dedalus/libraries/fftw/fftw_wrappers.c:1043:3: error: unknown type name 'MPI_Message'
MPI_Message ob_mpi;
^
dedalus/libraries/fftw/fftw_wrappers.c: In function '__pyx_pf_7dedalus_9libraries_4fftw_13fftw_wrappers_23DiscreteCosineTransform___init__':
dedalus/libraries/fftw/fftw_wrappers.c:6060:163: warning: passing argument 7 of 'fftw_plan_guru_r2r' from incompatible pointer type
__pyx_v_self->forward_plan = fftw_plan_guru_r2r(__pyx_v_trans_rank, __pyx_v_trans_struct, __pyx_v_vec_rank, __pyx_v_vec_struct_f, __pyx_v_gdata, __pyx_v_cdata, __pyx_v_kind_f, (__pyx_v_intflags | __pyx_e_7dedalus_9libraries_4fftw_10fftw_c_api_FFTW_DESTROY_INPUT));
^
In file included from dedalus/libraries/fftw/fftw_wrappers.c:306:0:
/usr/include/fftw3.h:355:1: note: expected 'const enum fftw_r2r_kind *' but argument is of type 'int *'
FFTW_DEFINE_API(FFTW_MANGLE_DOUBLE, double, fftw_complex)
^
dedalus/libraries/fftw/fftw_wrappers.c:6069:164: warning: passing argument 7 of 'fftw_plan_guru_r2r' from incompatible pointer type
__pyx_v_self->backward_plan = fftw_plan_guru_r2r(__pyx_v_trans_rank, __pyx_v_trans_struct, __pyx_v_vec_rank, __pyx_v_vec_struct_b, __pyx_v_cdata, __pyx_v_gdata, __pyx_v_kind_b, (__pyx_v_intflags | __pyx_e_7dedalus_9libraries_4fftw_10fftw_c_api_FFTW_DESTROY_INPUT));
^
In file included from dedalus/libraries/fftw/fftw_wrappers.c:306:0:
/usr/include/fftw3.h:355:1: note: expected 'const enum fftw_r2r_kind *' but argument is of type 'int *'
FFTW_DEFINE_API(FFTW_MANGLE_DOUBLE, double, fftw_complex)
^
dedalus/libraries/fftw/fftw_wrappers.c: In function '__pyx_pf_7dedalus_9libraries_4fftw_13fftw_wrappers_21DiscreteSineTransform___init__':
dedalus/libraries/fftw/fftw_wrappers.c:7328:163: warning: passing argument 7 of 'fftw_plan_guru_r2r' from incompatible pointer type
__pyx_v_self->forward_plan = fftw_plan_guru_r2r(__pyx_v_trans_rank, __pyx_v_trans_struct, __pyx_v_vec_rank, __pyx_v_vec_struct_f, __pyx_v_gdata, __pyx_v_cdata, __pyx_v_kind_f, (__pyx_v_intflags | __pyx_e_7dedalus_9libraries_4fftw_10fftw_c_api_FFTW_DESTROY_INPUT));
^
In file included from dedalus/libraries/fftw/fftw_wrappers.c:306:0:
/usr/include/fftw3.h:355:1: note: expected 'const enum fftw_r2r_kind *' but argument is of type 'int *'
FFTW_DEFINE_API(FFTW_MANGLE_DOUBLE, double, fftw_complex)
^
dedalus/libraries/fftw/fftw_wrappers.c:7337:164: warning: passing argument 7 of 'fftw_plan_guru_r2r' from incompatible pointer type
__pyx_v_self->backward_plan = fftw_plan_guru_r2r(__pyx_v_trans_rank, __pyx_v_trans_struct, __pyx_v_vec_rank, __pyx_v_vec_struct_b, __pyx_v_cdata, __pyx_v_gdata, __pyx_v_kind_b, (__pyx_v_intflags | __pyx_e_7dedalus_9libraries_4fftw_10fftw_c_api_FFTW_DESTROY_INPUT));
^
In file included from dedalus/libraries/fftw/fftw_wrappers.c:306:0:
/usr/include/fftw3.h:355:1: note: expected 'const enum fftw_r2r_kind *' but argument is of type 'int *'
FFTW_DEFINE_API(FFTW_MANGLE_DOUBLE, double, fftw_complex)
^
In file included from /home/users/calpelin7m/opt/mypy3/lib/python3.5/site-packages/numpy/core/include/numpy/ndarrayobject.h:27:0,
from /home/users/calpelin7m/opt/mypy3/lib/python3.5/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from dedalus/libraries/fftw/fftw_wrappers.c:301:
dedalus/libraries/fftw/fftw_wrappers.c: At top level:
/home/users/calpelin7m/opt/mypy3/lib/python3.5/site-packages/numpy/core/include/numpy/__multiarray_api.h:1453:1: warning: '_import_array' defined but not used [-Wunused-function]
_import_array(void)
^
dedalus/libraries/fftw/fftw_wrappers.c:25553:18: warning: '__pyx_convert__to_py_fftw_iodim' defined but not used [-Wunused-function]
static PyObject* __pyx_convert__to_py_fftw_iodim(fftw_iodim s) {
^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1