After compiling source code, directly copying settings.ini from binary package to source code folder (or where you want to put Multiwfn).
Oh, okay.
I wouldn’t have expected to need to do that, since it means I have to download both somehow.
Thanks!
]]>And the one returns by doing Multiwfn → 300 → 5
The difference is not significant, but ideally, there should be no difference at all.
]]>In doing so, I realized that neither the source code nor the settings.ini file needs to be modified, since this feature is already available in the code—although it's not mentioned in the manual for some reason.
However, since there is no settings.ini file in the source code package, I would like to know how to configure the user-defined functions in case I need to adjust them later
]]>After setting iuserfunc to 3, you need to reboot Multiwfn, and you need to make sure that there is no warning shown on screen indicating that Multiwfn didn't find settings.ini.
Please make clear how Multiwfn finds settings.ini.
3.8 Development version also has binary package. I strongly suggest using latest development version, and never using the out-of-dated version 3.7.
]]>I discovered this while digging through the source code
]]>So, I decided to use the development version instead of the binary one. However, I couldn't find where the value of iuserfunc is defined in the code. There is no settings.ini file when compiling the code directly.
Can you please tell me wehre the c80tmp (I guess) is defined so I can directly recompile the code. Thanks!
]]>%chk=C:\gtest\H2O.chk
#p hf/6-31G*
test
0 1
O -0.00000000 -0.00000000 0.11930800
H 0.00000000 0.75895300 -0.47723200
H -0.00000000 -0.75895300 -0.47723200
The <r^2> outputted by Gaussian is
Electronic spatial extent (au): <R**2>= 19.0512
If you set iuserfunc to 3, and boot up Multiwfn and load the .fch file produced by the above task, then run
100
4
100
You will obtain
Final result: 19.051245015
which is exactly the same as that outputted by Gaussian
I am trying to obtain the electronic spatial extent using different software. To do so, I modified the settings.ini file in Multiwfn by setting iuserfunc = 3.
Multiwfn returns a value of 21092.4988259881, whereas my g16.log output gives 18436.6750. Is there a specific reason that could explain such a discrepancy?
I am unable to upload my files to the forum due to their large size, but could you please confirm whether my procedure for obtaining ?R2? using Multiwfn is correct, or if I might be doing something wrong?
Thank you
]]>