Page 1 of 2

configuratio on AIX Power6 of Garching (Max Plank) machines

Posted: Sat Jun 26, 2010 4:27 pm
by kazemoor
Dear All
I am trying to configure Yambo.3.2.1 r.448 on Garching machines(Germany) But it fails. Please help me to install .
I post my config.log file.If anyone needs , I can give Username and password in this machines . Any help would be appreciated .
Thanks a lot
Ali Kazempour
Isfahan University of Tech., Physics Dept,Iran

Re: configuratio on AIX Power6 of Garching (Max Plank) machines

Posted: Sun Jun 27, 2010 8:26 pm
by Daniele Varsano
Dear Ali,
it looks you have problem with the mpxlf90_r compiler,
I don't know what the problem exactly is, anyway try to not specify it,
and try something like that:

./configure --build=powerpc-ibm FC=xlf90_r F77=xlf_r CC=xlc_r CPP=cpp FCFLAGS="-O2 -q64 -qstrict -qarch=pwr6 -qtune=pwr6 -qmaxmem=-1 -qsuffix=f=f" CFLAGS="-q64"

this is for ibm-powerpc.

and you can also have a look at this post, may be it can help you.

Hope it helps,
if you do not succeed post again thbe confg.log file, and may be someone more expert than me can help you.

Cheers,

Daniele

Re: configuratio on AIX Power6 of Garching (Max Plank) machines

Posted: Mon Jun 28, 2010 7:41 am
by kazemoor
Dear Danilele
Thanks for help. It works successfully, But I have another problem with Makefile. When I make yambo it fails with the errors depend on space tab. again I make yambo with gmake command but it fails . I send the Makefile and the errores.
Thanks

Re: configuratio on AIX Power6 of Garching (Max Plank) machines

Posted: Mon Jun 28, 2010 9:44 am
by Daniele Varsano
Yes, I think you have to use gmake,
please post the error you encountered, and the makefile,
actually on your post the attachment is not present.

Best,

Daniele

Re: configuratio on AIX Power6 of Garching (Max Plank) machines

