Open Agent-INF opened 4 years ago
Thanks for reporting this issue, we cannot reproduce this error, could you please reinstall the newest Jittor and try again?
Python 3.8.5 (default, Jul 28 2020, 12:59:40)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import jittor as jt
[i 1030 11:24:04.321740 28 __init__.py:246] Found g++(9.3.0) at /usr/bin/g++.
[i 1030 11:24:04.342438 00 compiler.py:839] Jittor(1.2.0.7) src: /home/cjld/new_jittor/jittor/python/jittor
[i 1030 11:24:04.342561 00 compiler.py:840] cache_path: /home/cjld/.cache/jittor/master/g++
[i 1030 11:24:04.391553 00 __init__.py:246] Found gdb(9.1) at /usr/bin/gdb.
[i 1030 11:24:04.397609 00 __init__.py:246] Found addr2line(2.34) at /usr/bin/addr2line.
[i 1030 11:24:04.433453 00 compiler.py:889] pybind_include: -I/usr/include/python3.8 -I/usr/local/lib/python3.8/dist-packages/pybind11/include
[i 1030 11:24:04.447997 00 compiler.py:891] extension_suffix: .cpython-38-x86_64-linux-gnu.so
[i 1030 11:24:04.561022 00 __init__.py:165] Total mem: 15.07GB, using 5 procs for compiling.
[i 1030 11:24:06.432639 00 jit_compiler.cc:20] Load cc_path: /usr/bin/g++
[i 1030 11:24:06.553587 00 compile_extern.py:355] mpicc not found, distribution disabled.
>>>
>>> def main():
... a = jt.float32([1, 2, 3])
... print(a)
...
>>> if __name__ == "__main__":
... main()
...
jt.Var([1. 2. 3.], dtype=float32)
>>>
Feel free to reply us if you have any other problems
Hi! Thanks for the great project. But I encountered an error while running a simple script. The code is simple:
The following is the log:
The Jittor was installed via pip following the instructions on the readme file.