Dear Rolly, As far as I know, the input needs to be in the same directory of the input of PW, but if I am wrong please let me know. At least this is how it has always worked for my applications until now, but I can't rule out that it depends on the machine, compilation or something else. I usually run the program as PATH-to-QE-bin/pw.x --environ < file.in > file.out &
Let me know if you have more informations about this issue. Best, Oliviero -- Senior Postdoctoral Researcher École Polytechnique Fédérale de Lausanne (EPFL) and Università della Svizzera Italiana (USI) of Lugano USI Campus, Via G. Buffi 17, 6904 Lugano, Switzerland Emails: oliviero.andreussi @ epfl.ch -or- usi.ch Tel: +41-(0)58-666-4810 / Skype: olivieroandreussi Web: https://sites.google.com/site/olivieroandreussi ________________________________________ From: pw_forum-boun...@pwscf.org [pw_forum-boun...@pwscf.org] on behalf of Rolly Ng [roll...@gmail.com] Sent: Monday, September 19, 2016 6:26 PM To: PWSCF Forum Subject: Re: [Pw_forum] Running Environ with pw.x Dear Oliviero, Thanks for the very detailed explanation. It works now, and I might have missed some important steps in the previous trial. Besides, I notice that I have to place the environ.in at the same directory as with pw.x. Can I place it elsewhere instead? I am using pw.x --environ -inp file.in |tee file.out Thank you, Rolly On 09/16/2016 12:21 AM, Oliviero Andreussi wrote: > ./install/addsonpatch.sh Environ Environ/src Modules -patch -- PhD. Research Fellow, Dept. of Physics & Materials Science, City University of Hong Kong Tel: +852 3442 4000 Fax: +852 3442 0538 _______________________________________________ Pw_forum mailing list Pw_forum@pwscf.org http://pwscf.org/mailman/listinfo/pw_forum _______________________________________________ Pw_forum mailing list Pw_forum@pwscf.org http://pwscf.org/mailman/listinfo/pw_forum