Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
petty
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.