[Pw_forum] Espresso-4.1 failing to compile

Sangamesh B forum.san at gmail.com
Sun Oct 25 09:55:14 CET 2009


Dear Espresso users,

      I'm trying to compile espresso-4.1.tar.gz with Intel compilers and
Openmpi. But during make all, its giving following error:

# make all
test -d bin || mkdir bin
if test -d iotk ; then \
    ( cd iotk ; if test "make" = "" ; then make  TLDEPS= lib+util ; \
    else make  TLDEPS= lib+util ; fi ) ; fi
make[1]: Entering directory `/opt/apps/espresso-4.1/iotk'
cd src ; make lib+util
make[2]: Entering directory `/opt/apps/espresso-4.1/iotk/src'
( cd ../../bin ; ln -sf ../iotk/src/iotk_print_kinds.x . )
( cd ../../bin ; ln -sf ../iotk/src/iotk.x . )
( cd ../../bin ; ln -sf ../iotk/tools/iotk . )
make[2]: Leaving directory `/opt/apps/espresso-4.1/iotk/src'
make[1]: Leaving directory `/opt/apps/espresso-4.1/iotk'
( cd Modules ; if test "make" = "" ; then make  TLDEPS= all ; \
    else make  TLDEPS= all ; fi )
make[1]: Entering directory `/opt/apps/espresso-4.1/Modules'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/apps/espresso-4.1/Modules'
( cd clib ; if test "make" = "" ; then make  TLDEPS= all ; \
    else make  TLDEPS= all ; fi )
make[1]: Entering directory `/opt/apps/espresso-4.1/clib'
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) {
                                                         ^

stack.c(16): warning #1193: standard requires that parameter
"remove_stack_limit" be given a type by a subsequent declaration ("int"
assumed)
  void F77_FUNC_(remove_stack_limit,REMOVE_STACK_LIMIT) (void) {
                 ^

stack.c(16): warning #1193: standard requires that parameter
"REMOVE_STACK_LIMIT" be given a type by a subsequent declaration ("int"
assumed)
  void F77_FUNC_(remove_stack_limit,REMOVE_STACK_LIMIT) (void) {
                                    ^

compilation aborted for stack.c (code 2)
make[1]: *** [stack.o] Error 2
make[1]: Leaving directory `/opt/apps/espresso-4.1/clib'
make: *** [libs] Error 2

This looks like a coding problem. Let me know if any of you faced this error
and how this can be fixed?

Thanks,
Sangamesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/pw_forum/attachments/20091025/17a21e4b/attachment.htm 


More information about the Pw_forum mailing list