[Pw_forum] Compile error when using Cygwin and gfortran 4.7

Sean Muir muirs at onid.orst.edu
Sun Oct 9 01:12:40 CEST 2011


Hello Folks,

  I am band new to quantum espresso and have been trying to get it compiled
on my Windows system using Cygwin.

  I have successfully ran ./configure.

  During the make pw process I ran into this error.  I searched the archives
with no luck.  The message seems to indicate it is a compiler error and not
with quantum espresso.

The manual section 2.7 mentions that the compiler is probably buggy and says
*'Try to lower the optimization level, or to remove optimization just for
the routine that has problems. If it doesn't work, or if you experience
weird problems at run time, try to install patches for your version of the
compiler'*

How would I go about lowering the optimization level?  I am using the latest
gfortran 4.7 for cygwin, might it help to go back to some previous version?

Any help would be appreciated,

Sean
Oregon State University

( cd SRC; make )
make[3]: Entering directory `/home/smuir/QESource/
espresso-4.3/lapack-3.2/SRC'
gfortran -O3 -g -c dlarrv.f -o dlarrv.o
dlarrv.f: In function `dlarrv':
dlarrv.f:895:0: error: insn does not satisfy its constraints:
(insn 2435 54 2436 47 (set (mem/c:SI (plus:SI (reg/f:SI 7 sp)
                (const_int 108 [0x6c])) [0 S4 A32])
        (reg/v/f:SI 15 st(7) [orig:827 indexw ] [827])) dlarrv.f:1 50
{*movsi_internal}
     (nil))
dlarrv.f:895:0: internal compiler error: in reload_cse_simplify_operands, at
postreload.c:403
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [dlarrv.o] Error 1
make[3]: Leaving directory
`/home/smuir/QESource/espresso-4.3/lapack-3.2/SRC'
make[2]: *** [lapacklib] Error 2
make[2]: Leaving directory `/home/smuir/QESource/espresso-4.3/lapack-3.2'
make[1]: *** [liblapack_internal] Error 2
make[1]: Leaving directory `/home/smuir/QESource/espresso-4.3/extlibs'
make: *** [liblapack] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/pw_forum/attachments/20111008/777f29b7/attachment.htm 


More information about the Pw_forum mailing list