Open jorgenkraghjakobsen opened 6 days ago
Found the error :-) - And all good now
Antenna Passed ✅
LVS Passed ✅
DRC Passed ✅
[11:30:31] INFO Saving views to '/tmp/tmp4ehmkxuuopenlane2/smoke_test_design/runs/RUN_2024-06-22_11-29-39/final'… state.py:193
[11:30:31] INFO Flow complete. sequential.py:294
Classic - Stage 75 - Report Manufacturability ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75/75 0:00:51
[11:30:31] WARNING The following warnings were generated by the flow: flow.py:671
[11:30:31] WARNING [Odb.CustomIOPlacement] Overriding minimum distance 0.1 with 0.42 for pins on side N to avoid overlap. flow.py:673
[11:30:31] WARNING [OpenROAD.DetailedRouting] [DRT-0349] LEF58_ENCLOSURE with no CUTCLASS is not supported. Skipping for layer mcon (and 9 similar warnings) flow.py:673
[11:30:31] WARNING [Checker.WireLength] Threshold for Threshold-surpassing long wires is not set. The checker will be skipped. flow.py:673
[11:30:31] WARNING [OpenROAD.IRDropReport] 'VSRC_LOC_FILES' was not given a value, which may make the results of IR drop analysis inaccurate. If you are not integrating a top-level chip for manufacture, you may flow.py:673
ignore this warning, otherwise, see the documentation for 'VSRC_LOC_FILES'.
[11:30:31] INFO Smoke test passed. main.py:267
[nix-shell:~/opentools/openlane2]$
On my machine I uses a local klayout build and have set LD_LIBRARY_PATH
klayout is /home/jakobsen/opentools/klayout/bin-release/klayout
jakobsen@t14:~$ echo $LD_LIBRARY_PATH
:/home/jakobsen/opentools/klayout/bin-release
jakobsen@t14:~$ klayout -v
KLayout 0.29.0
jakobsen@t14:~$
In my nix environment - the LIB_LIBRARY_PATH is still there and klayout misses out on libgit2.so....
akobsen@t14:~$ cd opentools/openlane2/
jakobsen@t14:~/opentools/openlane2$ ls
Authors.md flake.lock nix Readme.md setup.py
Changelog.md flake.nix notebook.ipynb requirements_dev.txt shell.nix
default.nix License openlane requirements_docs.txt test
docs Makefile openlane2_env.log requirements.txt type_stubs
jakobsen@t14:~/opentools/openlane2$ nix-shell
[nix-shell:~/opentools/openlane2]$ type klayout
klayout is /nix/store/gvq51plg4ydzfxma0m46w82jbvngvnch-klayout/bin/klayout
[nix-shell:~/opentools/openlane2]$ echo $LD_LIBRARY_PATH
:/home/jakobsen/opentools/klayout/bin-release:/home/jakobsen/opentools/klayout/bin-release
[nix-shell:~/opentools/openlane2]$ klayout -v
klayout: error while loading shared libraries: libgit2.so.1.1: cannot open shared object file: No such file or directory
[nix-shell:~/opentools/openlane2]$
/J
I don't know how you're setting LD_LIBRARY_PATH
, but you could set it as follows:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/jakobsen/opentools/klayout/bin-release/klayout
This will make sure the right libraries can be loaded first.
Thanks for giving OpenLane 2 a try, Jørgen!
Hi Donn That is how it all ready get set from my .bashrc file:
export PATH=$PATH:/home/jakobsen/opentools/klayout/bin-release:/home/jakobsen/.cargo/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/jakobsen/opentools/klayout/bin-release
In nix-shell I just get the my original LD_LIBRARY_PATH added again.
jakobsen@t14:~/opentools/openlane2$ nix-shell
[nix-shell:~/opentools/openlane2]$ echo $LD_LIBRARY_PATH
:/home/jakobsen/opentools/klayout/bin-release/klayout:/home/jakobsen/opentools/klayout/bin-release/klayout
I will try to see if I can find out why. Yes - Openlane2 looks very nice. I will try so run some of my design this way. /J
Description
Did fresh install of nix on a linux ubuntu 22.04 - cloned the openlane2 repo - opened a nix-shell in that repo and ran openlane --smoke_test
File log: - Looks like libgit2.so.1.1 is missing
Expected Behavior
Build some thing :-)
Environment report
Reproduction material
did not work
Relevant log output