MaginnGroup / PyLAT

GNU General Public License v3.0
101 stars 54 forks source link

Compiler issue #26

Open mbog-ux opened 1 year ago

mbog-ux commented 1 year ago

Dear all,

I am trying to compile PyLAT buy running compile.py. However the command prompt returns following error:

python compile.py


Traceback (most recent call last):
  File "compile.py", line 22, in <module>
    os.symlink(glob.glob('ipcorr.*.so')[0],'ipcorr.so')
IndexError: list index out of range

The OS is win11 python Python 3.10.9.

Please let me know.

wangshiyu12345 commented 9 months ago

this tool only should be used on Linux system. and to use this tool, you need to get log file and tragectory file by using lammps. So you'd better have a high-powered server with Linux system.

TiegenFang commented 6 months ago

However, when I compile the "compile.py" on Linux, same problem happened.

wangshiyu12345 commented 5 months ago

you need to install fortran compiler on your system by this command:

sudo apt install gfortran

if your system is debain-based. or:

sudo yum install gfortran

if your system is redhat-based.

chaosicong commented 3 months ago

I also want to know how to deal with this question?

TiegenFang commented 3 months ago

you need to install fortran compiler on your system by this command:

sudo apt install gfortran

if your system is debain-based. or:

sudo yum install gfortran

if your system is redhat-based.

So pity, I cant solve the compile problem with your method. To successfully compile PYLAT, I choose to edit the compile.sh.