<div dir="ltr">Hi Erik,<div><br></div><div>Thanks for the input. working directory seems to be the issue. I changed it to /path/to/Cactus. </div><div><br></div><div>$sim create seems to work fine now.</div><div><br></div>
<div>Once again thanks a lot.</div><div><br></div><div>Sharath.</div><div><br><br><div class="gmail_quote">On Fri, Mar 30, 2012 at 9:29 PM, Erik Schnetter <span dir="ltr"><<a href="mailto:schnetter@cct.lsu.edu">schnetter@cct.lsu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sharath<br>
<br>
Simfactory supports having multiple Cactus source trees around; this<br>
is useful in many cases, e.g. if one has a production and a<br>
development tree. Therefore, Simfactory needs to know which source<br>
tree to use. You therefore have to call Simfactory from within the<br>
Cactus source tree. This is similar to other Unix commands such as<br>
make or svn.<br>
<br>
The error message is indeed wrong; it should instead say that your<br>
current directory is not a subdirectory of the sourcebasedir. (The<br>
sourcebasedir is the directory containing the sourcedir, which is the<br>
actual Cactus directory.)<br>
<br>
-erik<br>
<div><div class="h5"><br>
On Thu, Mar 29, 2012 at 10:35 AM, Steven R. Brandt <<a href="mailto:sbrandt@cct.lsu.edu">sbrandt@cct.lsu.edu</a>> wrote:<br>
> I agree with Shantenu, you shouldn't have to debug these issues. Just send<br>
> them to the list where there are a lot of people who can provide answers.<br>
><br>
> In this particular case, I think the error message is badly formatted. The<br>
> command wants to be issued from inside the Cactus directory. It looks like<br>
> there used to be a more useful error message in simlib.py in the<br>
> GetDirSuffix routine, but it was commented out. I'm not sure why. Should we<br>
> put it back?<br>
><br>
> Cheers,<br>
> Steve<br>
><br>
> On 03/28/2012 10:49 PM, Sharath Maddineni wrote:<br>
><br>
> Hello Dr. Steve,<br>
><br>
> the cactus simulation build is so flaky/inconsistant<br>
><br>
> please see the following commands. This does not make senese at all to me. I<br>
> have spending lot of time debugging these kind of issues. Other than these<br>
> minor issues running/steps<br>
> from there DARE part is done. been encountering these issues all along.<br>
><br>
> cactus build exists and when I create some times it does creates and some<br>
> times it does not. Please let me know if I am doing anything wrong<br>
><br>
> [smaddi2@qb1 einsteintoolkit_build]$<br>
> /work/smaddi2/agent/einsteintoolkit_build/Cactus/simfactory/bin/sim<br>
> --parfile=/work/smaddi2/agent/einsteintoolkit_build/Cactus/par/static_tov.par<br>
> create --configuration sim static1<br>
> Parameter file:<br>
> /work/smaddi2/agent/einsteintoolkit_build/Cactus/par/static_tov.par<br>
> Skeleton Created<br>
> Job directory: "/work/smaddi2/simulations/static1"<br>
> Error: Given sourcebasedir '/work/smaddi2/agent/einsteintoolkit_build' does<br>
> not contain a Cactus directory<br>
> Aborting Simfactory.<br>
> [smaddi2@qb1 einsteintoolkit_build]$ ls<br>
> Cactus cactus_installer.py <a href="http://einsteintoolkit.th" target="_blank">einsteintoolkit.th</a> GetComponents<br>
> GetComponents.1 GetComponents.2 GetComponents.3<br>
> [smaddi2@qb1 einsteintoolkit_build]$ pwd<br>
> /work/smaddi2/agent/einsteintoolkit_build<br>
> [smaddi2@qb1 einsteintoolkit_build]$ ls Cactus/exe/<br>
> cactus_sim sim<br>
><br>
> please let me know if I am doing anything wrong.<br>
><br>
> Sharath<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@einsteintoolkit.org">Users@einsteintoolkit.org</a><br>
> <a href="http://lists.einsteintoolkit.org/mailman/listinfo/users" target="_blank">http://lists.einsteintoolkit.org/mailman/listinfo/users</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Erik Schnetter <<a href="mailto:schnetter@cct.lsu.edu">schnetter@cct.lsu.edu</a>><br>
<a href="http://www.perimeterinstitute.ca/personal/eschnetter/" target="_blank">http://www.perimeterinstitute.ca/personal/eschnetter/</a><br>
</font></span></blockquote></div><br></div></div>