Skip to content

Question about the Parallelization #358

Answered by mesonepigreco
jgSi1113 asked this question in Q&A
Discussion options

You must be logged in to vote

Dear Jianguo Si,

We recently implemented a workaround to the protection from the cluster.
(This is available only from the repository's master; it has not yet been released to PyPy, so you must clone the last development version from github. We will release it in version 1.5 in the next few months.)
Instead of using the Cluster class, you can replace it with LocalCluster.

import sscha.LocalCluster

my_cluster = sscha.LocalCluster.LocalCluster(...)

You initialize my_cluster exactly as done in the standard Cluster calculation.

You can find here an example of how it works.

You need to readapt the script a bit (changing the modules to load quantum espresso and the keywords for submitting job…

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@mesonepigreco
Comment options

@jgSi1113
Comment options

@jgSi1113
Comment options

@mesonepigreco
Comment options

@jgSi1113
Comment options

Answer selected by jgSi1113
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants