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 cb7a7bc
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions maple2jax/gen_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,27 @@
import ctypes
from absl import flags, app
from jinja2 import Template

import os

cwd = os.getcwd()
print("current dir: ", cwd)
print(os.listdir(cwd))

dir_path = os.path.dirname(os.path.realpath(__file__))
print("path of gen_py: ", dir_path)
print(os.listdir(dir_path))

try:
import jax_xc
except:
print("import jax_xc failed")

try:
import libxc
except:
print("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 cb7a7bc

Please sign in to comment.