[Pw_forum] How to modify code and recompile?
Giovani Faccin
faccin.giovani at gmail.com
Sun Sep 11 03:43:39 CEST 2011
Dear Ying,
Looks like a permissions issue. Assuming you are in a Linux/Unix
environment, and that the QE files are somewhere inside your home folder,
try this at the command line, inside the folder where the files are:
chmod 666 filename
And them try to modify something and save the file.
If the file can be read/written, a "ls -la" will give you something like
this:
gfaccin at jacare ~/lixo/saves $ ls -la
-rw-rw-rw- 1 gfaccin gfaccin 14 Sep 10 22:36 filename
in which the rw-rw-rw means, respectively, that user, group and everyone are
allowed to read and write to that file. You can of course change those
permissions in any way you find adequate.
Best,
Giovani Faccin
UFMS - Brazil
2011/9/10 <ying.sun at gradmail.ims.uconn.edu>
> I want to modify a file in Quantum ESPRESSO, let it write out a
> matrix I want. It will be a minor modificataion.
> When I try to modify code, *.f90, it says read only and will not
> let me change it. How to recompile it?
> Looks like in ABINIT , just modify the file and reissue "make
> "will do.
> Any suggestions will be appreciated!!
> Thanks a lot!
> \
> Ying sun
> Institute of materials science
> university of connecticut
>
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20110910/cc9aba2a/attachment.html>
More information about the users
mailing list