Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mavenlin committed Dec 5, 2023
1 parent a227be7 commit 3b4c8c0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions maple2jax/gen_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,26 @@
import ctypes
from absl import flags, app
from jinja2 import Template

import os

try:
import jax_xc
print(jax_xc.__path__[0])
print(os.listdir(jax_xc.__path__[0]))
print(jax_xc.libxc)
print(jax_xc.libxc.__path__[0])
print(os.listdir(jax_xc.libxc.__path__[0]))
except:
print("import jax_xc failed")

try:
from jax_xc import libxc as pylibxc
print(pylibxc.__path__[0])
print(os.listdir(pylibxc.__path__[0]))
except:
print("from jax_xc import libxc failed")

import jax_xc.libxc as pylibxc
from jax_xc.libxc import libxc
from jax_xc.utils import dict_to_namedtuple
Expand Down

0 comments on commit 3b4c8c0

Please sign in to comment.