| Multiple versions of Maya and environment variables | |||
|
Posted by: Fatima Mojaddidy ![]() Date: 03-08-2010, 15:45:PM |
Hello SysAdmins, |
||
| Re: Multiple versions of Maya and environment variables | |||
|
Posted by: David Bertram ![]() Date: 03-08-2010, 15:50:PM |
Hello, Fatima Mojaddidy wrote: > Hello SysAdmins, > > What are some of the ways you handle running multiple versions of Maya and > environment variables for Maya (in a Linux setup)? I'm trying to figure out > what the best way will be. You could try environment modules. http://modules.sourceforge.net/ Best, Dave -- David Bertram, Graphics Systems Manager The Ohio State University Advanced Computing Center for the Arts and Design 1224 Kinnear Rd., Rm 231 Columbus, OH 43212-1154 Voice: 614.292.1041 StudioSysAdmins-Discuss mailing list StudioSysAdmins-Discuss@mailman.studiosysadmins.com http://mailman.studiosysadmins.com/mailman/listinfo/studiosysadmins-discuss |
||
| Re: Multiple versions of Maya and environment variables | |||
|
Posted by: Fatima Mojaddidy ![]() Date: 03-08-2010, 15:55:PM |
interesting thanks =) On Mon, Mar 8, 2010 at 12:47 PM, David Bertram <dbertram@accad.ohio-state.edu> wrote: Hello, |
||
| Re: Multiple versions of Maya and environment variables | |||
|
Posted by: Adarsh Patil Date: 03-08-2010, 16:25:PM |
Hello Fatima, On Mon, Mar 8, 2010 at 12:41 PM, Fatima Mojaddidy <fatima.mojaddidy@gmail.com> wrote: Hello SysAdmins, |
||
| Re: Multiple versions of Maya and environment variables | |||
|
Posted by: Rangi Sutton ![]() Date: 03-08-2010, 19:10:PM |
On 9 March 2010 06:47, David Bertram <dbertram@accad.ohio-state.edu> wrote: -- Hello, Ah.. can't believe I've never even searched for a tool like that. Looks very interesting. Are folks using this? I see one advantage being that ops can choose the shell they use, maybe a customised bootstrapping script that's shell specific but just starts calling module commands. Is this the case in practise? It also looks like it could clean up a bunch of stuff render-farm side, where you want to recreate or inherit the environment a job was submitted from. Has anyone got a real-world example of these tcl config files that module reads, for maya for instance? Thanks for the link! r. ? Rangi Sutton ? ? ? ? ? ? ? ? ? ? ? ? ? ? Kanuka Studio Pty Ltd rangi@kanuka.com.au ? ? ? ? ? ? ? http://www.kanuka.com.au/ Studio +61 (0)7 3139 1040 ? ? ? ? 35 Dover St. Albion Mobile +61 (0)4 1521 1280 ? ? ? ? QLD 4010 Australia |
||
| Re: Multiple versions of Maya and environment variables | |||
|
Posted by: David Bertram ![]() Date: 03-09-2010, 10:05:AM |
Hello, Rangi Sutton wrote: > On 9 March 2010 06:47, David Bertram dbertram@accad.ohio-state.edu wrote: > >> Hello, >> >> >> Fatima Mojaddidy wrote: >> >>> Hello SysAdmins, >>> >>> What are some of the ways you handle running multiple versions of Maya and >>> environment variables for Maya (in a Linux setup)? I'm trying to figure >>> out >>> what the best way will be. >>> >> You could try environment modules. >> http://modules.sourceforge.net/ >> >> > > Ah.. can't believe I've never even searched for a tool like that. Looks very > interesting. Are folks using this? I see one advantage being that ops can It's largely in use in big cluster installations.
Yes. You can use .cshrc/.login/.bashrc files.
Not for Maya, but, a real world tcl example for mpi: %Modulenote that this is read by a Tcl interpretor |
||
| RE: Multiple versions of Maya and environment variables | |||
|
Posted by: Stuart Colk ![]() Date: 03-09-2010, 10:40:AM |
Grabbed from the docs ''' (Linux(r)) looks for Maya.env by setting the MAYA_APP_DIR environment variable using the operating system methods described below. ''' So within your user home for you renderer user, you have each version. You can individually set the maya.envs of each version independently of each other. For ease of management point user home directory to shared filespace and only make the changes once. Hope that helps -----Original Message----- From: studiosysadmins-discuss-bounces@mailman.studiosysadmins.com [mailto:studiosysadmins-discuss-bounces@mailman.studiosysadmins.com] On Behalf Of David Bertram Sent: Tuesday 09 March 2010 15:05 To: discuss@studiosysadmins.com Subject: Re: Multiple versions of Maya and environment variables Hello, Rangi Sutton wrote: > On 9 March 2010 06:47, David Bertram dbertram@accad.ohio-state.edu wrote: > >> Hello, >> >> >> Fatima Mojaddidy wrote: >> >>> Hello SysAdmins, >>> >>> What are some of the ways you handle running multiple versions of Maya and >>> environment variables for Maya (in a Linux setup)? I'm trying to figure >>> out >>> what the best way will be. >>> >> You could try environment modules. >> http://modules.sourceforge.net/ >> >> > > Ah.. can't believe I've never even searched for a tool like that. Looks very > interesting. Are folks using this? I see one advantage being that ops can It's largely in use in big cluster installations.
that's > shell specific but just starts calling module commands. > > Is this the case in practise? Yes. You can use .cshrc/.login/.bashrc files.
side, > where you want to recreate or inherit the environment a job was submitted > from. > > Has anyone got a real-world example of these tcl config files that module > reads, for maya for instance? Not for Maya, but, a real world tcl example for mpi: %Modulenote that this is read by a Tcl interpretor |
||