Hi all, The configure command of a Fortran application fails with following error: Fortran name-mangling scheme... configure: error: cannot compile a simple Fortran program This is on a Rocks-4.2 cluster, with gcc version 4.1.0 (& gfortran also same version) The complete error is: configure:2314: WARNING: serial/parallel compiler mismatch detected configure:2316: WARNING: parallel compiler uses gfortran, but serial compiler is /usr/bin/gfortran ... But I see in mpif90 script, F90 is set to pathf90. configure:2983: /usr/bin/gcc4 -E conftest.c conftest.c:9:28: error: ac_nonexistent.h: No such file or directory configure:2989: $? = 1 .... configure:4172: --version </dev/null >&5 ./configure: line 4173: --version: command not found configure:4175: $? = 127 configure:4177: -v </dev/null >&5 ./configure: line 4178: -v: command not found configure:4180: $? = 127 configure:4182: -V </dev/null >&5 ./configure: line 4183: -V: command not found configure:4185: $? = 127 configure:4193: checking whether we are using the GNU Fortran 77 compiler configure:4207: -c conftest.F >&5 ./configure: line 4208: -c: command not found configure:4213: $? = 127 .... But the same application works with no errors on Rocks-5.0. The version of gcc is 4.1.2. The strange thing happened with Rocks-4.2 is, if the variables CC, F77 or MPIF90 did not set either to gcc or pathscale, then configure works fine, but fails during make. If variables are set, then it fails in configure itself. I'm attaching here the config.log file. Is this a bug in gcc - 4.1.0? Or anything else? If I upgrade gcc to higher version 4.1.2, will it work. Please suggest me a solution. Thanks, Sangamesh
Attachment:
config1.log
Description: Binary data