Get up and running in 5 minutes. For full documentation, see README.md.
- NVIDIA GPU with CUDA support
- Node.js 22+ and npm 9+
- NVIDIA HPC SDK 25.7+ (
nvc++compiler) - Python 3.8+
- OpenAI API key or OpenAI Pro account
git clone https://github.com/Scientific-Computing-Lab/ParaCodex.git
cd paracodex
chmod +x setup_environment.sh install_nvidia_hpc_sdk.sh verify_environment.shsudo ./install_nvidia_hpc_sdk.sh
source ~/.bashrc./setup_environment.shThis installs all dependencies in one step: Codex CLI, Python packages, webapp dependencies, and copies the ParaCodex Codex skills to ~/.codex/skills/paracodex/.
Option 1: OpenAI Pro account (recommended)
codex loginOption 2: API key
export OPENAI_API_KEY="your-api-key-here"./verify_environment.shcd pipeline/webapp
bash start.shOpen http://localhost:5000 in your browser.
- Source Directory — Browse to the folder with the code you want to translate
- Source API — The parallel API of your code (e.g.
serial,cuda) - Target API — The API to translate to (e.g.
omp,hip) - Click Start Pipeline — live logs stream in as the agent works
- Inspect translated code and profiling artifacts in the job view
| Suite | Source directory |
|---|---|
| Rodinia | workdirs/serial_omp_rodinia_workdir/data/src/ |
| NAS | workdirs/serial_omp_nas_workdir/data/src/ |
| HeCBench | workdirs/serial_omp_hecbench_workdir/data/src/ |
| ParEval | workdirs/cuda_omp_pareval_workdir/data/src/ |
codex: command not found
npm install -g @openai/codexnode: command not found
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
source ~/.bashrc
nvm install 22nvc++: command not found
export PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/25.7/compilers/bin:$PATH
export LD_LIBRARY_PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/25.7/compilers/lib:$LD_LIBRARY_PATHPort 5000 already in use
FLASK_RUN_PORT=8080 python pipeline/webapp/app.pyGPU not accessible
nvidia-smi
# If this fails, check NVIDIA driver installation- See README.md for detailed usage, troubleshooting, and benchmark workflows
- See pipeline/AGENTS.md for agent documentation
- See pipeline/prompts/ for AI prompt documentation