This thread is locked.Only browsing is available.
Top Page > Browsing
Installation
Date: 2005/04/18 02:00
Name: I. Bandyopadhyay   <indra1966in@yahoo.co.in>

Dear Sir,

I am trying to install OPENMX-2.3. With the compiler options,
-----------------------------------------------------------------
CC = gcc -O3 -Dnompi
LIB = -L/home/indra/OPENMX/LIB/fftw/fftw-3.0.1/.libs/ -lfftw3 -L/home/indra/OPENMX/LIB/clapack/CLAPACK -llapaca_LINUX -lblas_LINUX -L/home/indra/OPENMX/LIB/clapack/CLAPACK/F2CLIBS -lF77 -lI77 -static
-----------------------------------------------------------------
when I give the command $make

then I get the following message:
-------------------------------------------------------------------------
$make
gcc -O3 -Dnompi -c openmx.c
gcc -O3 -Dnompi -c openmx_common.c
gcc -O3 -Dnompi -c Input_std.c
gcc -O3 -Dnompi -c Inputtools.c
gcc -O3 -Dnompi -c init.c
gcc -O3 -Dnompi -c LU_inverse.c
gcc -O3 -Dnompi -c ReLU_inverse.c
gcc -O3 -Dnompi -c truncation.c
gcc -O3 -Dnompi -c readfile.c
gcc -O3 -Dnompi -c FT_PAO.c
gcc -O3 -Dnompi -c FT_NLP.c
gcc -O3 -Dnompi -c FT_ProExpn_VNA.c
gcc -O3 -Dnompi -c FT_VNA.c
gcc -O3 -Dnompi -c FT_ProductPAO.c
gcc -O3 -Dnompi -c FT_LESP_Weight.c
gcc -O3 -Dnompi -c Hamiltonian_Cluster.c
gcc -O3 -Dnompi -c Overlap_Cluster.c
gcc -O3 -Dnompi -c Hamiltonian_Band.c
gcc -O3 -Dnompi -c Overlap_Band.c
gcc -O3 -Dnompi -c Hamiltonian_Cluster_NC.c
gcc -O3 -Dnompi -c Hamiltonian_Band_NC.c
gcc -O3 -Dnompi -c Hamiltonian_Cluster_SO.c
gcc -O3 -Dnompi -c SetPara_DFT.c
gcc -O3 -Dnompi -c XC_Ceperly_Alder.c
gcc -O3 -Dnompi -c XC_CA_LSDA.c
gcc -O3 -Dnompi -c XC_PW91C.c
gcc -O3 -Dnompi -c XC_PBE.c
gcc -O3 -Dnompi -c XC_EX.c
gcc -O3 -Dnompi -c DFT.c
gcc -O3 -Dnompi -c Mixing_DM.c
gcc -O3 -Dnompi -c Force.c
gcc -O3 -Dnompi -c Poisson.c

Poisson.c:30:20: fftw3.h: No such file or directory
Poisson.c: In function `FFT_Poisson':
Poisson.c:138: `fftw_complex' undeclared (first use in this function)
Poisson.c:138: (Each undeclared identifier is reported only once
Poisson.c:138: for each function it appears in.)
Poisson.c:138: `in' undeclared (first use in this function)
Poisson.c:138: `out' undeclared (first use in this function)
Poisson.c:139: `fftw_plan' undeclared (first use in this function)
Poisson.c:139: parse error before "p"
Poisson.c:167: `p' undeclared (first use in this function)
Poisson.c:167: `FFTW_ESTIMATE' undeclared (first use in this function)
make: *** [Poisson.o] Error 1
-----------------------------------------------------------------------------------
Any help to solve installation problem will be highly appreciated.

Thank you,

I. Bandyopadhyay

メンテ
Page: [1]

Re: Installation ( No.1 )
Date: 2005/04/19 03:09
Name: I. Bandyopadhyay  <indra1966in@yahoo.co.in>

Installation Problem is solved. It seems to be working well.

I. Bandyopadhyay
メンテ
Re: Installation ( No.2 )
Date: 2005/04/19 14:26
Name: Hao Chang  <hchang@phys.tsinghua.edu.cn>

Hi,

It seems that you did not include the hear file fftw.h in your makefile
There are two way to solve your problem:
one is revise your makefile and add this file to your include item
the other is copy the fftw.h to your openmx's source directory
May it helps
メンテ

Page: [1]