Page 1 of 1

Error after editing the computational engine subdirectory

Posted: Sun May 16, 2021 2:28 pm
by farid
I installed the WebMO Basic, and setup the interface to the PSI4 computational engines. Everything was running fine. Then I reinstalled PSI4, and into a different folder. So, I decided to edit the interface. After the interface was edited, I can't run PSI4 job anymore. The error I get every time is,

Key Error: "Too many unknown argument, ['-p', '5', input.inp', 'output.out']". Can anyone point out what the problem is?

Re: Error after editing the computational engine subdirectory

Posted: Mon May 17, 2021 12:02 pm
by webmo
Please do not manually edit the interface files. Use the "Interface Manager" under admin.

Please just check the syntax of the psi.int file. It is simply key/value pairs separated with an "=" sign. The values are strings that must be quoted.

Re: Error after editing the computational engine subdirectory

Posted: Tue May 18, 2021 9:20 am
by farid
To be clear, I did edit the interface via the interface manager under the admin page. I only changed the path to psi4, and hit submit. Then return.

I don't find anything wrong with the psi.int file. All the values after the = sign are all quoted.
psi4webmo.png
psi4webmo.png (28.72 KiB) Viewed 31785 times

Re: Error after editing the computational engine subdirectory

Posted: Tue May 18, 2021 9:34 am
by farid
To add to this, the second value in the quoted arguments, i.e. '5', seems to corresponds to the job number. If my job number is 13, then the error I get is

Key Error: "Too many unknown argument, ['-p', '13', input.inp', 'output.out']".

It's as is WebMO is passing the job to psi4 with the argument psi4 -p 13 input.inp output.out.