configuratio on AIX Power6 of Garching (Max Plank) machines

Having trouble compiling the Yambo source? Using an unusual architecture? Problems with the "configure" script? This is the place to look.

Moderators: Daniele Varsano, andrea.ferretti, andrea marini, Conor Hogan, myrta gruning

Forum rules
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message

configuratio on AIX Power6 of Garching (Max Plank) machines

Postby kazemoor » Sat Jun 26, 2010 4:27 pm

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
You do not have the required permissions to view the files attached to this post.
kazemoor
 
Posts: 37
Joined: Tue Jun 22, 2010 6:27 am

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

Postby Daniele Varsano » Sun Jun 27, 2010 8:26 pm

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
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
User avatar
Daniele Varsano
 
Posts: 1973
Joined: Tue Mar 17, 2009 2:23 pm

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

Postby kazemoor » Mon Jun 28, 2010 7:41 am

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
kazemoor
 
Posts: 37
Joined: Tue Jun 22, 2010 6:27 am

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

Postby Daniele Varsano » Mon Jun 28, 2010 9:44 am

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
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
User avatar
Daniele Varsano
 
Posts: 1973
Joined: Tue Mar 17, 2009 2:23 pm

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

Postby kazemoor » Mon Jun 28, 2010 1:18 pm

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
kazemoor
 
Posts: 37
Joined: Tue Jun 22, 2010 6:27 am

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

Postby Conor Hogan » Mon Jul 05, 2010 1:13 pm

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.
Dr. Conor Hogan
CNR-ISM, via Fosso del Cavaliere, 00133 Roma, Italy;
Department of Physics and European Theoretical Spectroscopy Facility (ETSF),
University of Rome "Tor Vergata".
User avatar
Conor Hogan
 
Posts: 143
Joined: Tue Mar 17, 2009 12:17 pm

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

Postby bob » Sat Sep 18, 2010 4:37 pm

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
Dr. Bjoern Baumeier
Eindhoven University of Technology
Eindhoven, The Netherlands
bob
 
Posts: 42
Joined: Wed Aug 04, 2010 8:39 am
Location: Eindhoven, The Netherlands

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

Postby Daniele Varsano » Sat Sep 18, 2010 6:36 pm

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
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
User avatar
Daniele Varsano
 
Posts: 1973
Joined: Tue Mar 17, 2009 2:23 pm

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

Postby bob » Sun Sep 19, 2010 10:29 am

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
#
Dr. Bjoern Baumeier
Eindhoven University of Technology
Eindhoven, The Netherlands
bob
 
Posts: 42
Joined: Wed Aug 04, 2010 8:39 am
Location: Eindhoven, The Netherlands

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

Postby Daniele Varsano » Sun Sep 19, 2010 12:00 pm

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
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
User avatar
Daniele Varsano
 
Posts: 1973
Joined: Tue Mar 17, 2009 2:23 pm

Next

Return to Compilation

Who is online

Users browsing this forum: No registered users and 1 guest