[Swift-user] Question about using ramdisk

Lorenzo Pesce lpesce at uchicago.edu
Fri Sep 7 19:50:44 CDT 2012


Dear all,

I just realized that I locked myself into a design corner. 

We use Matlab executables run by a swift wrapper.

I wanted to use ramdisk (/dev/shm or whatever works on each node) because our lustre filesystem isn't liking too much to be poked all the time and it is making sure we know that. I planned to move there. 
I just realized that I have no idea how to tell swift that this is where it should pick up the output files from the run. 

The easy fix is to simply add a mv statement (or whatever works best, we'll have to try) to the wrapper scripts, since while they will have a different source (the local /dev/shm) they have the same target (/lustre), but I was wondering if Swift has a direct way to handle that. I am asking because the script will be asked to run on different systems where swift will know where it was started and where the wrappers are being run, the same is not true for the wrappers.

Any ideas?

Thanks a lot,

Lorenzo  


More information about the Swift-user mailing list