peteboyd/lammps_interface

Installation succeeded but failed to run

Closed this issue · 4 comments

Dear Pete,

It was a amazing work for those who need to write *.data files. And Thank you for your selfless sharing.

Recently, I tried to generate the data file of IRMOF-1 with your code. However, after a successful installation, I ran the code with an error as shown in the following figure. Could you tell me what caused this problem?

I am looking forward to your reply.

Cheng
China-EU Institute for Clean and Renewable Energy at Huazhong University of Science & Technology
Email:chengruihuan@hust.edu.cn

image

Hi Cheng,
Hard to say but I suspect it has something to do with the version of networkx you are using. This might be related to issue #24. I will, when I get a free moment, make the code forward compatible but in the meantime you might want to use a version of networkx <= 2.3.

It also appears you are running an anaconda prompt from a windows machine. I've only ever tested the code on linux/unix based operating systems and so you might experience problems with your current setup that I cannot fix.

Possibly fixed with commit 371d5d9

re-open if you are still having issues.

Hi Pete, I have successfully run the program and built the data file of IRMOF-1 according to your instructions. Next, I will test the files other than the CIF you provided . Thank you again for your selfless sharing and timely reply.