|
petty
BIAC Staff
    
USA
453 Posts |
Posted - Feb 14 2011 : 12:16:47 PM
|
I just updated findexp.m to deal with a new data structure for our experiments file.
In the process i added functionality so that it will also work on the interactive nodes of the cluster.
findexp will either return a unc path on windows, or a full path on linux. The linux part is currently valid if you are mounting with mntshare (ie: mntshare //server/share)
If running as a batch job on the compute nodes, then the easist way to get your mount path is: getenv('EXPERIMENT') <-- this is inside of matlab
when you submit with a valid experiment, this environmental variable gets set with your mount path already.
I should also note that you can also find your "Lab" directory's path. For instance if members of Dr. Morey's lab would like to return the path to their Lab folder, then "findexp MoreyLab" would provide the correct path.
please let us know if there are any issues.
|
Edited by - petty on Feb 14 2011 12:20:04 PM |
|