[Wien] Compile with PGF90 on RedHat 9.0--"subprogram too large to compile at this optimization level"

Matthew.Carey at hgst.com Matthew.Carey at hgst.com
Wed Jul 30 03:01:01 CEST 2003


Hello,

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.

I got this error for lapw2:

PGF90-F-0007-Subprogram too large to compile at this optimization level 
(vdrho.f)
make[1]: *** [vdrho.o] Error 2
make[1]: Leaving directory `/usr/WIEN2K/SRC_lapw2'
make: *** [complex] Error 2

the makefile has these flags set:

FOPT =  -Mfreeform -fast -Kieee
FPOPT =  -Mfreeform -fast -Kieee
DParallel = '-DParallel'
FGEN = $(PARALLEL)
LDFLAGS = -L../SRC_lib
R_LIBS = -llapack_lapw -lblas
C_LIBS = $(R_LIBS)
RP_LIBS = $(R_LIBS) -L /usr/local/SCALAPACK -L /usr/local/BLACS/LIB 
-lpblas -lredist -ltools -lscalapack -lfblacs -lblacs -lmpi
CP_LIBS = $(RP_LIBS)
DESTDIR = .

a quick look at the manual says that  -fast is like -O2.  Should I back 
off to -O?

I would appreciate any suggestion.

Matt
_________________________________
Matthew J Carey, Research Staff Member
Hitachi Global Storage Technologies
San Jose Research Center
650 Harry Rd.
San Jose, CA 95120

ph:  408.323.7218
fax:  408.323.7010
Matthew.Carey at hgst.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20030730/ac55c812/attachment.html


More information about the Wien mailing list