Page 1 of 1

p2y: [ERROR] Writing File ./SAVE//ns.db1 Variable NOT DEFINED; Permission denied

Posted: Wed Apr 27, 2022 5:28 pm
by mirshowkat07
Dear Yambo users,

I encountered a problem when I tried to generate the SAVE folder after running scf and nscf calculations for hBN (tutorial).
The error message I get is

[ERROR] Writing File ./SAVE//ns.db1; Variable NOT DEFINED; Permission denied.

Kingly, help how to solve this error problem.

Re: p2y: [ERROR] Writing File ./SAVE//ns.db1 Variable NOT DEFINED; Permission denied

Posted: Sun May 01, 2022 4:19 pm
by Daniele Varsano
Dear Showkat,

this seems a problem with the netcdf compilation/linking.
Please have a look at this threads (or similar threads by searching your error in the forum):

viewtopic.php?t=2061&hilit=File+.%2FSAV ... .&start=20
viewtopic.php?p=9710#p9710

In particular, have a look at the compilation option for the Netcdf and eventually switch to the netcdf-v3.

If the problem persists please post your config.log file.

Best,
Daniele