Skip to content

sync_resources() causes NameError #148

@shkwon-git

Description

@shkwon-git

I tried to set up the computational resources between VASP and OQMD.

I use SGE, not PBS in my cluster, so I modified hosts.yml, users.yml, allocations.yml, projects.yml, and q files according to the tutorials.

However, sync_resources() causes unknown NameError.

I would be appreciated if you know any solution of this problem.

`>>> from qmpy import *

sync_resources()
Traceback (most recent call last):
File "", line 1, in
File "/home/shkwon/anaconda3/envs/oqmd/lib/python3.8/site-packages/qmpy/init.py", line 229, in sync_resources
for host, data in list(hosts.items()):
NameError: name 'hosts' is not defined
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions