-
Notifications
You must be signed in to change notification settings - Fork 2
Description
I tried doing the examples.
first it would be really good not to assume people are using the home area.
export PHLEX-TEST=... someplace
cd $PHLEX-TEST
mkdir build-phlex-examples
cd build-phlex-examples
and then fix a typo in the make
spack env activate my-phlex-environment
spack load cmake
cmake ../phlex-examples
make -j
Builds fine for me but then I ran into the use of the home area
cd $PHLEX-TEST/phlex-example
phlex -c ./test-cpp-workflow.jsonnet
Using configuration file: test-cpp-workflow.jsonnet
[2026-01-01 13:29:46.107] [info] Number of worker threads: 24
[2026-01-01 13:29:46.107] [info]
[2026-01-01 13:29:46.107] [info] CPU time: 0.00106s Real time: 0.00352s CPU efficiency: 30.14%
[2026-01-01 13:29:46.107] [info] Max. RSS: 16.732 MB
Could not locate library with specification 'module' in any directories on PHLEX_PLUGIN_PATH.
I had to manually:
export PHLEX_PLUGIN_PATH=$PHLEX-TEST/build-phlex-examples/:$PHLEX_PLUGIN_PATH
and then it worked fine
the python example worked as well because it explicitly sets the PYTHON_PATH
I can make a pull request with these changes if people agree.