<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2726.2500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Matt,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I had the same problem. In the SRC_lapw2
folder, change the compiler option (FOPT) in the Makefile to -O1 (rather
than -fast) then recompile the whole package.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Kirk</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=Matthew.Carey@hgst.com
href="mailto:Matthew.Carey@hgst.com">Matthew.Carey@hgst.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=wien@zeus.theochem.tuwien.ac.at
href="mailto:wien@zeus.theochem.tuwien.ac.at">wien@zeus.theochem.tuwien.ac.at</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, July 29, 2003 7:01
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Wien] Compile with PGF90 on
RedHat 9.0--"subprogram too large to compile at this optimization level"</DIV>
<DIV><BR></DIV><BR><FONT face="Times New Roman" size=3>Hello,</FONT>
<BR><BR><FONT face="Times New Roman" size=3>I am new and trying to compile
under both RedHat 9 and SuSE 8.2. I had problems with the Intel
compiler and, after seeing some of the other messages about the problems with
this combination, decided to try the PGI compiler (on the 15 day trial).
This example is from the RedHat machine.</FONT> <BR><BR><FONT
face="Times New Roman" size=3>I got this error for lapw2:</FONT> <BR><BR><FONT
size=3><TT>PGF90-F-0007-Subprogram too large to compile at this optimization
level (vdrho.f)</TT></FONT> <BR><FONT size=3><TT>make[1]: *** [vdrho.o]
Error 2</TT></FONT> <BR><FONT size=3><TT>make[1]: Leaving directory
`/usr/WIEN2K/SRC_lapw2'</TT></FONT> <BR><FONT size=3><TT>make: *** [complex]
Error 2</TT></FONT> <BR><BR><FONT face="Times New Roman" size=3>the makefile
has these flags set:</FONT> <BR><BR><FONT size=3><TT>FOPT = -Mfreeform
-fast -Kieee</TT></FONT> <BR><FONT size=3><TT>FPOPT = -Mfreeform -fast
-Kieee</TT></FONT> <BR><FONT size=3><TT>DParallel = '-DParallel'</TT></FONT>
<BR><FONT size=3><TT>FGEN = $(PARALLEL)</TT></FONT> <BR><FONT
size=3><TT>LDFLAGS = -L../SRC_lib</TT></FONT> <BR><FONT size=3><TT>R_LIBS =
-llapack_lapw -lblas</TT></FONT> <BR><FONT size=3><TT>C_LIBS =
$(R_LIBS)</TT></FONT> <BR><FONT size=3><TT>RP_LIBS = $(R_LIBS) -L
/usr/local/SCALAPACK -L /usr/local/BLACS/LIB -lpblas -lredist -ltools
-lscalapack -lfblacs -lblacs -lmpi</TT></FONT> <BR><FONT size=3><TT>CP_LIBS =
$(RP_LIBS)</TT></FONT> <BR><FONT size=3><TT>DESTDIR = .</TT></FONT>
<BR><BR><FONT face="Times New Roman" size=3>a quick look at the manual says
that -fast is like -O2. Should I back off to -O?</FONT>
<BR><BR><FONT face="Times New Roman" size=3>I would appreciate any
suggestion.</FONT> <BR><BR><FONT face="Times New Roman"
size=3>Matt<BR>_________________________________<BR>Matthew J Carey, Research
Staff Member<BR>Hitachi Global Storage Technologies<BR>San Jose Research
Center<BR>650 Harry Rd.<BR>San Jose, CA 95120<BR><BR>ph:
408.323.7218<BR>fax:
408.323.7010<BR>Matthew.Carey@hgst.com</FONT></BLOCKQUOTE></BODY></HTML>