[Nek5000-users] postpro.f compiler problems

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Mon Aug 23 13:17:11 CDT 2010


Hi,
I tried to update to the newest version of the code, but I am having
trouble getting it to compile. It is having a problem with compiling
postpro.f.  It looks like the compiler fails at line 1364 when parameter
is used to set a variable equal to a non-constant quantity instead of a
constant one.  It looks like this was added in version 537 by Stefan. 
I've included the end of the output from the compiler, which is the 
Portland group compiler on Franklin.   At Aleks' suggestion I tried 
deleting the subroutine g2gi, but that did not fix the problem. I was 
finally able to get it to compile by using postpro.f from version 536 
and deleting the subroutine hpts.   That subroutine was causing a 
similar problem. 
Elizabeth


PGF90-S-0050-Assumed size array, rst, is not a dummy argument 
(/global/homes/e/ehicks/nek5_svn/trunk/nek/postpro.f: 448)
PGF90-S-0050-Assumed size array, dist, is not a dummy argument 
(/global/homes/e/ehicks/nek5_svn/trunk/nek/postpro.f: 448)
PGF90-S-0050-Assumed size array, rcode, is not a dummy argument 
(/global/homes/e/ehicks/nek5_svn/trunk/nek/postpro.f: 449)
PGF90-S-0050-Assumed size array, elid, is not a dummy argument 
(/global/homes/e/ehicks/nek5_svn/trunk/nek/postpro.f: 449)
PGF90-S-0050-Assumed size array, proc, is not a dummy argument 
(/global/homes/e/ehicks/nek5_svn/trunk/nek/postpro.f: 449)
 0 inform,   0 warnings,   5 severes, 0 fatal for intpts
/opt/cray/xt-asyncpe/3.7/bin/ftn: INFO: linux target is being used
ftn -c  -O2 -r8 -Mpreprocess -DMPI -DLONGINT8 -DUNDERSCORE 
-DGLOBAL_LONG_LONG -I/scratch/scratchdirs/ehicks/nek/runs/run325
-I/global/homes/e/ehicks/nek5_svn/trunk/nek -I./ 
/global/homes/e/ehicks/nek5_svn/trunk/nek/qthermal.f -o obj/qthermal.o
PGF90-S-0087-Non-constant expression where constant expression required 
(/global/homes/e/ehicks/nek5_svn/trunk/nek/postpro.f
: 1346)
 0 inform,   0 warnings,   1 severes, 0 fatal for g2gi
make: *** [obj/postpro.o] Error 2



More information about the Nek5000-users mailing list