lekez2005 / opennvram-reram

Other
4 stars 0 forks source link

Error while running python caravel_reram_test.py -t sky130 -v #3

Closed Samarthjainabout closed 1 year ago

Samarthjainabout commented 1 year ago

File "/home/staff/elesamj/sky130a/opennvram-reram-main/compiler/options.py", line 207, in set_temp_folder default_openram_temp = os.path.join(os.environ['SCRATCH'], 'openram') File "/usr/lib/python3.10/os.py", line 679, in getitem raise KeyError(key) from None KeyError: 'SCRATCH'

Does anyone know how to set scratch variable?

lekez2005 commented 1 year ago

This was a bug which is now fixed with the latest commit. You can update to get the latest changes. For your reference, you can set environment variables using export SCRATCH=<insert_path_here> if using bash or zsh; setenv SCRATCH <insert_path_here> on tcsh. I suspect there will be additional setup-related bugs so feel free to open additional issues or just continue on this issue until you get it working.