[Halld-offline] added capabilities in osg run scripts
Richard Jones
richard.t.jones at uconn.edu
Mon Jul 17 14:57:27 EDT 2017
Sean,
- [ability to download the latest ccdb.sqlite file from
halldweb.jlab.org/dist and use it, instead of copying from a standard
location on cvmfs, where it is likely to be stale] This is helpful, but is
there no good way to automatically update the SQLite file on OASIS (perhaps
weekly)? I worry that when we do a large scale production, having every
job copying from halldweb would place too much of a load on the server, so
that we would need to do some server-side caching/load balancing.
For things that are expected to be updated on a regular schedule, osg users
should use the standard OSG_SQUID_LOCATION variable so that multiple jobs
running on a site share a single copy. The cvmfs cache is per-host, whereas
the squid cache is per-site, so this is much more efficient in terms of
occupation of the site cache space for something like the sqlite file. I
had forgotten to translate the OSG_SQUID_LOCATION variable into environment
variables http_proxy, https_proxy, and this was why you were seeing
repeated hits on the jlab server for each job. This should be fixed now.
The site squid cache will be invalidated on each site once per day, each
time the sqlite file is updated, so there should be a max of one download
from halldweb.jlab.org per site per day. Is this going to be ok?
- [ability to use non-sequential run lists for simulating a series of
runs, instead of assuming that you want to fill in a sequential range with
every run number; if you supply a plain text file called runsequence.txt
with your job then this file will be used to look up the run sequence
instead of assuming a contiguous sequence.] Could you please add the
attached file into some standard location? I think it would be useful for
users to have standard run lists stored somewhere in the CVMFS namespace.
Ok, this is done. The file you shared with me has been uploaded to /cvmfs/
oasis.opensciencegrid.org/gluex/templates
- [You also asked if we could have more than one build of sim-recon
available simultaneously on the oasis filesystem. That is already a feature
of the system I set up, so no updates were required to provide this.] That
great to hear. When do you think you can provide a copy of sim-recon
branch recon-2017_01-ver01-batch01-mcsmear?
This is available now. Just do "source $GLUEX_TOP/.hdpm/env/
recon-2017_01-ver01-batch01-mcsmear.sh" at the beginning of the job script,
and the binaries and libraries in your path variables will come from the
branch build.
-Richard Jones
On Sun, Jul 16, 2017 at 7:13 PM, Sean Dobbs <s-dobbs at northwestern.edu>
wrote:
> Richard,
>
> Thanks for adding these features. I have some comments below:
>
> On Sat, Jul 15, 2017 at 6:00 AM Richard Jones <richard.t.jones at uconn.edu>
> wrote:
>
>>
>>
>> 1. ability to download the latest ccdb.sqlite file from
>> halldweb.jlab.org/dist and use it, instead of copying from a standard
>> location on cvmfs, where it is likely to be stale.
>>
>>
> This is helpful, but is there no good way to automatically update the
> SQLite file on OASIS (perhaps weekly)? I worry that when we do a large
> scale production, having every job copying from halldweb would place too
> much of a load on the server, so that we would need to do some server-side
> caching/load balancing.
>
> For what it's worth, in some ~50 test job runs during the week, I noticed
> that sometimes wget'ing the SQLite file took ~30 minutes (though apparently
> it's faster during the weekend!)
>
>
>>
>> 1. ability to use non-sequential run lists for simulating a series of
>> runs, instead of assuming that you want to fill in a sequential range with
>> every run number; if you supply a plain text file called runsequence.txt
>> with your job then this file will be used to look up the run sequence
>> instead of assuming a contiguous sequence.
>>
>>
> Could you please add the attached file into some standard location? I
> think it would be useful for users to have standard run lists stored
> somewhere in the CVMFS namespace.
>
>
>> You also asked if we could have more than one build of sim-recon
>> available simultaneously on the oasis filesystem. That is already a feature
>> of the system I set up, so no updates were required to provide this.
>>
>>
> That great to hear. When do you think you can provide a copy of sim-recon
> branch recon-2017_01-ver01-batch01-mcsmear?
>
>
> ----Sean
>
>
>
>
>> -Richard Jones
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20170717/6dc7ca47/attachment-0002.html>
More information about the Halld-offline
mailing list