Hi All,
I am trying to run PTL tests in API mode. I perform the following steps on a RHEL system.
- pbs_swigify -I /path/to/python/include -f
- This generates pbs_ifl.pyc, pbs_ifl.py and _pbs_ifl.so in </path/to/install/location>/lib/python/site-packages/ptl/lib
- Set operation mode to API within the PTL test setup by calling set_op_mode(API)
But, PTL test always defaults to CLI mode. Import of pbs_ifl module fails.( in-spite of pbs_ifl.pyc, pbs_ifl.py and _pbs_ifl.so present at the “appropriate” place). The error “API submission is not available” appears in the test log.
What could I be missing here?
Thanks
Latha