Skip to content

Instantly share code, notes, and snippets.

@alisterburt
Last active October 1, 2020 14:37
Show Gist options
  • Save alisterburt/279271c175e7d9050c3487db6955bad1 to your computer and use it in GitHub Desktop.
Save alisterburt/279271c175e7d9050c3487db6955bad1 to your computer and use it in GitHub Desktop.
Dynamo standalone activation script for shell environment
#!/bin/bash
# Set DYNAMO_ROOT and WORKING_DIR
WORKING_DIR=${PWD}
DYNAMO_ROOT="/opt/dynamo/1.1.514"
# Add CUDA installation to LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64
# Activate dynamo in the current shell environment
cd ${DYNAMO_ROOT}
source dynamo_activate_linux_shipped_MCR.sh
cd ${WORKING_DIR}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment