Closed tonyhutter closed 3 years ago
This is affecting my work on the scr_poststage
script. Specifically, I'm getting errors when I'm finalizing a previously completed transfer from the IBM login node (which has the BB API headers, but is not running the client). When I call AXL_Finalize()
, I get:
AXL 0.3.0 ERROR: lassen708: AXL Error with BBAPI rc: 114 @ bb_check /g/g0/hutter2/post_stage5/deps/AXL/src/axl_async_bbapi.c:134
AXL 0.3.0 ERROR: lassen708: AXL Error with BBAPI details: {"id":"1","rc":"114","env":{"configfile":"\/etc\/ibm\/bb.cfg"},"error":{"text":"Library was never initialized","func":"BB_TerminateLibrary","line":"296","sourcefile":"\/u\/tgooding\/workspace\/castbuild\/bb\/src\/bbapi.cc","errno":"114","strerror":"Operation already in progress"}} @ bb_check /g/g0/hutter2/post_stage5/deps/AXL/src/axl_async_bbapi.c:135
There are a number of ways to get around this, just need to figure out the most elegant one.
If you build AXL on a machine that has the BBAPI headers/libraries, but is not running the BB software itself, you will get this error when doing any type of transfer:
This happens because we're calling
axl_async_init_bbapi()
inAXL_Init()
. We should defer theaxl_async_init_bbapi()
untilAXL_Create()
.