Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler issue #26

Open
mbog-ux opened this issue Mar 29, 2023 · 5 comments
Open

Compiler issue #26

mbog-ux opened this issue Mar 29, 2023 · 5 comments

Comments

@mbog-ux
Copy link

mbog-ux commented Mar 29, 2023

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
Copy link

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
Copy link

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

@wangshiyu12345
Copy link

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
Copy link

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

@TiegenFang
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants