Page 1 of 1

Cannot access CORE database (SAVE/*db1 and/or SAVE/*wf)

Posted: Wed Jul 22, 2009 9:34 am
by nkxirainbow
Dear Professor:
I am very glad of using Yambo.
I use fedora 10 of 64 bit.
I met a problem. I follows the instruction to try to run the example. I have obtained the "ns.bd1 ns.wf" files in ./doc/sample/example/bulk_silicon/SAVE directory. However, I got an error "cannot access CORE database (SAVE/*db1 and/or SAVE/*wf)" when I run "yambo" in the ./doc/sample/example/bulk_silicon dictionary.
By the way, I received the password for the SVN repository. Where does the Yambo need the password? When I compile and run yambo, there is no need to input the password.
Can you give me any hlep?
Thank you very much :)


Hui Wang
Nankai University, China.

Re: Cannot access CORE database (SAVE/*db1 and/or SAVE/*wf)

Posted: Wed Jul 22, 2009 10:18 am
by Daniele Varsano
Dear Hui Wang,
the problem you are encountering: "cannot access CORE database (SAVE/*db1 and/or SAVE/*wf)" it is
probably due the fact that you have the database in netcdf format, while your source is compiled
without linking this library. If this is the reason you have to compile netcdf library and link them
when you compile yambo. You can find instructions on how to do that in the yambo web-page at this
link.
Regarding your second question:
If you downloaded yambo from the download page of the website you don't' need any password,
the password is needed if you want to download it from the SVN repository which contains
the latest revsion of the code.

Cheers,

Daniele

Re: Cannot access CORE database (SAVE/*db1 and/or SAVE/*wf)

Posted: Wed Jul 22, 2009 2:50 pm
by nkxirainbow
Dear Daniele:
Thanks a lot for your answer:)
I try to configure with the input "./configure --with-netcdf=/home/raman/accessory-soft/netCDF/lib/". But I still get the previous problem:/
I have attach the output of configure(configure.out) and make all(make.out).
My compiler is g95 and mpif90.The architecture is fedora 10 with 64-bit.
The problems occur compiling in serial and in parallel, and the version of Yambo is "yambo-3.2.1-r.448".

Thanks a lot:)

Re: Cannot access CORE database (SAVE/*db1 and/or SAVE/*wf)

Posted: Wed Jul 22, 2009 3:04 pm
by andrea marini
nkxirainbow wrote:Dear Daniele:
Thanks a lot for your answer:)
I try to configure with the input "./configure --with-netcdf=/home/raman/accessory-soft/netCDF/lib/". But I still get the previous problem:/
I have attach the output of configure(configure.out) and make all(make.out).
My compiler is g95 and mpif90.The architecture is fedora 10 with 64-bit.
The problems occur compiling in serial and in parallel, and the version of Yambo is "yambo-3.2.1-r.448".

Thanks a lot:)
Dear Hui Wang,

there is no file appearing as an attachment. Try to zip/tar the files before uploading. Moreover please add also the config/report and config/setup files.

Andrea

Re: Cannot access CORE database (SAVE/*db1 and/or SAVE/*wf)

Posted: Wed Jul 22, 2009 3:08 pm
by Daniele Varsano
Anyway check at the end of your configure procedure if the netcdf box is marked.
Moreover, typing ./configure -h you can see that the options
--with-netcdf-include=<path>
Path of the NetCDF include directory
--with-netcdf-lib=<path>
Path of the NetCDF lib directory

are required.

Cheers,
Daniele

Re: Cannot access CORE database (SAVE/*db1 and/or SAVE/*wf)

Posted: Wed Jul 22, 2009 3:09 pm
by myrta gruning
Dear Hui Wang,

somehow I cannot see the attached files. Anyway the correct configure command (check ./configure --help) should be:

NETCDFHOME=/home/raman/accessory-soft/netCDF/
./configure FC=ifort CC=icc --with-netcdf-include=$NETCDFHOME/include --with-netcdf-lib=$NETCDFHOME/lib

At the end you get a report of the configuration. And you should get a cross corresponding to NETCDF like that

Code: Select all

# [X ] NETCDF/Large Files 
Note as well that netcdf is quite "nasty". Usually you need to compile it with the same compiler as the program. :roll:

cheers
m

Re: Cannot access CORE database (SAVE/*db1 and/or SAVE/*wf)

Posted: Thu Jul 23, 2009 4:03 am
by nkxirainbow
Dear Daniele, Andrea and Dr Myrta GrĂ¼ning

Thank you very much. :) I follow you instruction and configure again smoothly. :D
And I am very glad that I run the yambo in ./doc/sample/bulk_silicon successfully. :lol:

I do not change the configure file and I input ./configure --with-netcdf-include=/home/raman/accessory-soft/netcdf/include/ --with-netcdf-lib=/home/raman/accessory-soft/netcdf/lib/ --with-iotk=/home/raman/espresso-4.0.4/iotk/ --with-p2y=4.0. I hope it may help others :roll:

Once again, Thanks a lot :P
__________________________
Hui wang
Nankai University,China