Your compiler problem seems to be related to the fact that the lpart parameter is commented. Did you comment this parameter?<br><br>c automatically added by makenek<br>
c parameter(lpart = 10000 ) ! max number of particles<br><br>Stefan<br><br><br><br><div class="gmail_quote">On Mon, Aug 23, 2010 at 10:21 PM, <span dir="ltr"><<a href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Here is the SIZE file.<br>
<br>
Elizabeth<div class="im"><br>
<br>
<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a> wrote:<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
Hi,<br>
<br>
please post your SIZE file.<br>
<br>
Stefan<br>
<br>
<br>
<br></div><div><div></div><div class="h5">
On Mon, Aug 23, 2010 at 8:17 PM, <<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a> <mailto:<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a>>> wrote:<br>
<br>
Hi,<br>
I tried to update to the newest version of the code, but I am having<br>
trouble getting it to compile. It is having a problem with compiling<br>
postpro.f. It looks like the compiler fails at line 1364 when<br>
parameter<br>
is used to set a variable equal to a non-constant quantity instead<br>
of a<br>
constant one. It looks like this was added in version 537 by<br>
Stefan. I've included the end of the output from the compiler,<br>
which is the Portland group compiler on Franklin. At Aleks'<br>
suggestion I tried deleting the subroutine g2gi, but that did not<br>
fix the problem. I was finally able to get it to compile by using<br>
postpro.f from version 536 and deleting the subroutine hpts. That subroutine was causing a similar problem. Elizabeth<br>
<br>
<br>
PGF90-S-0050-Assumed size array, rst, is not a dummy argument<br>
(/global/homes/e/ehicks/nek5_svn/trunk/nek/postpro.f: 448)<br>
PGF90-S-0050-Assumed size array, dist, is not a dummy argument<br>
(/global/homes/e/ehicks/nek5_svn/trunk/nek/postpro.f: 448)<br>
PGF90-S-0050-Assumed size array, rcode, is not a dummy argument<br>
(/global/homes/e/ehicks/nek5_svn/trunk/nek/postpro.f: 449)<br>
PGF90-S-0050-Assumed size array, elid, is not a dummy argument<br>
(/global/homes/e/ehicks/nek5_svn/trunk/nek/postpro.f: 449)<br>
PGF90-S-0050-Assumed size array, proc, is not a dummy argument<br>
(/global/homes/e/ehicks/nek5_svn/trunk/nek/postpro.f: 449)<br>
0 inform, 0 warnings, 5 severes, 0 fatal for intpts<br>
/opt/cray/xt-asyncpe/3.7/bin/ftn: INFO: linux target is being used<br>
ftn -c -O2 -r8 -Mpreprocess -DMPI -DLONGINT8 -DUNDERSCORE<br>
-DGLOBAL_LONG_LONG -I/scratch/scratchdirs/ehicks/nek/runs/run325<br>
-I/global/homes/e/ehicks/nek5_svn/trunk/nek -I./<br>
/global/homes/e/ehicks/nek5_svn/trunk/nek/qthermal.f -o obj/qthermal.o<br>
PGF90-S-0087-Non-constant expression where constant expression<br>
required (/global/homes/e/ehicks/nek5_svn/trunk/nek/postpro.f<br>
: 1346)<br>
0 inform, 0 warnings, 1 severes, 0 fatal for g2gi<br>
make: *** [obj/postpro.o] Error 2<br>
_______________________________________________<br>
Nek5000-users mailing list<br>
<a href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mcs.anl.gov</a><br></div></div>
<mailto:<a href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mcs.anl.gov</a>><div class="im"><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a><br>
<br>
<br></div>
------------------------------------------------------------------------<div class="im"><br>
<br>
_______________________________________________<br>
Nek5000-users mailing list<br>
<a href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a><br>
<br>
</div></blockquote>
<br>C Dimension file to be included<br>
C<br>
C HCUBE array dimensions<br>
C<br>
parameter (ldim=2)<br>
parameter (lx1=16,ly1=lx1,lz1=1,lelt=36,lelv=lelt)<br>
parameter (lxd=24,lyd=lxd,lzd=1)<br>
parameter (lelx=1,lely=1,lelz=1)<br>
c<br>
parameter (lzl=3 + 2*(ldim-3))<br>
c<br>
parameter (lx2=lx1-2)<br>
parameter (ly2=ly1-2)<br>
parameter (lz2=1)<br>
parameter (lx3=lx2)<br>
parameter (ly3=ly2)<br>
parameter (lz3=lz2)<br>
c<br>
c parameter (lpelv=lelv,lpelt=lelt,lpert=3) ! perturbation<br>
c parameter (lpx1=lx1,lpy1=ly1,lpz1=lz1) ! array sizes<br>
c parameter (lpx2=lx2,lpy2=ly2,lpz2=lz2)<br>
c<br>
parameter (lpelv=1,lpelt=1,lpert=1) ! perturbation<br>
parameter (lpx1=1,lpy1=1,lpz1=1) ! array sizes<br>
parameter (lpx2=1,lpy2=1,lpz2=1)<br>
c<br>
c<br>
c parameter (lbelv=lelv,lbelt=lelt) ! MHD<br>
c parameter (lbx1=lx1,lby1=ly1,lbz1=lz1) ! array sizes<br>
c parameter (lbx2=lx2,lby2=ly2,lbz2=lz2)<br>
c<br>
parameter (lbelv=1,lbelt=1) ! MHD<br>
parameter (lbx1=1,lby1=1,lbz1=1) ! array sizes<br>
parameter (lbx2=1,lby2=1,lbz2=1)<br>
c<br>
C LX1M=LX1 when there are moving meshes; =1 otherwise<br>
parameter (lx1m=1,ly1m=1,lz1m=1)<br>
parameter (ldimt= 1) ! 3 passive scalars + T<br>
parameter (ldimt1=ldimt+1)<br>
parameter (ldimt3=ldimt+3)<br>
parameter (lp = 1024)<br>
parameter (lelg = 1152)<br>
c<br>
c Note: In the new code, LELGEC should be about sqrt(LELG)<br>
c<br>
PARAMETER (LELGEC = 1)<br>
PARAMETER (LXYZ2 = 1)<br>
PARAMETER (LXZ21 = 1)<br>
c<br>
PARAMETER (LMAXV=LX1*LY1*LZ1*LELV)<br>
PARAMETER (LMAXT=LX1*LY1*LZ1*LELT)<br>
PARAMETER (LMAXP=LX2*LY2*LZ2*LELV)<br>
PARAMETER (LXZ=LX1*LZ1)<br>
PARAMETER (LORDER=3)<br>
PARAMETER (MAXOBJ=1,MAXMBR=LELT*6,lhis=10)<br>
C<br>
C Common Block Dimensions<br>
C<br>
PARAMETER (LCTMP0 =2*LX1*LY1*LZ1*LELT)<br>
PARAMETER (LCTMP1 =4*LX1*LY1*LZ1*LELT)<br>
C<br>
C The parameter LVEC controls whether an additional 42 field arrays<br>
C are required for Steady State Solutions. If you are not using<br>
C Steady State, it is recommended that LVEC=1.<br>
C<br>
PARAMETER (LVEC=1)<br>
C<br>
C Uzawa projection array dimensions<br>
C<br>
parameter (mxprev = 20)<br>
parameter (lgmres = 30)<br>
C<br>
C Split projection array dimensions<br>
C<br>
parameter(lmvec = 1)<br>
parameter(lsvec = 1)<br>
parameter(lstore=lmvec*lsvec)<br>
c<br>
c NONCONFORMING STUFF<br>
c<br>
parameter (maxmor = lelt)<br>
C<br>
C Array dimensions<br>
C<br>
COMMON/DIMN/NELV,NELT,NX1,NY1,NZ1,NX2,NY2,NZ2<br>
$,NX3,NY3,NZ3,NDIM,NFIELD,NPERT,NID<br>
$,NXD,NYD,NZD<br>
<br>
<br>
<br>
c automatically added by makenek<br>
parameter(lxo = lx1) ! max output grid size (lxo>=lx1)<br>
<br>
c automatically added by makenek<br>
c parameter(lpart = 10000 ) ! max number of particles<br>
<br>
c automatically added by makenek<br>
integer ax1,ay1,az1,ax2,ay2,az2<br>
parameter (ax1=lx1,ay1=ly1,az1=lz1,ax2=lx2,ay2=ly2,az2=lz2) ! running averages<br>
<br>_______________________________________________<br>
Nek5000-users mailing list<br>
<a href="mailto:Nek5000-users@lists.mcs.anl.gov">Nek5000-users@lists.mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a><br>
<br></blockquote></div><br>