Hi Andy, On 03/16/2014 08:24 PM, Andrew Hanushevsky wrote: > I have created a git repo in /u/sf/abh/xssi/xrootd (in AFS space) that > contains the Scalable Service Interface (XrdSsi). In fact, > /u/sf/abh/xssi/xrootd/src/XrdSsi contains all of the code for client- and > server-side services. You can clone this repo and play. It is based on the > xrootd that resides at git head in the github repo. It sounds like we should spend a bit of time porting to the latest xrootd, as a preparation step. > Working examples on how to use the services can be found in > /u/sf/abh/xfix/test where source files starting with XrdSsiCl show how to > implement client-side services while files starting with XrdSsiSv show how > to implement server-side services. The mkcl and mksv scripts build the > client and server examples, respectively. I think you moved these to ~abh/xssi/test , because ~abh/xfix doesn't seem to have those files. Anyway, I did the basic cmake/make sequence and got an error: [ 81%] Building CXX object src/CMakeFiles/XrdSsi.dir/XrdSsi/XrdSsiFileReq.cc.o cc1plus: warnings being treated as errors /usr/local/home/danielw/xssi/xrootdNew/src/XrdSsi/XrdSsiFileReq.cc: In member function ‘XrdSfsXferSize XrdSsiFileReq::readStrmP(XrdSsiStream*, char*, XrdSfsXferSize)’: /usr/local/home/danielw/xssi/xrootdNew/src/XrdSsi/XrdSsiFileReq.cc:525: error: ‘dlen’ may be used uninitialized in this function make[2]: *** [src/CMakeFiles/XrdSsi.dir/XrdSsi/XrdSsiFileReq.cc.o] Error 1 I think the compiler got confused, because it looks like dlen is either ignored or assigned-to in that function, but I'll hack an initializer in for now and let you deal with it. > To actually load and use the server-side service, you must build a shared > library and use the following directives in the xrootd config file: I think I got this working on a SLAC machine, but I couldn't get it working at NCSA. Do you have an account on lsst-dbdev1.ncsa.illinois.edu? Would you try it there? I got: 140321 17:40:42 21911 XrdOpen: Unable to create socket for port 1094; address family not supported by protocol with a blank config. Oddly enough, the older xrootd works fine, and can attach to 1094, and so can an example python http server be told to listen to 1094 just fine. > Please let me know of any problems. I haven't tried anything yet, other than get an environment setup, but I'll start playing with the code. -Daniel ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the QSERV-L list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1