Dear Vipul,
I see several issues with the procedure you are following.
First of all, unfortunately, the PETSc/SLEPc version you are using is too recent. Yambo 5.0 supports PETSc/SLEPc only up to version 3.20. Yambo 5.3 supports up to version 3.22 by default, but with a patch that I am attaching you can extend the support up to version 3.24.
Another issue is that you are not actually linking the libraries, because you are not providing Yambo with the paths needed to find them. Loading the modules alone is not enough. More precisely, only BLAS, LAPACK, and HDF5 have a procedure that allows Yambo to detect them automatically; the other libraries do not.
So, most likely, you are not using the NetCDF libraries provided by the modules either. You should add paths such as:
Code: Select all
--with-hdf5-path=...
--with-netcdf-path=...
--with-netcdff-path=...
If you absolutely need to use Yambo 5.0, I would recommend letting Yambo compile the PETSc/SLEPc versions it expects. To do this, you only need to keep the `--enable-slepc-libnalg` flag without specifying the paths to the two libraries.
This is actually what you are already doing, but something else seems to be going wrong. It may be enough to simply avoid loading the PETSc/SLEPc modules before configuring Yambo.
There is also another important issue: PETSc/SLEPc must be compiled using the same precision as Yambo, i.e. single or double precision. The versions provided by the modules are almost certainly compiled in double precision. Therefore, letting Yambo build PETSc/SLEPc itself is probably still the best solution, as it will build them consistently with the Yambo configuration.
When you write back, in addition to the `config.log` file, please also send me the `report` file that you can find inside the `config` directory. The files inside the `log` directory would also be useful.
Best,
Nicola
You do not have the required permissions to view the files attached to this post.