This thread is locked.Only browsing is available.
Top Page > Browsing
Problems with IBM compiler
Date: 2005/10/28 06:32
Name: Sergey

Dear Dr. Ozaki,

I have a problem with compiling openMX code on IBM platform using xlc compiler. I got:

xlc_r -I/usr/local/include -Dnompi -c Poisson.c

"Poisson.c", line 179.11: 1506-019 (S) Expecting an array or a pointer to object type.
"Poisson.c", line 180.11: 1506-019 (S) Expecting an array or a pointer to object type.
"Poisson.c", line 197.31: 1506-019 (S) Expecting an array or a pointer to object type.
"Poisson.c", line 198.31: 1506-019 (S) Expecting an array or a pointer to object type.
"Poisson.c", line 224.11: 1506-019 (S) Expecting an array or a pointer to object type.
"Poisson.c", line 225.11: 1506-019 (S) Expecting an array or a pointer to object type.
"Poisson.c", line 242.31: 1506-019 (S) Expecting an array or a pointer to object type.
"Poisson.c", line 243.31: 1506-019 (S) Expecting an array or a pointer to object type.
"Poisson.c", line 397.11: 1506-019 (S) Expecting an array or a pointer to object type.
"Poisson.c", line 398.11: 1506-019 (S) Expecting an array or a pointer to object type.
"Poisson.c", line 415.31: 1506-019 (S) Expecting an array or a pointer to object type.
"Poisson.c", line 416.31: 1506-019 (S) Expecting an array or a pointer to object type.


Using gcc compilation is OK. Do you know how to solve this problem?

Thanks,
Sergey
メンテ
Page: [1]

Re: Problems with IBM compiler ( No.1 )
Date: 2005/10/29 13:46
Name: T.Ozaki

Hi,

The error arising lines are function call lines of FFTW3.
Did you compile FFTW3 using xlc instead of gcc ?
xlc compiler seems to require consistency for the
compileration including libraries.

Regards,

T.Ozaki
メンテ
Re: Problems with IBM compiler ( No.2 )
Date: 2005/10/30 00:37
Name: Sergey

Dear T. Ozaki,

FFTW3 library was compiled using xlc compiler. What should I include else?


Thanks,
Sergey
メンテ
Re: Problems with IBM compiler ( No.3 )
Date: 2005/10/31 23:44
Name: T.Ozaki

Hi,

Though I am not sure what happened, if possible,
I would like to appreciate what happens in case
of FFTW2 instead of FFTW3.

Regards,

T.Ozaki
メンテ
Re: Problems with IBM compiler ( No.4 )
Date: 2005/11/02 01:58
Name: Sergey

Dear Taisuke ,

Fortunately, nothing happened using FFTW2 - everything is compiled without problem. But I think FFTW3 works much faster than FFTW2.

Thanks,
Sergey
メンテ
Re: Problems with IBM compiler ( No.5 )
Date: 2005/11/02 08:37
Name: T.Ozaki

Hi,

There is almost no difference between FFTW2 and FFTW3
in computational time, since only a simple one-dimensional
FFT is called in OpenMX.

Regards,

T.Ozaki
メンテ

Page: [1]