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.


Topics - aknair

Pages: [1]
1
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

2
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.


3
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]