[Pw_forum] Espresso-4.1 failing to compile

Paolo Giannozzi giannozz at democritos.it
Mon Oct 26 08:21:44 CET 2009


On Oct 25, 2009, at 9:55 , Sangamesh B wrote:

> icc -O3 -xT -D__INTEL -D__FFTW -D__MPI -D__PARA -I../include  -c  
> stack.c
> stack.c(16): error: function returning function is not allowed
>   void F77_FUNC_(remove_stack_limit,REMOVE_STACK_LIMIT) (void) {
>

in include/c_defs.h, there should be two lines (produced by "configure")
that look like
#define F77_FUNC(name,NAME) name ## _
#define F77_FUNC_(name,NAME) name ## _

P.
---
Paolo Giannozzi, Dept of Physics, University of Udine
via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222






More information about the users mailing list