Configure Error on IBM Power6

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

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan, Nicola Spallanzani

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
Jia
Posts: 8
Joined: Tue Feb 23, 2010 5:10 pm

Re: Configure Error on IBM Power6

Post by Jia » Sat Feb 27, 2010 2:22 pm

Sorry. in last message I made a typo

netcdf.h netcdf.hh netcdf.inc netcdf.mod netcdfcpp.h

the above files are included in the /usr/local/include directory.
Dr. Jia Li
Fritz-Haber-Institut der Max-Planck-Gesellschaft

User avatar
Daniele Varsano
Posts: 3816
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: Configure Error on IBM Power6

Post by Daniele Varsano » Sat Feb 27, 2010 2:40 pm

Dear Jia Li,
what's the message in the config.log regarding
the netcdf libraries? Check if the configure does not find the
or it is a problem of different kind.
The netcdf should be compiled with the same compiler you are using to compile
Yambo, anyway in sp6 it should be the case with the xlf_r xlc_r.

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/

Jia
Posts: 8
Joined: Tue Feb 23, 2010 5:10 pm

Re: Configure Error on IBM Power6

Post by Jia » Sat Feb 27, 2010 6:50 pm

Dear Daniele,

I checked the config.log file. The regarding netcdf information is as following:

$ ./configure CC=xlc_r -q64 CPP=cpp F77=xlf_r FC=xlf90_r UFFLAGS=-q64 FCFLAGS=-O2 -q64 -qstrict -qarch=pwr6 -qtune=pwr6 -qmaxmem=-1 -qsuffix=f=f --without-mpi --with-netcdf-lib=/usr/local/lib --with-netcdf-include=/usr/local/include --with-p2y=4.0 --with-iotk=/u/jiali/Code/espresso-4.0.5/iotk --build=powerpc-ibm

"conftest.f", line 2.5: 1514-267 (S) The current program unit has a different setting for the -q64 option than was specified in the module netcdf. Unexpected errors may result.
| use netcdf
"conftest.f", line 2.5: 1514-219 (S) Unable to access module symbol file for module netcdf. Check path and file permissions of file. Use association not done for this module.
| use netcdf
"conftest.f", line 2.5: 1514-219 (S) Unable to access module symbol file for module netcdf. Check path and file permissions of file. Use association not done for this module.
| use netcdf
dnetcdf=''
netcdf='no'

It seems that module netcdf is not compiled with -q64 option.

So should I download netcdf library by myself and comlile it with -q64 option?

Thanks

Jia
Dr. Jia Li
Fritz-Haber-Institut der Max-Planck-Gesellschaft

User avatar
Daniele Varsano
Posts: 3816
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: Configure Error on IBM Power6

Post by Daniele Varsano » Sat Feb 27, 2010 7:23 pm

Dear Jia,
It seems that module netcdf is not compiled with -q64 option.
Yes, it looks like!!
So should I download netcdf library by myself and comlile it with -q64 option?
It could be the easiest and fastest way to proceed,

Regards,
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/

Jia
Posts: 8
Joined: Tue Feb 23, 2010 5:10 pm

Re: Configure Error on IBM Power6

Post by Jia » Sun Feb 28, 2010 6:02 pm

Dear Daniele,

I have downloaded the netcdf library and installed it. Now I compiled the Yambo in serial. And I test the LiF example which is supplied on the Yambo webpage. It works fine.
However, if I want to compile Yambo in parallel, should I also compile the netcdf library in parallel?

Thanks

Jia
Dr. Jia Li
Fritz-Haber-Institut der Max-Planck-Gesellschaft

User avatar
Conor Hogan
Posts: 111
Joined: Tue Mar 17, 2009 12:17 pm
Contact:

Re: Configure Error on IBM Power6

Post by Conor Hogan » Mon Mar 01, 2010 1:00 pm

Dear Jia,
Yambo does not currently make use of parallellization capabilities in netCDF-4, so you should be able to work fine with a serial netCDF.
Your problem seems to have been with the -q64 options, so I expect the parallel yambo compilation will work fine.
Regards,
Conor
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".

Post Reply