Comments (4)
I am confused about that you talk about local access to root files and xrootd
at the same time. If you plan to read the files via streaming, then there is no need for a local copy, but you need to have the permissions to read the files over the WAN. If you have the files locally where the DIRAC job runs, there is no need for xrootd
.
Before you start on any of this, I should remind you that copying large files through the input sandbox (which seems to be what you propose here) is really not recommended and could cause trouble both in terms of very long submission times and problems for the overall DIRAC WMS. It would be much better to have the files as DiracFile
object stored on the grid.
That being said, I think you can get this to work by using a GangaDatasetSplitter
. If the files are available as LocalFile
object on the machine whre you submit from, that should be straight forward. If they are only available via xrootd
on the machine you submit from, I think you could get this to work by carefully configuring the MassStorageFile
object, but it would quite likely be very inefficient (as you in effect would copy the files to /tmp
on your local machine and then upload them to a temporary Dirac storage area, and finally download them to the machine running the Dirac job).
from ganga.
Thanks for the reply, so it seems that just using the xrootd
paths is not the correct solution. I will try and use GangaDatasetSplitter
again for this, I opened #2220 for this reason.
Whilst trying GangaDatasetSplitter
on a list of DiracFile
with the Dirac
backend in the 8.7.0
release I have started to get the following error (ERROR CredentialsError: Cannot get proxy which matches requirements DiracProxy(group='<vo>_user', encodeDefaultProxyFileName=True)
). I have checked and I do not get this error when downgrading to 8.6.0
.
from ganga.
Please open a separate issue for the CredentialsError
. An absolute minimal example that illustrate the problem is much appreciated.
from ganga.
Thanks, I will open a separate issue for the Dirac problems
from ganga.
Related Issues (20)
- Missing UltraDict and psutil dependencies for GangaDirac (8.7.2) HOT 1
- Making Dirac proxy stuck in loop HOT 10
- Overloading AFS HOT 1
- [Feature] Enhance Workflow with Pre-commit Hook HOT 1
- Let the virtualization feature support unpacked containers
- Change name of the Singularity plugin to Apptainer HOT 13
- Add deprecation system HOT 7
- ganga do not stop when a dirac job is submitted HOT 1
- Utility in GangaTest utils to check if required files are generated in the output directory HOT 4
- Running a Ganga job locally through a Docker container throws syntax error HOT 3
- Virtualization.rst is probably showing incorrect docker commands when calling the Docker class through job.virtualization HOT 2
- Running unit tests throw logging error
- Better handle the case that jobs don't exist in DIRAC HOT 4
- Need gfal2 plugins HOT 4
- GSoc 2024: Integration of LLM into command prompt and exception handling HOT 3
- Investigate docker commands that do not currently work with virtualization and make them work HOT 11
- Support SMOG2 in LHCb bookkeping queries HOT 2
- Updating Developer Documentation HOT 2
- Incomplete python3 migration in BatchScriptTemplate.py.template
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ganga.