Note to self
This works with Clang 12 on Manjaro, and maybe other Linux versions. CUDA 11.1 is installed with pacman in /opt/cuda.
git clone https://github.com/llvm/llvm-project.git| """ | |
| Script for going through all talks at MRS Spring 2026 and using AI to evaluate whether | |
| a talk is interesting or not. The script generates a .ics calendar file. | |
| This uses the Cerebras Cloud SDK as the AI endpoint, since this was the easiest | |
| to get running for me. Each run costs ~$0.25. | |
| This script was mostly written by Gemini 3.1 Pro within a few iterations. | |
| STEP 1: | |
| Download abstract book from https://www.mrs.org/docs/default-source/meetings-events/spring-meetings/2026/2026-mrs-spring-meeting-program.pdf |
| diff --git a/src/library.cpp b/src/library.cpp | |
| index cdc0a81..2d75d49 100644 | |
| --- a/src/library.cpp | |
| +++ b/src/library.cpp | |
| @@ -482,10 +482,10 @@ char *lammps_command(void *handle, const char *cmd) | |
| BEGIN_CAPTURE | |
| { | |
| - if (lmp->update->whichflag != 0) | |
| - lmp->error->all(FLERR,"Library error: issuing LAMMPS commands " |