run yambo
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: 287
- Joined: Fri Apr 09, 2010 12:30 pm
run yambo
Dear developers;
I install netcdf first and it run well.Then I install yambo as the following procedure:
1. ./configure --with-netcdf-include=/home/sdwang/netcdf/include/ --with-netcdf-lib=/home/sdwang/netcdf/lib/ --with-iotk=/home/raman/espresso-3.2.3/iotk/ --with-p2y=3.2
2. I got :
[VER] 3.2.1 r.448
#
# [SYS] linux@x86_64
# [SRC] /home/sdwang/yambo-3.2.1-r.448
# [BIN] /home/sdwang/yambo-3.2.1-r.448/bin
# [FFT] Goedecker Fast Fourier transform with 0 cache
#
# [ ] Double precision
# [X] Redundant compilation
# [X] MPI
# [X] PW (3.2) support
# [ ] ETSF I/O support
# [ ] SCALAPACK
# [ ] NETCDF/Large Files
# [XX ] Built-in BLAS/LAPACK/LOCAL
#
# [ CPP ] gcc -E -P
# [ C ] gcc -g -O2 -D_C_US -D_FORTRAN_US
# [MPICC] mpicc -g -O2 -D_C_US -D_FORTRAN_US
# [ F90 ] ifort -assume bscc -O3 -ip -tpp7
# [MPIF ] mpif90 -assume bscc -O3 -ip -tpp7
# [ F77 ] ifort -assume bscc -O3 -ip -tpp7
# [Cmain] -nofor_main
# [NoOpt] -assume bscc -O0 -tpp7
#
# [ MAKE ] make
# [EDITOR] vi
3. make all
Then I reach in the sample/bulk_silicon/,and do
gunzip database_DB1_NETCDF_format.gz
> /home/sdwang/netcdf/bin/ncgen -o ns.db1 database_DB1_NETCDF_format
> gunzip database_WF_NETCDF_format.gz
> /home/sdwang/netcdf/bin/ncgen -o ns.wf database_WF_NETCDF_format
after this, I input /home/sdwang/yambo-3.2.1-r.448/bin/yambo,but it appears
yambo: cannot access CORE database (SAVE/*db1 and/or SAVE/*wf)
What is my problem?
sd wang
Southeast University in Nanjing
I install netcdf first and it run well.Then I install yambo as the following procedure:
1. ./configure --with-netcdf-include=/home/sdwang/netcdf/include/ --with-netcdf-lib=/home/sdwang/netcdf/lib/ --with-iotk=/home/raman/espresso-3.2.3/iotk/ --with-p2y=3.2
2. I got :
[VER] 3.2.1 r.448
#
# [SYS] linux@x86_64
# [SRC] /home/sdwang/yambo-3.2.1-r.448
# [BIN] /home/sdwang/yambo-3.2.1-r.448/bin
# [FFT] Goedecker Fast Fourier transform with 0 cache
#
# [ ] Double precision
# [X] Redundant compilation
# [X] MPI
# [X] PW (3.2) support
# [ ] ETSF I/O support
# [ ] SCALAPACK
# [ ] NETCDF/Large Files
# [XX ] Built-in BLAS/LAPACK/LOCAL
#
# [ CPP ] gcc -E -P
# [ C ] gcc -g -O2 -D_C_US -D_FORTRAN_US
# [MPICC] mpicc -g -O2 -D_C_US -D_FORTRAN_US
# [ F90 ] ifort -assume bscc -O3 -ip -tpp7
# [MPIF ] mpif90 -assume bscc -O3 -ip -tpp7
# [ F77 ] ifort -assume bscc -O3 -ip -tpp7
# [Cmain] -nofor_main
# [NoOpt] -assume bscc -O0 -tpp7
#
# [ MAKE ] make
# [EDITOR] vi
3. make all
Then I reach in the sample/bulk_silicon/,and do
gunzip database_DB1_NETCDF_format.gz
> /home/sdwang/netcdf/bin/ncgen -o ns.db1 database_DB1_NETCDF_format
> gunzip database_WF_NETCDF_format.gz
> /home/sdwang/netcdf/bin/ncgen -o ns.wf database_WF_NETCDF_format
after this, I input /home/sdwang/yambo-3.2.1-r.448/bin/yambo,but it appears
yambo: cannot access CORE database (SAVE/*db1 and/or SAVE/*wf)
What is my problem?
sd wang
Southeast University in Nanjing
- Daniele Varsano
- Posts: 3816
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: run yambo
From your configure oputput, the netcdf option is not crossed.
It means that they are not linked properly. Please check in config.log
what is happening, and if you cannot solve it, post here the config.log file.
Regards,
Daniele
It means that they are not linked properly. Please check in config.log
what is happening, and if you cannot solve it, post here the config.log file.
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: 287
- Joined: Fri Apr 09, 2010 12:30 pm
Re: run yambo
This is my config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Yambo configure 3.2.1 r.448 , which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --with-netcdf-include=/home/sdwang/net/local/include/ --with-netcdf-lib=/home/sdwang/net/local/lib/ --with-iotk=/home/sdwang/espresso-3.2.3/iotk/ --with-p2y=3.2
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Yambo configure 3.2.1 r.448 , which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --with-netcdf-include=/home/sdwang/net/local/include/ --with-netcdf-lib=/home/sdwang/net/local/lib/ --with-iotk=/home/sdwang/espresso-3.2.3/iotk/ --with-p2y=3.2
You do not have the required permissions to view the files attached to this post.
- andrea marini
- Posts: 325
- Joined: Mon Mar 16, 2009 4:27 pm
- Contact:
Re: run yambo
Dear sdwang, I have edited your post. Please attach big files as gzipped attachments. Otherwise the post is unreadable.
Andrea MARINI
Istituto di Struttura della Materia, CNR, (Italy)
Istituto di Struttura della Materia, CNR, (Italy)
- Daniele Varsano
- Posts: 3816
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: run yambo
Dear Sdwang
looking at the logfile you post, there is not any reference to the netcdf libraries.
Please, be sure to include the right path in the options:
--with-netcdf-include=
and
--with-netcdf-lib=
i.e.: it is present libnetcdf.a in /home/sdwang/net/local/lib/ ?
moreover it is important that the netcdf library are compiled with the same compiler you are
compiling yambo.
Regards,
Daniele
looking at the logfile you post, there is not any reference to the netcdf libraries.
Please, be sure to include the right path in the options:
--with-netcdf-include=
and
--with-netcdf-lib=
i.e.: it is present libnetcdf.a in /home/sdwang/net/local/lib/ ?
moreover it is important that the netcdf library are compiled with the same compiler you are
compiling yambo.
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: 287
- Joined: Fri Apr 09, 2010 12:30 pm
Re: run yambo
If I want to configure with f95,should I set :./configure --with-netcdf-include=/home/sdwang/net/local/include/ --with-netcdf-lib=/home/sdwang/net/local/lib/ --with-iotk=/home/sdwang/espresso-3.2.3/iotk/ --with-p2y=3.2 --enable-f95?
Or, I want to use F95 configure the yambo, What I should do?
Thanks!
Or, I want to use F95 configure the yambo, What I should do?
Thanks!
- Daniele Varsano
- Posts: 3816
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: run yambo
Dear Sdwang,
let me ask you to fill your signature when submitting a post. You can do it directly in your profile. This is a rule of the forum.
In this way it should work:
/configure --with-netcdf-include=/home/sdwang/net/local/include/ --with-netcdf-lib=/home/sdwang/net/local/lib/ --with-iotk=/home/sdwang/espresso-3.2.3/iotk/ --with-p2y=3.2 FC=f95
otherwise export your compiler variable before configuring Yambo:
export FC=f95
./configure .....
Regards,
Daniele
let me ask you to fill your signature when submitting a post. You can do it directly in your profile. This is a rule of the forum.
In this way it should work:
/configure --with-netcdf-include=/home/sdwang/net/local/include/ --with-netcdf-lib=/home/sdwang/net/local/lib/ --with-iotk=/home/sdwang/espresso-3.2.3/iotk/ --with-p2y=3.2 FC=f95
otherwise export your compiler variable before configuring Yambo:
export FC=f95
./configure .....
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: 287
- Joined: Fri Apr 09, 2010 12:30 pm
Re: run yambo
I compile yambo with:
./configure --with-netcdf-include=/home/sdwang/netcdf/include/ --with-netcdf-lib=/home/sdwang/netcdf/lib/ --with-iotk=/home/sdwang/espresso-3.2.3/iotk/ --with-p2y=3.2 FC=ifort, and then "make all" ,the result is:
#
# [VER] 3.2.1 r.448
#
# [SYS] linux@x86_64
# [SRC] /home/sdwang/yambo-3.2.1-r.448
# [BIN] /home/sdwang/yambo-3.2.1-r.448/bin
# [FFT] Goedecker Fast Fourier transform with 0 cache
#
# [ ] Double precision
# [X] Redundant compilation
# [X] MPI
# [X] PW (3.2) support
# [ ] ETSF I/O support
# [ ] SCALAPACK
# [X ] NETCDF/Large Files
# [XX ] Built-in BLAS/LAPACK/LOCAL
#
# [ CPP ] gcc -E -P
# [ C ] gcc -g -O2 -D_C_US -D_FORTRAN_US
# [MPICC] mpicc -g -O2 -D_C_US -D_FORTRAN_US
# [ F90 ] ifort -assume bscc -O3 -ip -tpp7
# [MPIF ] mpif90 -assume bscc -O3 -ip -tpp7
# [ F77 ] ifort -assume bscc -O3 -ip -tpp7
# [Cmain] -nofor_main
# [NoOpt] -assume bscc -O0 -tpp7
#
# [ MAKE ] make
# [EDITOR] vi
#
and NETCDF is compiled with ./configure FC=ifort prefix==/home/sdwang/netcdf/, it seems right.
But "yambo: cannot access CORE database (SAVE/*db1 and/or SAVE/*wf)" also appears.
Sdwang
Southeast University
./configure --with-netcdf-include=/home/sdwang/netcdf/include/ --with-netcdf-lib=/home/sdwang/netcdf/lib/ --with-iotk=/home/sdwang/espresso-3.2.3/iotk/ --with-p2y=3.2 FC=ifort, and then "make all" ,the result is:
#
# [VER] 3.2.1 r.448
#
# [SYS] linux@x86_64
# [SRC] /home/sdwang/yambo-3.2.1-r.448
# [BIN] /home/sdwang/yambo-3.2.1-r.448/bin
# [FFT] Goedecker Fast Fourier transform with 0 cache
#
# [ ] Double precision
# [X] Redundant compilation
# [X] MPI
# [X] PW (3.2) support
# [ ] ETSF I/O support
# [ ] SCALAPACK
# [X ] NETCDF/Large Files
# [XX ] Built-in BLAS/LAPACK/LOCAL
#
# [ CPP ] gcc -E -P
# [ C ] gcc -g -O2 -D_C_US -D_FORTRAN_US
# [MPICC] mpicc -g -O2 -D_C_US -D_FORTRAN_US
# [ F90 ] ifort -assume bscc -O3 -ip -tpp7
# [MPIF ] mpif90 -assume bscc -O3 -ip -tpp7
# [ F77 ] ifort -assume bscc -O3 -ip -tpp7
# [Cmain] -nofor_main
# [NoOpt] -assume bscc -O0 -tpp7
#
# [ MAKE ] make
# [EDITOR] vi
#
and NETCDF is compiled with ./configure FC=ifort prefix==/home/sdwang/netcdf/, it seems right.
But "yambo: cannot access CORE database (SAVE/*db1 and/or SAVE/*wf)" also appears.
Sdwang
Southeast University
- andrea marini
- Posts: 325
- Joined: Mon Mar 16, 2009 4:27 pm
- Contact:
Re: run yambo
This is very strange. If you compiled with NETCDF support then you should be able to read the databases. So let's move step by stepsdwang wrote: and NETCDF is compiled with ./configure FC=ifort prefix==/home/sdwang/netcdf/, it seems right.
But "yambo: cannot access CORE database (SAVE/*db1 and/or SAVE/*wf)" also appears.
- Do a make clean_all and Post the list of files in the lib and include directories immediately after the configure. You should see something like
If these files are present then yambo will be properly compiled.Code: Select all
./lib/libnetcdf_c++.a ./lib/libnetcdf.a ./config/netcdf_f90.m4 ./include/netcdf.mod ./include/netcdf.h ./include/netcdf.inc ./include/netcdfcpp.h ./include/netcdf.hh
- Are you sure you're running the code UP of the SAVE folder ? Please post the result of ls -R in the directory where you're running yambo.
Please.... we do need you COMPLETE name and your COMPLETE affiliation. I have no idea where the Southeast University and I am sure your name is not only sdwang! Edit these informations in your signature that you can access via your User control panel.Sdwang
Southeast University
Andrea MARINI
Istituto di Struttura della Materia, CNR, (Italy)
Istituto di Struttura della Materia, CNR, (Italy)
-
- Posts: 287
- Joined: Fri Apr 09, 2010 12:30 pm
Re: run yambo
This my configure.log of yambo-3.2.1-r.448 and netcdf-4.0.1,please check it.Thanks!
Shudong Wang
Department of Physics os Southeast University in Nanjing ,China
Shudong Wang
Department of Physics os Southeast University in Nanjing ,China
You do not have the required permissions to view the files attached to this post.