Support and discussions for Molcas and OpenMolcas users and developers
You are not logged in.
Please note: The forum's URL has changed. The new URL is: https://molcasforum.univie.ac.at. Please update your bookmarks!
You can choose an avatar and change the default style by going to "Profile" → "Personality" or "Display".Pages: 1
Hi,
Does the grid2cube.py script work?
I created the grid file with GRID_IT in a RASSCF calculation, and at converting I get the error message, no output is produced.
As I am not familiar with python, I have no idea what the message means:
./grid2cube.py PuO2OH2.grid PuO2OH2.cube
Traceback (most recent call last):
File "./grid2cube.py", line 75, in <module>
import struct, numpy
ImportError: No module named numpy
Thanks in advance,
Attila
Offline
There is no guarantee grid2cube will work, but the problem you showed is not a bug, it is simply telling you that you need to install some additional module (numpy) for the script to work. How to install numpy depends on your operating system and your python implementation. It may be as simple as typing "apt-get install python-numpy" in a terminal, or finding numpy in a package manager.
Another option would be compiling the Fortran version (the .F90 file), which should have the same functionality.
Offline
Pages: 1