Dear all,
I am experiencing the following problem using GT4.0.5 pre-ws GRAM.
I have a multithreaded application running under linux and Mac OS X.
When I submit batch jobs using the GRAM client C APIs asking to be
notified by calling globus_gram_client_callback_allow(), in some cases
no notifications about job state changes are sent back from the remote
jobmanager, even though a job has been succesfully submitted. Either I
get all of the notifications or none at all. It is not a firewall
problem since I am able to get the notifications for many jobs. I have
also checked (using lsof on mac os x and netstat on linux) that the
call to globus_gram_client_callback_allow() actually starts a server
listening for jobmanager notifications. The jobs are submitted through
globus_gram_client_register_job_request(), passing an attribute which
has been setup to use the user's delegated credentials as needed for
job submission (the application runs using the globus user and the
host machine credentials). Jobs are submitted and the callback
associated to globus_gram_client_register_job_request() returns
immediately, since job state changes will be handled by the callback
associated to
globus_gram_client_callback_allow().
Is there something am I missing or not understanding correctly? Are
there cases in which a jobmanager can legally refuses to send back the
requested notifications?
Or is multithreading a problem? Each job is submitted using a
different thread and I suppose that every callback associated to
globus_gram_client_callback_allow() also runs in a different thread.
FYI, here is the setup:
remote gatekeeper/jobmanager-lsf : linux IA64 kernel
2.4.21-27.1hp.XCsmp on HP XC6000, itanium 2, flavors: vendorcc64dbg,
vendorcc64dbgpthr using intel compilers
mac os x application : tiger 10.4.11, powerpc G4, flavors: gcc32dbg,
gcc32dbgpthr, apple version of gcc compiler
leopard 10.5.1, intel core 2 duo, flavors: gcc32dbg, gcc32dbgpthr,
apple version of gcc compiler
linux application: kubuntu kernel 2.6.15-29-server, intel pentium 4,
flavors: gcc32dbg, gcc32dbgpthr, gcc compiler
I really need to use the threaded libraries, a fork-based application
is not an option.
Thank you in advance and best regards,
Massimo Cafaro
--
*******************************************************************************************************
Massimo Cafaro, Ph.D. National
Nanotechnology Laboratory (NNL/CNR-INFM)
Assistant Professor Euro-
Mediterranean Centre for Climate Change
Dept. of Engineering for Innovation SPACI Consortium
University of Salento, Lecce, Italy
Via per Monteroni Voice +39
0832 297371 Fax +39 0832 298173
73100 Lecce, Italy Web
http://sara.unile.it/~cafaro
E-mail [EMAIL PROTECTED] [EMAIL PROTECTED]
*******************************************************************************************************