[Pw_forum] Re: [Pw forum] problem with compilation

Bachir Bouhafs bbouhafs at mail.com
Tue Sep 2 20:07:05 CEST 2003


Dear PWscf users,
Thank you for your prompt replies and your help. 

By adding two underscores in the end of definition in make.sys file, I arrived to eliminate many compilation errors related with fft library, but now I have generated other problems which are mentioned below, just after making make pw. so, what may I change now? another help is welcome
Best regards
Bachir

------------------------------------------------
/usr/absoft/lib/libfio.a(lowlevel.o): In function `_temp_file':
lowlevel.o(.text+0x10): the use of `tempnam' is dangerous, better use `mkstemp'
restart.o: In function `__READFILE_NEW_in_RESTART_MODULE':
restart.o(.text+0xcda7): undefined reference to `dscal'
/usr/local/lib/libfftw.a(rader.o): In function `create_rader_aux':
rader.o(.text+0x1ba): undefined reference to `cos'
rader.o(.text+0x1e8): undefined reference to `sin'
/usr/local/lib/libfftw.a(twiddle.o): In function `fftw_compute_twiddle':
twiddle.o(.text+0x7a): undefined reference to `cos'
twiddle.o(.text+0x8f): undefined reference to `sin'
twiddle.o(.text+0x170): undefined reference to `cos'
twiddle.o(.text+0x188): undefined reference to `sin'
twiddle.o(.text+0x2c9): undefined reference to `cos'
twiddle.o(.text+0x2dc): undefined reference to `sin'
collect2: ld returned 1 exit status

make[1]: *** [all] Erreur 1
make[1]: Quitte le répertoire `/root/pw90/PW'
make: *** [pw] Erreur 2
------------------------------------------------


----- Original Message -----
From: Paolo Giannozzi <giannozz at nest.sns.it>
Date: Tue, 2 Sep 2003 15:46:05 +0200
To: pw forum at pwscf.org
Subject: Re: [Pw forum] problem with compilation

> On Tuesday 02 September 2003 13:25, sprokuda at dnk.ru wrote:
> > Dear Bachir ! 
> > [...] you have to add one underscore in the end of definition.
> 
> two underscores: the absoft compiler, unlike many other compilers,
> does not add an underscore to symbol names
> 
> Paolo
> 
> -- 
> Paolo Giannozzi             e-mail:  giannozz at nest.sns.it
> Scuola Normale Superiore    Phone:   +39/050509412
> Piazza dei Cavalieri 7      Fax:     +39/050509417, 050563513     
> I-56126 Pisa, Italy         Office:  Lab. NEST, Via della Faggiola 19
> 
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum



Dr. Bachir Bouhafs
Physics Department
University of Sidi Bel Abbes
22000 Sidi Bel Abbes, Algeria
Mobil:+213 (0)71 18 21 47
Fax:+213 48 54 11 52 
E-mail: bbouhafs at mail.com

-- 
__________________________________________________________
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers




More information about the users mailing list