<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>the directory is inside ClearCase vobs, knowns as 'view' in ClearCase. It is only visible after</DIV>
<DIV>running the 'clearcase setview' command.</DIV>
<DIV> </DIV>
<DIV>The way people got around probelm with Grid+Clearcase is to add a wrapper shell to check for the</DIV>
<DIV>env var CLEARCASE_ROOT, and run the clearcase setview command, like : </DIV>
<DIV> </DIV>
<DIV>#!/bin/sh </DIV>
<DIV> if [ X_$CLEARCASE_ROOT = X_ ] then</DIV>
<DIV> # NOT Clearcase</DIV>
<DIV> else</DIV>
<DIV> </DIV>
<DIV> cleartool setview -exec "whatever command commands " `basename $CLEARCASE_ROOT</DIV>
<DIV> fi</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>----</DIV>
<DIV>make this the wrapper script to the grid. (CLEARCASE_ROOT is of the form /view/<viewname>,</DIV>
<DIV>we only need the <viewname> part to set the view)</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>I think something like this will be need for mpiexec hydra. Hopefully the info here is enough to get the</DIV>
<DIV>support into hydra.</DIV>
<DIV> </DIV>
<DIV>tan</DIV>
<DIV><BR> </DIV>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt"><BR>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px"><FONT size=2 face=Tahoma>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Pavan Balaji <balaji@mcs.anl.gov><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> mpich-discuss@mcs.anl.gov<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thu, January 14, 2010 3:56:42 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [mpich-discuss] mpiexec.hydra does not work in ClearCase vobs<BR></FONT><BR><BR>Unfortunately, I don't know anything about ClearCase. Is the directory<BR>you are launching mpiexec from available on all machines (I'm assuming<BR>you are not explicitly setting -wdir in mpiexec)?<BR><BR>-- Pavan<BR><BR>On 01/14/2010 12:51 PM, Dave Goodell wrote:<BR>> On Jan 14, 2010, at 12:42 PM, chong tan wrote:<BR>> <BR>>> if the wdir is in ClearCaseVob. Getting this error:<BR>>><BR>>> [proxy@cappy] HYD_pmcd_pmi_proxy_launch_procs<BR>>> (./pm/pmiserv/pmi_proxy_utils.c:658): unable to change wdir (No such<BR>>> file
or directory)<BR>> <BR>> Not sure about this here. My limited understanding of ClearCase is that<BR>> it provides its VCS capabilities in large part through a custom<BR>> filesystem that is mounted on the machine. So it's entirely possible<BR>> that hydra and that filesystem are not interacting correctly.<BR>> <BR>> Unfortunately I don't believe that we have access to ClearCase here at<BR>> ANL, so it will be very difficult for us to reproduce and debug the<BR>> problem. Pavan may have an idea of what's going on here, but otherwise<BR>> we would welcome any patches or assistance that you can offer figuring<BR>> out what's going on.<BR>> <BR>>> Another issue: it ask for my passwd on 'localhost' when I run<BR>>> mpiexec.hydra locally. This does not make much sense as I am already<BR>>> logged in.<BR>> <BR>> It makes sense for various implementation reasons when you are
using the<BR>> default bootstrap server, "ssh". If you only wish to run processes on<BR>> the current node, you can use the "fork" bootstrap server:<BR>> <BR>> http://wiki.mcs.anl.gov/mpich2/index.php/Using_the_Hydra_Process_Manager#Bootstrap_Servers<BR>> <BR>> <BR>> Basically pass "-bootstrap fork" to mpiexec or set the HYDRA_BOOTSTRAP<BR>> environment variable to fork.<BR>> <BR>> -Dave<BR>> <BR>> _______________________________________________<BR>> mpich-discuss mailing list<BR>> <A href="mailto:mpich-discuss@mcs.anl.gov" ymailto="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</A><BR>> <A href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target=_blank>https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</A><BR><BR>-- <BR>Pavan Balaji<BR>http://www.mcs.anl.gov/~balaji<BR>_______________________________________________<BR>mpich-discuss mailing list<BR><A
href="mailto:mpich-discuss@mcs.anl.gov" ymailto="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</A><BR><A href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target=_blank>https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</A><BR></DIV></DIV><!-- cg26.c2.mail.re1.yahoo.com compressed/chunked Fri Jan 15 09:09:25 PST 2010 --></div><br>
</body></html>