Skip to Content.
Sympa Menu

forum - Abinit 4.5.2 with Absoft Fortran 9.2 on OSX

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Abinit 4.5.2 with Absoft Fortran 9.2 on OSX


Chronological Thread 
  • From: fparnold@binghamton.edu
  • To: forum@abinit.org
  • Subject: Abinit 4.5.2 with Absoft Fortran 9.2 on OSX
  • Date: Thu, 9 Jun 2005 23:08:58 +0200

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



Archive powered by MHonArc 2.6.16.

Top of Page