donn
08/29/2023, 6:04 PMTim Edwards
08/29/2023, 6:05 PMTim Edwards
08/29/2023, 6:08 PM/usr/local/bin/klayout
and "file /usr/local/bin/klayout" returns
/usr/local/bin/klayout: POSIX shell script, ASCII text executable
The /usr/local/bin/klayout script is three lines long, so here it is:
#!/bin/sh
export LD_LIBRARY_PATH=/usr/local/share/klayout
/usr/local/share/klayout/klayout -e
And I think that answers my question (and is probably just another of my own self-inflicted wounds).donn
08/29/2023, 6:09 PMTim Edwards
08/29/2023, 7:59 PM[ERROR]: during executing: "klayout -b -r /home/tim/gits/openlane/scripts/klayout/xor.drc -rd a=/home/tim/gits/caravel_openframe_project/openlane/picosoc/runs/RUN_2023.08.29_15.08.17/results/signoff/picosoc.gds -rd b=/home/tim/gits/caravel_openframe_project/openlane/picosoc/runs/RUN_2023.08.29_15.08.17/results/signoff/picosoc.klayout.gds -rd jobs=1 -rd rdb_out=/home/tim/gits/caravel_openframe_project/openlane/picosoc/runs/RUN_2023.08.29_15.08.17/reports/signoff/37-xor.xml -rd ignore=81/14 -rd rpt_out=/home/tim/gits/caravel_openframe_project/openlane/picosoc/runs/RUN_2023.08.29_15.08.17/reports/signoff/37-xor.rpt |& tee /dev/null /home/tim/gits/caravel_openframe_project/openlane/picosoc/runs/RUN_2023.08.29_15.08.17/logs/signoff/37-xor.log"
[ERROR]: Exit code: 1
[ERROR]: Last 10 lines:
ERROR: Unable to determine format for file from suffix or format spec /home/tim/gits/openlane/scripts/klayout/xor.drc
child process exited abnormally
Seems kind of odd that klayout won't recognize the file type of a file that starts with a shebang line stating that it is a ruby script. And I'm not sure why it's just my local version of klayout that's doing this. Any ideas?donn
09/03/2023, 9:42 AM