Dear Espresso users,<br><br> I'm trying to compile espresso-4.1.tar.gz with Intel compilers and Openmpi. But during make all, its giving following error:<br><br># make all<br>test -d bin || mkdir bin<br>if test -d iotk ; then \<br>
( cd iotk ; if test "make" = "" ; then make TLDEPS= lib+util ; \<br> else make TLDEPS= lib+util ; fi ) ; fi<br>make[1]: Entering directory `/opt/apps/espresso-4.1/iotk'<br>cd src ; make lib+util<br>
make[2]: Entering directory `/opt/apps/espresso-4.1/iotk/src'<br>( cd ../../bin ; ln -sf ../iotk/src/iotk_print_kinds.x . )<br>( cd ../../bin ; ln -sf ../iotk/src/iotk.x . )<br>( cd ../../bin ; ln -sf ../iotk/tools/iotk . )<br>
make[2]: Leaving directory `/opt/apps/espresso-4.1/iotk/src'<br>make[1]: Leaving directory `/opt/apps/espresso-4.1/iotk'<br>( cd Modules ; if test "make" = "" ; then make TLDEPS= all ; \<br> else make TLDEPS= all ; fi )<br>
make[1]: Entering directory `/opt/apps/espresso-4.1/Modules'<br>make[1]: Nothing to be done for `all'.<br>make[1]: Leaving directory `/opt/apps/espresso-4.1/Modules'<br>( cd clib ; if test "make" = "" ; then make TLDEPS= all ; \<br>
else make TLDEPS= all ; fi )<br>make[1]: Entering directory `/opt/apps/espresso-4.1/clib'<br>icc -O3 -xT -D__INTEL -D__FFTW -D__MPI -D__PARA -I../include -c stack.c<br>stack.c(16): error: function returning function is not allowed<br>
void F77_FUNC_(remove_stack_limit,REMOVE_STACK_LIMIT) (void) {<br> ^<br><br>stack.c(16): warning #1193: standard requires that parameter "remove_stack_limit" be given a type by a subsequent declaration ("int" assumed)<br>
void F77_FUNC_(remove_stack_limit,REMOVE_STACK_LIMIT) (void) {<br> ^<br><br>stack.c(16): warning #1193: standard requires that parameter "REMOVE_STACK_LIMIT" be given a type by a subsequent declaration ("int" assumed)<br>
void F77_FUNC_(remove_stack_limit,REMOVE_STACK_LIMIT) (void) {<br> ^<br><br>compilation aborted for stack.c (code 2)<br>make[1]: *** [stack.o] Error 2<br>make[1]: Leaving directory `/opt/apps/espresso-4.1/clib'<br>
make: *** [libs] Error 2<br><br>This looks like a coding problem. Let me know if any of you faced this error and how this can be fixed?<br><br>Thanks,<br>Sangamesh<br>