Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure extra env vars are propagated to remap command (#936)
*Issue #, if available:* Fixes #848 *Description of changes:* * Ensure the extra env vars are added to the remap launch command ### Testing Ran the [standalone mode](https://graphstorm.readthedocs.io/en/v0.3/tutorials/quick-start.html) example with extra parameter `--extra-envs LD_LIBRARY_PATH="/opt/gs-venv/lib/python3.9/site-packages/dgl/:$LD_LIBRARY_PATH"`, ensured that the command submitted by the launcher included the extra env vars as: ```bash cd /tmp/ogbn-arxiv-nc; (export LD_LIBRARY_PATH=/opt/gs-venv/lib/python3.9/site-packages/dgl/:; (export PYTHONPATH=/graphstorm/python/:/root/dgl/tools/::/root/dgl/python ; /opt/gs-venv/bin/python -m graphstorm.gconstruct.remap_result --cf /graphstorm/training_scripts/gsgnn_np/arxiv_nc.yaml --save-model-path /tmp/ogbn-arxiv-nc/models --save-embed-path /tmp/ogbn-arxiv-nc/embeddings --num-epochs 2 --ip-config /tmp/tmput45xgvc --part-config /tmp/ogbn_arxiv_nc_1p/ogbn-arxiv.json --rank 0 --world-size 1 --with-shared-fs True --num-processes 1 --output-chunk-size 100000 --preserve-input False)) ``` By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
- Loading branch information