Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - aknair

Pages: [1]
1
Are you using the SP1 version of 2022.03? If not, it should work with that.

Thank you

2
I am trying to perform this example for bilayer MoS2 using moment tensor potential. https://docs.quantumatk.com/tutorials/combining_potentials/combining_potentials.html.

I have set tags for the the two layers (layer 1 and layer 2 as shown in the example above) and used MTP potential for the tagged layers. For interaction between the layers I use LJ potential. However, I get the following error while running the script.

Traceback (most recent call last):
  File "BL-MoS2.py", line 125, in <module>
    MtpPotential.actOnlyOnTaggedRegion('Layer1')
  File "build\lib\site-packages\tremolox\potentialsets\potentialsetbase.py", line 690, in actOnlyOnTaggedRegion
  File "build\lib\site-packages\tremolox\potentials\potentials.py", line 4346, in _limitToOneTag
RuntimeError: The MTP potential does not support the usage of tags


Is there anyway to resolve this problem?

Regards,
Akhil

3
Just checked, and the command 'moment_tensor_potential_training._nlplotScatter(fit_index=0)' works fine in the current release. So, I am not sure why you are getting the error message. Can you give/share additional information?

Thanks. I am currently using the ATK 2022.03 version. It may be because of that. However, the tutorial posted for generating Scatter plot was for 2022.03 version as well.
https://docs.quantumatk.com/tutorials/mtp_hfo2/mtp_hfo2.html

4
Hi,

I am getting this following error while plotting scatter plots comparing the energy, force and stress computed from MTP and reference method.


Traceback (most recent call last):
  File "Plot.py", line 2, in <module>
    moment_tensor_potential_training._nlplotScatter(fit_index=0)
  File "zipdir\NL\Study\MomentTensorPotential\MomentTensorPotentialTraining.py", line 1661, in _nlplotScatter
  File "zipdir\NL\GUI\Graphics\Plotter\Utilities\Scripting.py", line 97, in show
  File "zipdir\NL\GUI\Graphics\Plotter\PlotView\PlotView.py", line 59, in __init__
  File "zipdir\NL\GUI\Graphics\Plotter\PlotView\BasicPlotView.py", line 80, in __init__
  File "zipdir\NL\GUI\Graphics\Plotter\PlotView\PlotController.py", line 169, in plot
  File "zipdir\NL\GUI\Graphics\Plotter\PlotView\PlotController.py", line 189, in _constructDelegatesInLayout
  File "zipdir\NL\GUI\Graphics\Plotter\PlotView\PlotController.py", line 227, in _constructDelegatesInFrame
  File "zipdir\NL\GUI\Graphics\Plotter\PlotView\PlotController.py", line 250, in _constructDelegatesInFrameForModel
  File "zipdir\NL\GUI\Graphics\Plotter\PlotView\PlotController.py", line 287, in _constructDelegateInFrameForItem
TypeError: 'NoneType' object is not callable


Also, Could anyone let me know what are the attributes for the Moment Tensor Potential Training object.


5
Hi,

I am getting a white background for the builder and viewer for QuantumATK 2021.06

System specifications:
Windows 11
Intel Core i7
16GB ram
Intel Iris graphics

Pages: [1]