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.
Configure Error on IBM Power6
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
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
-
- Posts: 8
- Joined: Tue Feb 23, 2010 5:10 pm
Re: Configure Error on IBM Power6
Dr. Jia Li
Fritz-Haber-Institut der Max-Planck-Gesellschaft
Fritz-Haber-Institut der Max-Planck-Gesellschaft
- Daniele Varsano
- Posts: 4198
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: Configure Error on IBM Power6
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
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/
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/
-
- Posts: 8
- Joined: Tue Feb 23, 2010 5:10 pm
Re: Configure Error on IBM Power6
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
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
Fritz-Haber-Institut der Max-Planck-Gesellschaft
- Daniele Varsano
- Posts: 4198
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: Configure Error on IBM Power6
Dear Jia,
Regards,
Daniele
Yes, it looks like!!It seems that module netcdf is not compiled with -q64 option.
It could be the easiest and fastest way to proceed,So should I download netcdf library by myself and comlile it with -q64 option?
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/
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/
-
- Posts: 8
- Joined: Tue Feb 23, 2010 5:10 pm
Re: Configure Error on IBM Power6
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
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
Fritz-Haber-Institut der Max-Planck-Gesellschaft
- Conor Hogan
- Posts: 111
- Joined: Tue Mar 17, 2009 12:17 pm
- Contact:
Re: Configure Error on IBM Power6
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
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".
CNR-ISM, via Fosso del Cavaliere, 00133 Roma, Italy;
Department of Physics and European Theoretical Spectroscopy Facility (ETSF),
University of Rome "Tor Vergata".