Author Topic: Running atk on linux  (Read 2136 times)

0 Members and 1 Guest are viewing this topic.

Offline rose

  • Heavy QuantumATK user
  • ***
  • Posts: 47
  • Country: it
  • Reputation: 0
    • View Profile
Running atk on linux
« on: January 9, 2018, 13:24 »
hi,
I am recently shifted to Linux version of atk and the system do not support the visual so I want to run using command but each time I run following command, I got to an error: "  QXcbconnection: Could not connect to display"

mpirunt -np 1 atkpython <test1.py> test.log

the log file is empty. The test1.py is generated by windows version of VNL.
what should I add to my code or commands to overcome this problem?
thanks
Rose

Offline Jess Wellendorff

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 933
  • Country: dk
  • Reputation: 29
    • View Profile
Re: Running atk on linux
« Reply #1 on: January 10, 2018, 08:10 »
Hi Rose. You report 2 different problems: (A) problems with the display, and (B) problems running ATK Python. Let's consider (B) first. Please tell me 1) Which Linux distribution do you use? And is this on your laptop or on some computing cluster? 2) Which version of VNL-ATK do you use? 3) Do you know if the ATK calculation actually runs (i.e. the problem is just that the log file is empty), or does the calculation crash? 4) Please tell me the results from running attached script in the following 2 different ways:
Code
atkpython Silver.py 2>&1 | tee serial.log
mpirun -np 2 atkpython Silver.py 2>&1 | tee parallel.log