[Nek5000-users] postpro.f compiler problems

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Mon Aug 23 15:49:29 CDT 2010


No, I didn't.  I'll uncomment it and try again.  Thank you!
Elizabeth

nek5000-users at lists.mcs.anl.gov wrote:
> Your compiler problem seems to be related to the fact that the lpart 
> parameter is commented. Did you comment this parameter?
>
> c automatically added by makenek
> c      parameter(lpart = 10000  ) ! max number of particles
>
> Stefan
>
>
>
> On Mon, Aug 23, 2010 at 10:21 PM, <nek5000-users at lists.mcs.anl.gov 
> <mailto:nek5000-users at lists.mcs.anl.gov>> wrote:
>
>     Here is the SIZE file.
>
>     Elizabeth
>
>
>     nek5000-users at lists.mcs.anl.gov
>     <mailto:nek5000-users at lists.mcs.anl.gov> wrote:
>
>         Hi,
>
>         please post your SIZE file.
>
>         Stefan
>
>
>
>         On Mon, Aug 23, 2010 at 8:17 PM,
>         <nek5000-users at lists.mcs.anl.gov
>         <mailto:nek5000-users at lists.mcs.anl.gov>
>         <mailto:nek5000-users at lists.mcs.anl.gov
>         <mailto:nek5000-users at lists.mcs.anl.gov>>> wrote:
>
>            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
>            _______________________________________________
>            Nek5000-users mailing list
>            Nek5000-users at lists.mcs.anl.gov
>         <mailto:Nek5000-users at lists.mcs.anl.gov>
>            <mailto:Nek5000-users at lists.mcs.anl.gov
>         <mailto:Nek5000-users at lists.mcs.anl.gov>>
>
>            https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>
>
>         ------------------------------------------------------------------------
>
>
>
>         _______________________________________________
>         Nek5000-users mailing list
>         Nek5000-users at lists.mcs.anl.gov
>         <mailto:Nek5000-users at lists.mcs.anl.gov>
>         https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>          
>
>
>     C     Dimension file to be included
>     C
>     C     HCUBE array dimensions
>     C
>          parameter (ldim=2)
>          parameter (lx1=16,ly1=lx1,lz1=1,lelt=36,lelv=lelt)
>          parameter (lxd=24,lyd=lxd,lzd=1)
>          parameter (lelx=1,lely=1,lelz=1)
>     c
>          parameter (lzl=3 + 2*(ldim-3))
>     c
>          parameter (lx2=lx1-2)
>          parameter (ly2=ly1-2)
>          parameter (lz2=1)
>          parameter (lx3=lx2)
>          parameter (ly3=ly2)
>          parameter (lz3=lz2)
>     c
>     c     parameter (lpelv=lelv,lpelt=lelt,lpert=3)  ! perturbation
>     c     parameter (lpx1=lx1,lpy1=ly1,lpz1=lz1)     ! array sizes
>     c     parameter (lpx2=lx2,lpy2=ly2,lpz2=lz2)
>     c
>          parameter (lpelv=1,lpelt=1,lpert=1)        ! perturbation
>          parameter (lpx1=1,lpy1=1,lpz1=1)           ! array sizes
>          parameter (lpx2=1,lpy2=1,lpz2=1)
>     c
>     c
>     c     parameter (lbelv=lelv,lbelt=lelt)          ! MHD
>     c     parameter (lbx1=lx1,lby1=ly1,lbz1=lz1)     ! array sizes
>     c     parameter (lbx2=lx2,lby2=ly2,lbz2=lz2)
>     c
>          parameter (lbelv=1,lbelt=1)                ! MHD
>          parameter (lbx1=1,lby1=1,lbz1=1)           ! array sizes
>          parameter (lbx2=1,lby2=1,lbz2=1)
>     c
>     C LX1M=LX1 when there are moving meshes; =1 otherwise
>          parameter (lx1m=1,ly1m=1,lz1m=1)
>          parameter (ldimt= 1)                       ! 3 passive
>     scalars + T
>          parameter (ldimt1=ldimt+1)
>          parameter (ldimt3=ldimt+3)
>          parameter (lp   = 1024)
>          parameter (lelg = 1152)
>     c
>     c     Note:  In the new code, LELGEC should be about sqrt(LELG)
>     c
>          PARAMETER (LELGEC = 1)
>          PARAMETER (LXYZ2  = 1)
>          PARAMETER (LXZ21  = 1)
>     c
>          PARAMETER (LMAXV=LX1*LY1*LZ1*LELV)
>          PARAMETER (LMAXT=LX1*LY1*LZ1*LELT)
>          PARAMETER (LMAXP=LX2*LY2*LZ2*LELV)
>          PARAMETER (LXZ=LX1*LZ1)
>          PARAMETER (LORDER=3)
>          PARAMETER (MAXOBJ=1,MAXMBR=LELT*6,lhis=10)
>     C
>     C     Common Block Dimensions
>     C
>          PARAMETER (LCTMP0 =2*LX1*LY1*LZ1*LELT)
>          PARAMETER (LCTMP1 =4*LX1*LY1*LZ1*LELT)
>     C
>     C     The parameter LVEC controls whether an additional 42 field
>     arrays
>     C     are required for Steady State Solutions.  If you are not using
>     C     Steady State, it is recommended that LVEC=1.
>     C
>          PARAMETER (LVEC=1)
>     C
>     C     Uzawa projection array dimensions
>     C
>          parameter (mxprev = 20)
>          parameter (lgmres = 30)
>     C
>     C     Split projection array dimensions
>     C
>          parameter(lmvec = 1)
>          parameter(lsvec = 1)
>          parameter(lstore=lmvec*lsvec)
>     c
>     c     NONCONFORMING STUFF
>     c
>          parameter (maxmor = lelt)
>     C
>     C     Array dimensions
>     C
>          COMMON/DIMN/NELV,NELT,NX1,NY1,NZ1,NX2,NY2,NZ2
>         $,NX3,NY3,NZ3,NDIM,NFIELD,NPERT,NID
>         $,NXD,NYD,NZD
>
>
>
>     c automatically added by makenek
>          parameter(lxo   = lx1) ! max output grid size (lxo>=lx1)
>
>     c automatically added by makenek
>     c      parameter(lpart = 10000  ) ! max number of particles
>
>     c automatically added by makenek
>          integer ax1,ay1,az1,ax2,ay2,az2
>          parameter (ax1=lx1,ay1=ly1,az1=lz1,ax2=lx2,ay2=ly2,az2=lz2) !
>     running averages
>
>     _______________________________________________
>     Nek5000-users mailing list
>     Nek5000-users at lists.mcs.anl.gov
>     <mailto:Nek5000-users at lists.mcs.anl.gov>
>     https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>   



More information about the Nek5000-users mailing list