<![CDATA[Multiwfn forum / Batch calculate MPP planarity index]]> - //www.umsyar.com/wfnbbs/viewtopic.php?id=626 Fri, 04 Mar 2022 07:31:08 +0000 FluxBB <![CDATA[Re: Batch calculate MPP planarity index]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2342#p2342 Hi Tian,

thank you for your help!

This work well now :-)

Best,
Dobelman

]]>
Fri, 04 Mar 2022 07:31:08 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2342#p2342
<![CDATA[Re: Batch calculate MPP planarity index]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2334#p2334 Dear Dobelman,

You need to add the folder containing Multiwfn.exe to "Path" environment variable of your Windows system, you can easily find how to do using Google. Alternatively, you should write absolute path of Multiwfn.exe so that it can be found.

Best regards,

Tian

]]>
Wed, 02 Mar 2022 14:26:48 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2334#p2334
<![CDATA[Re: Batch calculate MPP planarity index]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2333#p2333 Hi Tian,

so I used cmder, but now I need to point to the exe file.
I have all files in same folder, but still I'm not able to find the executable.
What do I miss?

Kind regards,
Dobelman



image.png

]]>
Wed, 02 Mar 2022 13:40:20 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2333#p2333
<![CDATA[Re: Batch calculate MPP planarity index]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2326#p2326 Dobelman wrote:

Hi Tian,

I'm forced to use Windows. Can you also help here, please?

Thank you!
Dobelman

You can use "cmder"  to simulate Bash environment under Windows, then you can use Bash shell script as Linux. It is quite convenience.

Screenshot:

Clipboard01.png

]]>
Tue, 01 Mar 2022 13:38:46 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2326#p2326
<![CDATA[Re: Batch calculate MPP planarity index]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2324#p2324 Hi Tian,

I'm forced to use Windows. Can you also help here, please?

Thank you!
Dobelman

]]>
Tue, 01 Mar 2022 11:30:48 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2324#p2324
<![CDATA[Re: Batch calculate MPP planarity index]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2323#p2323 Dear Dobelman,

This is an example of shell script. The script loops over all .pqr file and calculate MPP for them.

#!/bin/bash
for filename in `ls *.pqr`
do
echo calculating $filename ...
echo -e "MPP\na\nn\nq" | Multiwfn $filename | grep "Molecular planarity parameter (MPP)"
done

Result:

calculating 10.pqr ...                                      
 Molecular planarity parameter (MPP) is    0.540130 Angstrom
calculating 12.pqr ...                                      
 Molecular planarity parameter (MPP) is    0.555101 Angstrom
calculating 14.pqr ...                                      
 Molecular planarity parameter (MPP) is    0.334641 Angstrom
calculating 16.pqr ...                                      
 Molecular planarity parameter (MPP) is    0.346409 Angstrom
calculating 18.pqr ...                                      
 Molecular planarity parameter (MPP) is    0.119724 Angstrom
calculating 20.pqr ...                                      
 Molecular planarity parameter (MPP) is    0.334525 Angstrom
calculating 22.pqr ...                                      
 Molecular planarity parameter (MPP) is    0.200972 Angstrom
calculating 4.pqr ...                                       
 Molecular planarity parameter (MPP) is    0.000000 Angstrom
calculating 6.pqr ...                                       
 Molecular planarity parameter (MPP) is    0.000000 Angstrom
calculating 8.pqr ...                                       
 Molecular planarity parameter (MPP) is    0.728097 Angstrom

Best,

Tian

]]>
Mon, 28 Feb 2022 08:55:28 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2323#p2323
<![CDATA[Re: Batch calculate MPP planarity index]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2322#p2322 Dear Tian,

as input file I use 3D files like .xyz or .mol.
In command line it works fine, but I cannot get it working in batch mode.

Can you help or maybe post an example?

Thank you very much for your help!
Dobelman

]]>
Mon, 28 Feb 2022 08:13:31 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2322#p2322
<![CDATA[Re: Batch calculate MPP planarity index]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2269#p2269 Dear Dobelman,

In batch model, which file was used as input file? Note that the input file must contain geometry information, otherwise MPP cannot be calculated.

MPP was proposed last year, while Multiwfn 3.7 was released in 2020, thus Multiwfn 3.7 doesn't support MPP. Please always use latest version of Multiwfn. Multiwfn updates quite frequently.

Best regards,

Tian

]]>
Fri, 18 Feb 2022 09:47:08 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2269#p2269
<![CDATA[Batch calculate MPP planarity index]]> //www.umsyar.com/wfnbbs/viewtopic.php?pid=2268#p2268 I'm using 3.8 dev version to calculate MPP.
once the file is uploaded I press
- MPP
- a (or all atoms)
Then MPP and SDP are calculated.

I tried to use in analogy to the examples for the genELFcub.txt
the following sequence
MPP
a
2

So far I did not succedd to do this in batch mode from .xyz or .mol files.

also when using the 3.7 version it crashes afte adding MMP.

Thanks for helping me out!
Dobelman

]]>
Fri, 18 Feb 2022 09:16:16 +0000 //www.umsyar.com/wfnbbs/viewtopic.php?pid=2268#p2268