DCS parallel config validation - make the scratch directory during validation otherwise validation fails (any workarounds)
Mostrar comentarios más antiguos
DCS 128 node license
Parallel configuration - Parallel Submit function in the configuration manager is parallelSubmitFcn- {@parallelSubmitFcn, 'cluster.*******.***.edu', '/lustre/scratch/USERID/matlab'}
However If the folder /lustre/scratch/USERID/matlab does not exist, validation of the parallel configuration fails. Is there anyway to create the folder using 'mkdir' just before the validation runs.
once it is made it can always be used by Matlab.
Right now we ask Users to ssh and create the folder but was wondering if the there was way to automate it before validation as 'validation' is the first step users perform before using MATLAB on our cluster.
P.S.- Have looked into the Submit scripts tailored for our cluster parallelSubmitFcn.m , distributedSubmitFcn.m, findResource.m and the validateConfig.m in the distcomp toolbox but could not find a place to make the directory.
8 comentarios
Konrad Malkowski
el 29 de Oct. de 2011
Have you considered creating a global remote data location for all users to use?
Thomas
el 1 de Nov. de 2011
Konrad Malkowski
el 8 de Nov. de 2011
No,
the remote data location is directory where you store job information on workers, for example: /lustre/scratch/USERID/matlab
What you might want to consider is creating a global directory for all MATLAB jobs.
Thomas
el 8 de Nov. de 2011
Konrad Malkowski
el 14 de Nov. de 2011
The directory would behave just like any other unix directory. By default user files would have their default permission settings, so if a user is has default settings of chmod 700 then he/she will be the only one able to do anything with the files.
Under remote and non-shared submission schemes, users are required to login to cluster headnode in order to submit the jobs.
In the shared submission scheme, they are presumably already writing the files with correct permissions.
Thomas
el 14 de Nov. de 2011
Konrad Malkowski
el 17 de Nov. de 2011
Hi Thomas,
No, at the moment there is no way of doing this automatically during validation.
I will add it as an enhancement request for a future release.
Thomas
el 17 de Nov. de 2011
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Manage Products en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!