when I try to launch xschem I get this error
# open_pdks
a
when I try to launch xschem I get this error
m
Look in the
xschemrc
file. You might have to adjust the variables.
a
So how to adjust the variables please? @Mitch Bailey
This is the xschemrc file
If you look at line 35 you will find USER_CONF_DIR which is related to the error
m
Right! Try defining it first.
Copy code
#### add ~/.xschem/xschem_library (USER_CONF_DIR is normally ~/.xschem)
set USER_CONF_DIR $::env(HOME)/.xschem
append XSCHEM_LIBRARY_PATH :$USER_CONF_DIR/xschem_library
Make sure there's a
~/.xschem/xschem_library
directory.
a
I've a hidden folder called .xschem but it's empty.
image.png
m
try
find ~/ -name xschem_library
to find your library path and then set the variable to that.
a
I did not find something
m
Maybe check your installation directories?
a
how please?
If I setup the PDK twice, may this cause a problem?
I've done this
m
maybe
find $PDK_ROOT -name xschem_library
or
which xschem
and then search that the parent directory or its parent.
a
Did not find anything
m
Where is
xschem
installed?
a
at home
m
I thought that was empty. What does
which xschem
return?
a
I ran the command which xschem and it did not return something
m
That would seem to indicate that it is not installed. But you said you got an error message when you ran it.
a
When I run xschem without commands anywhere in the VM it is opened normally
m
So it works in the VM but not locally?
a
When I run it after writing these commands (after xschemrc is created), I have the error. the commands are is the picture
image.png
m
What happens if you comment out line 36?
a
Sorry how to comment out it>
?
Copy code
append XSCHEM_LIBRARY_PATH :$USER_CONF_DIR/xschem_library
m
Copy code
# append XSCHEM_LIBRARY_PATH :$USER_CONF_DIR/xschem_library
a
Will I write it as it in the terminal?
m
Edit the file and add a
#
at the beginning of line 36.
a
Thanks, I will
image.png
m
echo $PDK_ROOT
a
Will I run this command in the terminal at home?
m
same window. I expect that you haven't set it yet.