I have a dilemna with SGE's modulefile.  The modulefile basically sets the PATH, MANPATH, LD_LIBRARY_PATH for the application, however, the PATH would look like this depending on what architecture it is running on:
 
/opt/sge/bin/lx26-x86
 
So there are two options:
 
1) Have PATH for all three archs:
 
append-path PATH /opt/sge/bin/lx26-x86;/opt/sge/bin/lx26-amd64;/opt/sge/bin/lx26-ia64
 
-or-
 
2) Have the modulefile arch specific
 
Also, I just realized that I will need more PATHs for option 1) because there is also the scenario where it will be lx24-x86 (2.4 kernel)
 
Thoughts?
 
Cheers,
 
Bernard

Reply via email to