This ZIP runtime pulls a NodeODM container (default: ghcr.io/wmobley/nodeodm:gpu, override with NODEODM_IMAGE) for the heavy ODM dependencies, but replaces the application code with a local checkout of the NodeODM repository. This approach lets you run from any commit without waiting for a prebuilt container and keeps us independent of upstream image changes.
Before building the ZIP, copy the NodeODM source into nodeodm-ls6/nodeodm-source:
# Option A: reuse the copy that ships with WebODM
rsync -a --delete ../WebODM/nodeodm/external/NodeODM/ nodeodm-ls6/nodeodm-source/
# Option B: clone a specific commit
git clone https://github.com/OpenDroneMap/NodeODM.git nodeodm-ls6/nodeodm-source
cd nodeodm-ls6/nodeodm-source
git checkout <commit>
cd -The runtime installs dependencies on first launch, so do not commit node_modules/ into this directory.
cd nodeodm-ls6
./build-zip.shThe script verifies that nodeodm-source/ exists and then packages:
tapisjob_app.sh
app.json
register-node.sh
deregister-node.sh
README-ZIP.md
nodeodm-source/
nodeodm-ls6.zip is created in the same directory with .git/ and node_modules/ automatically excluded.
By default, ./build-zip.sh uploads the ZIP with overwrite enabled using plain SSH/SCP:
ssh ls6 "mkdir -p /corral-repl/tacc/aci/PT2050/projects/PTDATAX-225/NodeODM"
scp nodeodm-ls6.zip ls6:/corral-repl/tacc/aci/PT2050/projects/PTDATAX-225/NodeODM/nodeodm-ls6.zipThe app definition still points at the Tapis storage URI for runtime staging:
tapis://ptdatax.project.PTDATAX-225/NodeODM/nodeodm-ls6.zipYou can override the upload target with REMOTE_SSH_TARGET and REMOTE_UPLOAD_DIR, or run SKIP_UPLOAD=1 ./build-zip.sh to build locally without uploading. SKIP_TAPIS_UPLOAD=1 is still accepted as a compatibility alias.
After upload, re-register or update the app with Tapis.
- When the job starts,
tapisjob_app.shcopiesnodeodm-source/into a writable work directory and binds it to/var/wwwinside the Apptainer container. - If
node_modules/is missing, the script runsnpm install --productiononce before launchingnode index.js. - Outputs, submodels, and logs are written to the bound
data/,tmp/, andlogs/directories under the work directory, preserving the same layout expected by ClusterODM. NodeODM’s internal logger now targets/var/www/logs, so you can inspectnodeodm_workdir/runtime/logs/on LS6 for per-run files. - Logging defaults to the most verbose
sillylevel; override by exportingNODEODM_LOG_LEVEL(e.g.export NODEODM_LOG_LEVEL=debug) before launching the job.
module load tacc-apptainer(already performed by the script)- Network access for ClusterODM/Tapis callbacks
- Sufficient scratch space for the copied NodeODM source and build artifacts
Before uploading, you can smoke-test locally (requires apptainer access):
cd nodeodm-ls6
./tapisjob_app.sh 4 3001This will start NodeODM with the local source overlaid. Stop it with pkill -f "node index.js --config" when finished.