Hello,
I was pulling the docker image from:
Then cloned the OpenRAM python code into the image.
When I try to generate a config from the example I get:
cad-user@397e6f51a002:~$ python3 $OPENRAM_HOME/openram.py config1
ERROR: file globals.py: line 340: Unable to read configuration file: /home/cad-user/config1
Traceback (most recent call last):
File "/home/cad-user/openram/compiler/globals.py", line 338, in read_config
config = importlib.import_module(module_name)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'config1'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/cad-user/openram/compiler/openram.py", line 35, in <module>
g.init_openram(config_file=args[0], is_unit_test=False)
File "/home/cad-user/openram/compiler/globals.py", line 200, in init_openram
read_config(config_file, is_unit_test)
File "/home/cad-user/openram/compiler/globals.py", line 340, in read_config
debug.error("Unable to read configuration file: {0}".format(config_file), 2)
File "/home/cad-user/openram/compiler/debug.py", line 47, in error
assert return_value == 0
AssertionError
WhIle I can see the file /home/cad-user/config1 fine in the local directory.
Not sure what is wrong (the openram help command said I am using the right syntax)
Thanks,
Patrick