Deployment

The purpose of this section is to describe deployment from a Linux system with internet connection (machine 1) to a second similar Linux system without internet connection (machine 2).

Prerequisites

Both machines must have compatible versions of Python 3.11. The use of anaconda3/2023.09 is illustrated below:

On Machine 1

  1. Create a virtual environment:
module load anaconda3/2023.09 python3.11 -m venv recon3d_env
  1. Activate the virtual environment:
source recon3d_env/bin/activate
  1. Install recond3d:
# pip install recon3d # is not currently recommended git clone git@github.com:sandialabs/recon3d.git pip install recon3d/.
  1. Deactivate and Zip the virtual environment:
deactivate tar -czf recon3d_env.tar.gz recon3d_env
  1. Transfer to machine 2. Move the zip file using a USB drive, SCP, or equivalent method:
scp recon3d_env.tar.gz user@second_machine:/path/to/destination

On Machine 2

  1. Extract and then use
tar -xzf recon3d_env.tar.gz module load anaconda3/2023.09 source recon3d_env/bin/activate recon3d