llm-command

llm - is a command line tool for interacting with Large Language Models and IDUN HPC cluster documentation.

NOTE 1: llm tool is not a replacement for Coding Agents. It is just first step for users to debug, fix, ask without leaving terminal window.

NOTE 2: The same answers you can get from "HPC" model in the Web Chat: https://chat.hpc.ntnu.no

Why it exists?

  • Zero configuration. "llm" configured for IDUN HPC user out of the box.
  • Non-Destructive Use. "llm" cannot read or write to filesystem. It cannot execute commands. It can only answer questions.

How to use?

Short youtube with examples: https://youtu.be/jCymnguuug8

Question about cluster:

llm "What is my disk quota?"

Question about script:

llm "explain this script" -f hello.py

Failed job:

llm "My job failed these are my files" -f hello-25741694.out -f hello.py -f run_hello.sbatch

Image support:

llm "Extract text from this photo" -a photo.jpg

Chat:

llm chat

Chat with files:

llm chat -f hello-25741694.out -f hello.py -f run_hello.sbatch

More examples here: https://llm.datasette.io/en/stable/usage.html

How it works?

IDUN HPC Documentation + LLM model

Documentation was compressed to /etc/llm/system.txt. And llm command is using system.txt as a system prompt.

Current LLM model is DeepSeek-V4.1-Flash-1017-instant. It can be change for better model later.

Acknowledgments

llm command is based on project created by Simon Willison.

Web site: https://llm.datasette.io/en/stable/index.html

Git repo: https://github.com/simonw/LLM

Scroll to Top