Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] Abinit 4.5.2 with Absoft Fortran 9.2 on OSX

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] Abinit 4.5.2 with Absoft Fortran 9.2 on OSX


Chronological Thread 
  • From: Xavier Gonze <gonze@pcpm.ucl.ac.be>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] Abinit 4.5.2 with Absoft Fortran 9.2 on OSX
  • Date: Sat, 18 Jun 2005 20:27:34 +0200

fparnold@binghamton.edu wrote:
Hello,

As it appears that IBM will not be updating XLF for OSX 10.4 , I have tried
to compile abinit 4.5.2 using Absoft 9.2 and the existing Absoft
makefile_macros. I have run into the following problem in three places, of
which this last one is fatal:

Src_5common/forces.F90

allocate(forold(3,natom));forold(:,:)=fcart(:,:)
^ cf90-1640 f90fe: ERROR FORCES, File = forces_cpp.f, Line = 156, Column = 49 Dummy arguments with the INTENT(OUT) attribute must be defined before use.

However, in the block above this line, you can find the following two
declarations

real(dp),intent(out) :: favg(3),fcart(3,natom),fred(3,natom),grhf(3,natom)
real(dp),allocatable :: forold(:,:),grl(:,:),grnl_tmp(:,:),grtn(:,:)

I'm afraid that I'm not terribly Fortran90/95 fluent (still speaking f77 most days), but XLF eats this without a complaint. Any suggestions of how to fix/avoid this error?
Thank you for your time.

Btw, anyone with suggestions for an OSX Fortran 95 that they'd trust being
around for a few years, I'd be pleased to hear of it.

-Fred


Done in v4.5.3 to appear soon,
Xavier




Archive powered by MHonArc 2.6.16.

Top of Page