zerothi / ts-tbt-sisl-tutorial

Tutorials for the sisl-TBtrans-TranSiesta suite
Creative Commons Attribution Share Alike 4.0 International
33 stars 30 forks source link

<< 2018 Tutorial installation in Debian 9.8 >> #2

Closed icamps closed 3 years ago

icamps commented 5 years ago

Hello,

Dear @zerothi ,

Sorry to bother you with this issue, We installed the tutorial using the installation script and, at the end, we got the following message:

This script assumes you are using Python 2.7

 Will try and run sisl
    import sisl ; print(sisl.geom.graphene())
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/icamps/.local/lib/python2.7/site-packages/sisl/__init__.py", line 90, in <module>
    from . import linalg
  File "/home/icamps/.local/lib/python2.7/site-packages/sisl/linalg/__init__.py", line 30, in <module>
    from .base import *
  File "/home/icamps/.local/lib/python2.7/site-packages/sisl/linalg/base.py", line 5, in <module>
    from numpy import atleast_1d, atleast_2d
  File "/home/icamps/.local/lib/python2.7/site-packages/numpy/__init__.py", line 140, in <module>
    from . import _distributor_init
ImportError: cannot import name _distributor_init
Failed running sisl, please mail the organizer with the error message (unless some of the installations failed)

I did not get any other messages.

Thanks in advance,

Camps

zerothi commented 5 years ago

It seems like this file is removed during the installation.

Could you please do:

touch /home/icamps/.local/lib/python2.7/site-packages/numpy/_distributor_init.py

and re-run.

icamps commented 5 years ago

Should I re-run the installation ./install_tutorial.sh install?

zerothi commented 5 years ago

No that should not be necessary, try and see without.

zerothi commented 5 years ago

@icamps did you try? And did it work ;)

icamps commented 5 years ago

@zerothi Yesterday and today I had/have a lot of classes :( As soon as I finish with my classes I will test and return to you.

zerothi commented 5 years ago

@icamps no worries ;)

zerothi commented 5 years ago

@icamps did it work ;) ?

icamps commented 5 years ago

Hi @zerothi.

Thanks for the following.

I am stuck compiling tbtrans, that I suppose it is needed to run the tutorials.

I used a clean arch.make (a copy of that one that came for Intel compilers) but gave me the same errors about bad INCLUDE path.

(In between, I got the same error when I tried to compile gnubands, that at the end, I compiled manually, without using make).

Regards,

Camps

zerothi commented 5 years ago

Could you share the arch.make here?

icamps commented 5 years ago

Here there are.

The file arch.make_Intel.txt correspond to a very clean arch.make (from distribution files). The file arch.make_orange.txt correspond to one that I used to successfully compile SIESTA (siesta-4.1-b4 and transiesta).

(The final txt is just to upload here).

arch.make_Intel.txt arch.make_orange.txt

zerothi commented 5 years ago

And what is the error for arch.make_orange.txt?

icamps commented 5 years ago

Here it is. nohup.out.txt

zerothi commented 5 years ago

Could you try and add:

FPPFLAGS += -I.

to your arch.make file?

icamps commented 5 years ago

I got the same errors. nohup.out.txt

zerothi commented 5 years ago

Could you try and do:

make parallel.o
make
zerothi commented 3 years ago

@icamps is there any progress here? Or do you still have issues?

Otherwise I'll close this next week! :)

icamps commented 3 years ago

Hi @zerothi , we could compile/install it. Sorry for the delay.

icamps commented 3 years ago

Solved.