<br><font size=3 face="Times New Roman">Hello,</font>
<br>
<br><font size=3 face="Times New Roman">thanks a lot for the tip--it helped
a lot. &nbsp;I tried to just recompile lapw2, and it seems to work so far.
&nbsp;If I can get away with as much being compiled with the fasted optimization,
I will try it.</font>
<br>
<br><font size=3 face="Times New Roman">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: &nbsp;408.323.7218<br>
fax: &nbsp;408.323.7010<br>
Matthew.Carey@hgst.com</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>&quot;Kirk Feindel&quot; &lt;kfeindel@ualberta.ca&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: wien-admin@zeus.theochem.tuwien.ac.at</font>
<p><font size=1 face="sans-serif">07/29/2003 06:14 PM</font>
<br><font size=1 face="sans-serif">Please respond to wien</font>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To:
&nbsp; &nbsp; &nbsp; &nbsp;&lt;wien@zeus.theochem.tuwien.ac.at&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc:
&nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; From:
&nbsp; &nbsp; &nbsp; &nbsp;wien-admin@zeus.theochem.tuwien.ac.at</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject:
&nbsp; &nbsp; &nbsp; &nbsp;Re: [Wien] Compile with PGF90 on RedHat
9.0--&quot;subprogram too large to compile at this optimization level&quot;</font>
<br></table>
<br>
<br>
<br><font size=2 face="Arial">Matt,</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 face="Arial">I had the same problem. &nbsp;In the SRC_lapw2
folder, change the compiler option (FOPT) in the Makefile to -O1 (rather
than -fast) then recompile the whole package.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 face="Arial">Kirk</font>
<br><font size=3>----- Original Message ----- </font>
<br><font size=3><b>From:</b> </font><a href=mailto:Matthew.Carey@hgst.com><font size=3 color=blue><u>Matthew.Carey@hgst.com</u></font></a><font size=3>
</font>
<br><font size=3><b>To:</b> </font><a href=mailto:wien@zeus.theochem.tuwien.ac.at><font size=3 color=blue><u>wien@zeus.theochem.tuwien.ac.at</u></font></a><font size=3>
</font>
<br><font size=3><b>Sent:</b> Tuesday, July 29, 2003 7:01 PM</font>
<br><font size=3><b>Subject:</b> [Wien] Compile with PGF90 on RedHat 9.0--&quot;subprogram
too large to compile at this optimization level&quot;</font>
<br>
<br><font size=3 face="Times New Roman"><br>
Hello,</font><font size=3> <br>
</font><font size=3 face="Times New Roman"><br>
I am new and trying to compile under both RedHat 9 and SuSE 8.2. &nbsp;
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). &nbsp;This example is from the RedHat machine.</font><font size=3>
<br>
</font><font size=3 face="Times New Roman"><br>
I got this error for lapw2:</font><font size=3> <br>
</font><font size=3><tt><br>
PGF90-F-0007-Subprogram too large to compile at this optimization level
&nbsp;(vdrho.f)</tt></font><font size=3> </font><font size=3><tt><br>
make[1]: *** [vdrho.o] Error 2</tt></font><font size=3> </font><font size=3><tt><br>
make[1]: Leaving directory `/usr/WIEN2K/SRC_lapw2'</tt></font><font size=3>
</font><font size=3><tt><br>
make: *** [complex] Error 2</tt></font><font size=3> <br>
</font><font size=3 face="Times New Roman"><br>
the makefile has these flags set:</font><font size=3> <br>
</font><font size=3><tt><br>
FOPT = &nbsp;-Mfreeform -fast -Kieee</tt></font><font size=3> </font><font size=3><tt><br>
FPOPT = &nbsp;-Mfreeform -fast -Kieee</tt></font><font size=3> </font><font size=3><tt><br>
DParallel = '-DParallel'</tt></font><font size=3> </font><font size=3><tt><br>
FGEN = $(PARALLEL)</tt></font><font size=3> </font><font size=3><tt><br>
LDFLAGS = -L../SRC_lib</tt></font><font size=3> </font><font size=3><tt><br>
R_LIBS = -llapack_lapw -lblas</tt></font><font size=3> </font><font size=3><tt><br>
C_LIBS = $(R_LIBS)</tt></font><font size=3> </font><font size=3><tt><br>
RP_LIBS = $(R_LIBS) -L /usr/local/SCALAPACK -L /usr/local/BLACS/LIB -lpblas
-lredist -ltools -lscalapack -lfblacs -lblacs -lmpi</tt></font><font size=3>
</font><font size=3><tt><br>
CP_LIBS = $(RP_LIBS)</tt></font><font size=3> </font><font size=3><tt><br>
DESTDIR = .</tt></font><font size=3> <br>
</font><font size=3 face="Times New Roman"><br>
a quick look at the manual says that &nbsp;-fast is like -O2. &nbsp;Should
I back off to -O?</font><font size=3> <br>
</font><font size=3 face="Times New Roman"><br>
I would appreciate any suggestion.</font><font size=3> <br>
</font><font size=3 face="Times New Roman"><br>
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: &nbsp;408.323.7218<br>
fax: &nbsp;408.323.7010<br>
Matthew.Carey@hgst.com</font>
<br>