Posted: Mon Jun 28, 2010 1:18 pm
by kazemoor
Dear Daniele
As you said I used gmake but I have error yet. the error in report is
** parser_m === End of Compilation 1 ===
1501-511 Compilation failed for file mod_parser_m.f.
gmake[1]: *** [mod_parser_m.o] Error 1
gmake[1]: Leaving directory `/u/kazempou/yambo-3.2.0-r.315/src/parser'
gmake: *** [yambo] Error 2

I send my Makefile in new post "error in make"
Thanks a lot

Re: configuratio on AIX Power6 of Garching (Max Plank) machines

Posted: Mon Jul 05, 2010 1:13 pm
by Conor Hogan
Make sure to clean up everything before recompiling, i.e. gmake clean_all
- in particular there shouldnt be any mod_parser_m.f files lying around.

Re: configuratio on AIX Power6 of Garching (Max Plank) machines

Posted: Sat Sep 18, 2010 4:37 pm
by bob
Hi,

I just tried to compile yambo on the IBM Power6 as well. After following the advice posted in this thread, I am still stuck with the compile error for "mod_parser_m.f"

I used

./configure --build=powerpc-ibm FC=xlf90_r F77=xlf_r CC=xlc_r CPP=cpp FCFLAGS="-O2 -q64 -qstrict -qarch=pwr6 -qtune=pwr6 -qmaxmem=-1 -qsuffix=f=f" CFLAGS="-q64" --with-iotk='/u/bob/quantum-espresso/iotk' --with-p2y=4.0

to configure and then "gmake yambo" fails with

** parser_lib === End of Compilation 1 ===
1501-510 Compilation successful for file parser_lib.f.
"mod_parser_m.f", line 24.6: 1514-267 (S) The current program unit has a different setting for the -q64 option than was specified in the module pars. Unexpected errors may result.
"mod_parser_m.f", line 34.10: 1514-267 (S) The current program unit has a different setting for the -q64 option than was specified in the module parser_lib. Unexpected errors may result.
"mod_parser_m.f", line 35.10: 1514-267 (S) The current program unit has a different setting for the -q64 option than was specified in the module stderr. Unexpected errors may result.
"mod_parser_m.f", line 48.10: 1514-267 (S) The current program unit has a different setting for the -q64 option than was specified in the module stderr. Unexpected errors may result.
"mod_parser_m.f", line 49.10: 1514-267 (S) The current program unit has a different setting for the -q64 option than was specified in the module parser_lib. Unexpected errors may result.
"mod_parser_m.f", line 56.25: 1514-211 (E) KIND indicator must be an integer constant.
"mod_parser_m.f", line 60.10: 1514-267 (S) The current program unit has a different setting for the -q64 option than was specified in the module parser_lib. Unexpected errors may result.
"mod_parser_m.f", line 61.10: 1514-267 (S) The current program unit has a different setting for the -q64 option than was specified in the module stderr. Unexpected errors may result.
"mod_parser_m.f", line 70.27: 1514-211 (E) KIND indicator must be an integer constant.
"mod_parser_m.f", line 75.10: 1514-267 (S) The current program unit has a different setting for the -q64 option than was specified in the module parser_lib. Unexpected errors may result.
"mod_parser_m.f", line 76.10: 1514-267 (S) The current program unit has a different setting for the -q64 option than was specified in the module stderr. Unexpected errors may result.
"mod_parser_m.f", line 86.29: 1514-211 (E) KIND indicator must be an integer constant.
"mod_parser_m.f", line 92.10: 1514-267 (S) The current program unit has a different setting for the -q64 option than was specified in the module parser_lib. Unexpected errors may result.
"mod_parser_m.f", line 93.10: 1514-267 (S) The current program unit has a different setting for the -q64 option than was specified in the module stderr. Unexpected errors may result.
"mod_parser_m.f", line 96.11: 1516-050 (S) Expression or initial value must be evaluated at compile time.
"mod_parser_m.f", line 97.11: 1516-050 (S) Expression or initial value must be evaluated at compile time.
"mod_parser_m.f", line 105.10: 1514-267 (S) The current program unit has a different setting for the -q64 option than was specified in the module parser_lib. Unexpected errors may result.
"mod_parser_m.f", line 106.10: 1514-267 (S) The current program unit has a different setting for the -q64 option than was specified in the module stderr. Unexpected errors may result.
"mod_parser_m.f", line 109.11: 1516-050 (S) Expression or initial value must be evaluated at compile time.
"mod_parser_m.f", line 111.11: 1516-050 (S) Expression or initial value must be evaluated at compile time.
"mod_parser_m.f", line 123.10: 1514-267 (S) The current program unit has a different setting for the -q64 option than was specified in the module parser_lib. Unexpected errors may result.
"mod_parser_m.f", line 124.10: 1514-267 (S) The current program unit has a different setting for the -q64 option than was specified in the module stderr. Unexpected errors may result.
"mod_parser_m.f", line 127.11: 1516-050 (S) Expression or initial value must be evaluated at compile time.
"mod_parser_m.f", line 129.11: 1516-050 (S) Expression or initial value must be evaluated at compile time.
"mod_parser_m.f", line 143.10: 1514-267 (S) The current program unit has a different setting for the -q64 option than was specified in the module parser_lib. Unexpected errors may result.
"mod_parser_m.f", line 144.10: 1514-267 (S) The current program unit has a different setting for the -q64 option than was specified in the module stderr. Unexpected errors may result.
"mod_parser_m.f", line 151.10: 1514-267 (S) The current program unit has a different setting for the -q64 option than was specified in the module parser_lib. Unexpected errors may result.
"mod_parser_m.f", line 152.10: 1514-267 (S) The current program unit has a different setting for the -q64 option than was specified in the module stderr. Unexpected errors may result.
"mod_parser_m.f", line 155.14: 1516-050 (S) Expression or initial value must be evaluated at compile time.
"mod_parser_m.f", line 156.14: 1516-050 (S) Expression or initial value must be evaluated at compile time.
"mod_parser_m.f", line 157.11: 1516-050 (S) Expression or initial value must be evaluated at compile time.
"mod_parser_m.f", line 163.18: 1514-211 (E) KIND indicator must be an integer constant.
"mod_parser_m.f", line 163.24: 1514-211 (E) KIND indicator must be an integer constant.
"mod_parser_m.f", 1516-036 (S) Entity dp has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity iparse_isdef has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity sp has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity sp has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity dp has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity sp has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity sp has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity iparse_isdef has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity iparse_isdef has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity iparse_isdef has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity sp has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity iparse_isdef has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity dp has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity cstr has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity cstr has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity cstr has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity cstr has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity cstr has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity cstr has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity sp has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity dp has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity sp has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity cstr has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity cstr has undefined type.
"mod_parser_m.f", 1516-036 (S) Entity lchlen has undefined type.
** parser_m === End of Compilation 1 ===
1501-511 Compilation failed for file mod_parser_m.f.
gmake[1]: *** [mod_parser_m.o] Error 1
gmake: *** [yambo] Error 2
user=35.907 system=6.149 real=3:03.77

Any suggestion what is still going wrong?

Cheers,
Bjoern

Re: configuratio on AIX Power6 of Garching (Max Plank) machines

Posted: Sat Sep 18, 2010 6:36 pm
by Daniele Varsano
Dear Bjoern,
have you typed gmake clean_all before recompiling with that option, as suggested by Conor ?
It looks as you have a mod_parser_m.f file from a previous compilation.
If this is not the case right now, no idea on what's going wrong.
Best,
Daniele

Re: configuratio on AIX Power6 of Garching (Max Plank) machines

Posted: Sun Sep 19, 2010 10:29 am
by bob
Hi Daniele,

I did "gmake clean_all" but still the error persists. Could it be that the -q64 option is not passed to/used correctly by the C compiler?


#
# [VER] 3.2.1 r.448
#
# [SYS] aix@powerpc
# [SRC] /u/bob/qesp/yambo-3.2.1-r.448
# [BIN] /u/bob/qesp/yambo-3.2.1-r.448/bin
# [FFT] Goedecker Fast Fourier transform with 16 cache
#
# [ ] Double precision
# [X] Redundant compilation
# [X] MPI
# [X] PW (4.0) support
# [ ] ETSF I/O support
# [X] SCALAPACK
# [ ] NETCDF/Large Files
# [XX ] Built-in BLAS/LAPACK/LOCAL
#
# [ CPP ] cpp -P
# [ C ] xlc_r -q64
# [MPICC] mpcc -q64
# [ F90 ] xlf90_r -O2 -q64 -qstrict -qarch=pwr6 -qtune=pwr6 -qmaxmem=-1 -qsuffix=f=f
# [MPIF ] mpxlf90 -O2 -q64 -qstrict -qarch=pwr6 -qtune=pwr6 -qmaxmem=-1 -qsuffix=f=f
# [ F77 ] xlf_r -O2 -q64 -qstrict -qarch=pwr6 -qtune=pwr6 -qmaxmem=-1 -qsuffix=f=f
# [Cmain]
# [NoOpt]
#
# [ MAKE ] gmake
# [EDITOR] emacs -nw
#

Re: configuratio on AIX Power6 of Garching (Max Plank) machines

Posted: Sun Sep 19, 2010 12:00 pm
by Daniele Varsano
Dear Bjoern,
I think that the problem is related to the UFFLAGS, that have to be set manually.
Please look at the post by Conor that you can find here

So try what's happen adding

Code: Select all

UFFLAGS="-q64 -O0"
in your configuration.

Hope it solve your problem.

Daniele