Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] Dear all, who ever use the Kohn Sham structure(KSS) files with DP or EXC codes?

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] Dear all, who ever use the Kohn Sham structure(KSS) files with DP or EXC codes?


Chronological Thread 
  • From: 文沈 <wshen02@gmail.com>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] Dear all, who ever use the Kohn Sham structure(KSS) files with DP or EXC codes?
  • Date: Mon, 27 Apr 2009 21:46:42 -0700
  • 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; b=a3mDLzUJwQ7XRCN9m0hW0mB59SpZ49xL3t0mCZ3axfXK2aIy+6nADq5VGNDaJWniPC Oa+ORsMtP2g8rF7tJF43Ta53MkdM7vitzUEShqhdqBs4E2O+h9TyLNk6hpIUrbPlGtlY DW2fhjPH6kQvf+FIaIBIBhi7n9R6WMp3bJJWA=

Any for compiling Abinit with ifort,the errors are
gcc   defs_basis.o   -o defs_basis
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [defs_basis] Error 1


On Mon, Apr 27, 2009 at 8:55 PM, 文沈 <wshen02@gmail.com> wrote:
Dear Yann,
Do you have some suceessful experience of the installation of Abinit with ifort or dp with gfortran?

I tried the way you told me, but it fails for Abinit installation, still the same problem.

I tried to install dp with gfortran, and I compile all the libraries with gfortran including netcdf and fftw
The configure is always OK, but when it comes to make,
I get the following errorsgcc -g -O2 -c -o dp_i686-pc-linux-gnu.o bubu_tmp.c
/lib/cpp -C  -DVERSION='"5.1.3"' -DBUILT='"27 Apr 2009"' -P -DFFTWINCLUDEDIR='"/usr/local/include/fftw3.f"' ifftw.f90 > ifftw_tmp.f90
gfortran   -c -o ifftw.o ifftw_tmp.f90
Error: Can't open included file '/usr/local/include/fftw3.f'
 In file ifftw_tmp.f90:53

      call dfftw_plan_dft_3d(plan,nl,nm,nn,b,b,FFTW_FORWARD,FFTW_MEASURE)
                                                          1
Error: Symbol 'fftw_forward' at (1) has no IMPLICIT type
 In file ifftw_tmp.f90:51

      call dfftw_plan_dft_3d(plan,nl,nm,nn,b,b,FFTW_BACKWARD,FFTW_MEASURE)
                                                           1
Error: Symbol 'fftw_backward' at (1) has no IMPLICIT type
 In file ifftw_tmp.f90:51

      call dfftw_plan_dft_3d(plan,nl,nm,nn,b,b,FFTW_BACKWARD,FFTW_MEASURE)
                                                                        1
Error: Symbol 'fftw_measure' at (1) has no IMPLICIT type


I checked the fftw files, there are at the right places.

I appreciate any of your suggestions.


Thanks for your last suggestion!

Wen




On Fri, Apr 24, 2009 at 12:28 AM, Yann Pouillon <yann.pouillon@ehu.es> wrote:
文沈 <wshen02@gmail.com> ha escrito:

I did
 cd src/00basis
 make m_build_info.o m_build_info_fake.o
again comes the error

Oops! Should have been:

 cd src/defs
 make defs_basis
 cd ../..
 make

It was late, yesterday ... ;-)


Best regards,

Yann.

--
Yann Pouillon               European Theoretical Spectroscopy Facility (ETSF)
Tel: (+34) 943 01 83 94     Centro Joxe Mari Korta, Avenida de Tolosa, 72
Fax: (+34) 943 01 83 90     20018 Donostia-San Sebastián (Gipuzkoa)
Web: http://www.etsf.es/    España








Archive powered by MHonArc 2.6.15.

Top of Page