Table of Contents
Loginning In
open this in new terminals in order.
ssh -Y galadrielpswd: 'In Notes'spyder; open spydertop -o %MEM: for memory checkingnautilus: For File searching
commands: vi test.py # create a python file to vim into
nautilus #open the files windows
run top -o %MEM to see memory/ram being used
to get a python package installed pip3 install name while ssh in Galadriel, but cd home
ssh -Y Galadriel
added shh key to Git hub(vali.git.com)
cd Galadriel
Spyder # should have worked but didn't
did conda activate /home/sedlikr/galadriel/envs/galadriel to conda into it, said bad interpreter
tried ./manage_env create gave error report
Austin did some stuff on his end and Spyder now works
Notes
I was logged into galadriel, when I accidentally pressed my power button. When I started it back up I was getting errors, not allowing my to get into Cybele.
first Error was Connecting to linux virtual desktop on : 1594
second Error was Error is 108: connection reset by peer
third Error was Error: Cannot disconnect session with id ’#########’
During all this I could log into NoMachine
It started works as soon as I join a zoom call with Fernando. He mention this has been an issue. But something that helps is changing
- in NoMachine Right-click on Cybele Linux
- click Edit Connection
- switch NX to SSH
- and PORT to 2039
- this is temporary fix
other help is https://diii-d.gat.com/diii-d/Computing/NoMachine-cybele
SSHing with Claude Code
Worked with Mitchell and Austin to Get Claude connected to the Galadriel database
here are the step to ssh in:
- In a new command prompt window run:
ssh -L 8765:localhost:8765 galadriel -N - In a 2nd new command prompt window run:
ssh -L 27017:localhost:27017 galadriel -N - In a 3rd new command prompt window run:
claudein the Claude directory
getting ssh key
in galadriel and in home
cd .sshssh-keygen- Press ENTER until you get Key finger print.
- add to you vali.git setting under SSH Keys
Devices
- Teledyne_0 = Espec (3k), S/N: XXXXXX0712
- Teledyne_1 = JBP (3k), S/N: XXXXXX0269
- Teledyne_2 = IDK (1k), S/N: XXXXXX
- Teledyne_3 = OffBrem/Magnetic Quads (1k), S/N: XXXXXX
Git Pull From New Repo
when a new device gets added to the mirror or when Austin improves something. You might need to Pull from the New Repo. Here are the steps
- make sure files are saved, and you closed out of Spyder and file reader/editor app.
- You always have a MASTER branch, to check,
cd galadrielgit branch- If is says MASTER, then you're fine, if not, you're in a side branch
- to switch,
git checkout master - then you need to check files that your might lose
git status- it will list files that are “tracked' and 'untracked'
- take a picture of the “tracked' files and make copies
- I created a folder called ”/galadriel/galadriel/Temp_For_Git/” add copies here if needed
- now for each file, run
git restore /home/sedlikr/galadriel/galadriel/control/control.config - that was an examples file, but do this for each “tracked” file
- run again,
git statusand all “tracked' files should be gone. - run
git pull - then go into your side branch,
git checkout RS_branch - finally run,
git merge master - reopen everything you need
to make a branch run git branch <branch name>
If a pip library is needed, Austin will add it to the yaml. I will need to update my environment
by running manage_env update
what I don't know how to do it run the resultant conda command
