error in OpenMX3.9 installation |
- Date: 2023/01/26 05:41
- Name: Mehdi Vejdanihemmat
<m.vejdanih@basu.ac.ir>
- Dear developers,
I faced the following error when entering "make all" in OpenMX3.9 installation according to "Installation of OpenMX on WSL on Windows 10/11" pdf guidance step by step from page 11. Could you please guide me to solve this problem?
mpiicc -O3 -xHOST -ip -no-prec-div -qopenmp -I/opt/intel/oneapi/mkl/2021.3.0//include -I/opt/intel/oneapi/mkl/2021.3.0//include/fftw -I./elpa-2018.05.001 -c openmx.c In file included from openmx.c(57): /usr/include/stdio.h(189): error: attribute "__malloc__" does not take arguments __attribute_malloc__ __attr_dealloc_fclose __wur; ^
In file included from openmx.c(57): /usr/include/stdio.h(223): error: attribute "__malloc__" does not take arguments __THROW __attribute_malloc__ __wur __attr_dealloc_free; ^
In file included from openmx.c(57): /usr/include/stdio.h(260): error: attribute "__malloc__" does not take arguments __attribute_malloc__ __attr_dealloc_fclose __wur; ^
In file included from openmx.c(57): /usr/include/stdio.h(294): error: attribute "__malloc__" does not take arguments __attribute_malloc__ __attr_dealloc_fclose __wur; ^
In file included from openmx.c(57): /usr/include/stdio.h(309): error: attribute "__malloc__" does not take arguments __THROW __attribute_malloc__ __attr_dealloc_fclose __wur; ^
In file included from openmx.c(57): /usr/include/stdio.h(315): error: attribute "__malloc__" does not take arguments __attribute_malloc__ __attr_dealloc_fclose __wur; ^
In file included from openmx.c(57): /usr/include/stdio.h(830): error: attribute "__malloc__" does not take arguments __attribute_malloc__ __attr_dealloc (pclose, 1) __wur; ^
In file included from openmx.c(58): /usr/include/stdlib.h(566): error: attribute "__malloc__" does not take arguments __attr_dealloc_free; ^
In file included from openmx.c(58): /usr/include/stdlib.h(570): error: attribute "__malloc__" does not take arguments __THROW __attr_dealloc (reallocarray, 1); ^
compilation aborted for openmx.c (code 2) make: *** [makefile:192: openmx.o] Error 2
Best regards, Mehdi Vejdanihemmat
| |