On Dec 16, 2005, at 5:59 PM, Bernard Li wrote:

Okay so if I put the following line in sge's modulefile:

set arch [exec $env(SGE_ROOT)/util/arch]

then $arch will contain the correct platform string.

However, the downside is that each time you open a shell, the program
/opt/sge/util/arch needs to be run - it causes about 2-3 seconds delay.

Sounds like /opt/sge/util/arch is a really crappy executable that either needs to be replaced or optimized. :-)

--
{+} Jeff Squyres
{+} The Open MPI Project
{+} http://www.open-mpi.org/





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to