[Pw_forum] Compiling pwscf using ifc 7.1 on a x64-64 system
    Eros Albertazzi 
    phyche1 at bo.imm.cnr.it
       
    Mon Mar  1 13:27:45 CET 2004
    
    
  
Jonathan Breeze wrote:
> Dear Garardo,
> 
> Actually I have had a spot of bother trying to get pwscf going using the 
> PGI compiler for x86-64 architechtures.  Everything compiles OK but 
> there are constant segmentation faults occuring.  I'm not sure if it is 
> a compiler bug or not at the moment.
there is a problem w/PGI SUM function..
I reported it to Dave Borer and they have created tpr3142 to address it.
In setup just substitute
!!!  IF ( nelec == 0.D0 ) nelec = SUM( zv(ityp(1:nat)) )
if( nelec == 0.0d0 ) then
   do na = 1, nat
     nelec = nelec + zv (ityp (na) )
   end do
endif
-- 
Eros Albertazzi
CNR-IMM, Sez. Bologna
Via P.Gobetti 101
I-40129 Bologna, Italy
Tel:(+39)-051-639 9179   Fax:(+39)-051-639 9216
    
    
More information about the users
mailing list