forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- From: Josef Zwanziger <jzwanzig@gmail.com>
- To: forum@abinit.org
- Subject: Re: [abinit-forum] compile problem, 5.7.3
- Date: Mon, 16 Mar 2009 12:34:27 -0300
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=I3+rdHK5t6wQ7TzmMrkoM4pFQErNxjSe/Z7be3YT91FgwaV8aqOsk8H8Yq7PbrmiE1 JXUB4eXLRXutPGqbx5U6wzsBjrMr/9qjCdAQHVB3nUDiTQXU42VNWB+HmssQ8RUgRvBq mCzrIWDKy4AdiTPrnVQUPrjvPdieQxeSx6+7M=
"one" is defined in defs/defs_basis.F90, so if this file is being read
(as it appears to be from your -I../src/defs line) then this should
not be the problem you are observing.
On Mon, Mar 16, 2009 at 12:24 PM, Jess Kondor <kondor.jess@gmail.com> wrote:
> Dear all,
>
> When compiling new version, 5.7.3 using PGI or Pathscale compilers,
> there is a problem:
>
> ftn -DHAVE_CONFIG_H -I. -I../.. -I../../src/01manage_mpi
> -I../../src/01manage_mpi -I../../src/11util -I../../src/11util
> -I../../src/defs -I../../src/defs -I../../src/12geometry
> -I../../src/12geometry -I../../src/12parser -I../../src/12parser
> -I../../src/13recipspace -I../../src/13recipspace
> -I../../src/lib03numeric -I../../src/lib03numeric -I../../src/13xml
> -I../../src/13xml -O2 -OPT:Ofast -fno-math-errno -ffast-math
> -march=barcelona -cpp -c -o dsksta.o dsksta.F90
>
> character(len=500) :: msg
> ^
> pathf95-587 pathf90-3.2: ERROR DSKSTA, File = dsksta.F90, Line = 70,
> Column = 32
> The initialization expression must be a constant to be used with
> PARAMETER assignment for object "B2MB".
>
> pathf95: PathScale(TM) Fortran Version 3.2 (f14) Mon Mar 16, 2009 15:14:35
> pathf95: 389 source lines
> pathf95: 1 Error(s), 0 Warning(s), 0 Other message(s), 0 ANSI(s)
> pathf95: "explain pathf95-message number" gives more information about
> each message
> make: *** [dsksta.o] Error 2
>
> It seems PGI/Pathscale have problem with the previous line,
> real(dp),parameter :: b2Mb=one/float(1024*1024)
> to be exact, with 'one' definition. I think they would prefer number
> instead of 'one'. Am I correct?
>
> thanks,
> jess
>
--
Josef W. Zwanziger
Professor of Chemistry
Canada Research Chair in NMR Studies of Materials
Director, Atlantic Region Magnetic Resonance Centre
Dalhousie University
Halifax, NS B3H 4J3 Canada
tel: +1 (902) 494-1960
fax: +1 (902) 494-1867
web: http://jwz.chem.dal.ca
jzwanzig@gmail.com, jzwanzig@dal.ca
- [abinit-forum] compile problem, 5.7.3, Jess Kondor, 03/16/2009
- Re: [abinit-forum] compile problem, 5.7.3, Josef Zwanziger, 03/16/2009
- Re: [abinit-forum] compile problem, 5.7.3, Damien Caliste, 03/16/2009
- Re: [abinit-forum] compile problem, 5.7.3, Jess Kondor, 03/16/2009
- Re: [abinit-forum] compile problem, 5.7.3, Xavier Gonze, 03/16/2009
Archive powered by MHonArc 2.6.15.