QuantumATK Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
QuantumATK W-2024.09 version released on Sep 9, 2024
Home
Help
Search
Login
Register
QuantumATK Forum
»
QuantumATK
»
Scripts, Tutorials and Applications
»
How to run 2017 version py file
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How to run 2017 version py file (Read 6323 times)
0 Members and 1 Guest are viewing this topic.
Aun
Regular QuantumATK user
Posts: 9
Country:
Reputation: 0
How to run 2017 version py file
«
on:
February 20, 2019, 14:08 »
Both 2017 and 2018 versions are installed on same sever machine(linux). Is it possible to run 2017 version py file?
Logged
Ulrik G. Vej-Hansen
QuantumATK Staff
Supreme QuantumATK Wizard
Posts: 426
Country:
Reputation: 9
Re: How to run 2017 version py file
«
Reply #1 on:
February 20, 2019, 15:43 »
Yes, you can just call atkpython from the 2017 installation directory.
Logged
Aun
Regular QuantumATK user
Posts: 9
Country:
Reputation: 0
Re: How to run 2017 version py file
«
Reply #2 on:
February 21, 2019, 06:24 »
Thank.
Let me ask one more question.
I use 2016 version in my PC(Windows) and 2017 and 2018 are installed in server machine (linux).
My scripts py file is written with 2016 version and it does not work with 2018. Syntax error is occurred as follow.
File "GrOAl_pre.py", line 1
+------------------------------------------------------------------------------+
^
SyntaxError: invalid syntax
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
Is it possible to run this py file with server machine (2018 version) to read with 2016 version?
Script is attached.
Logged
Ulrik G. Vej-Hansen
QuantumATK Staff
Supreme QuantumATK Wizard
Posts: 426
Country:
Reputation: 9
Re: How to run 2017 version py file
«
Reply #3 on:
February 21, 2019, 10:03 »
It looks like a syntax error from Python itself, and this has not changed between those versions. Also, I can run it without any syntax errors, so it seems to be an issue with the way you run it on the cluster.
Logged
Aun
Regular QuantumATK user
Posts: 9
Country:
Reputation: 0
Re: How to run 2017 version py file
«
Reply #4 on:
February 22, 2019, 04:45 »
I found out the error and it is solved. It was not Atk issue.
Thanks.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
QuantumATK Forum
»
QuantumATK
»
Scripts, Tutorials and Applications
»
How to run 2017 version py file