I think running a dashboard from a crontab will not have the same environment and won&#39;t load your bashrc files. You need to add those switch commands to the script that runs your dashboard.<div><br></div><div>So your crontab might like look:</div>
<div><br></div><div>5 22 * * * /bin/sh some_shell_script_that_launches_your_dashboard.txt</div><div><br></div><div>and then a dashboard script (some_shell_script_that_launches_your_dashboard.txt) that sets any environment variables and calls ctest, e.g.:</div>
<div><br></div><div>switch old-mpi new-mpi</div><div><br></div><div>ctest -S my_dashboard_script </div><div><br></div><div><br></div><div><br><div class="gmail_quote">On Fri, Nov 20, 2009 at 10:32 AM, Kevin H. Hobbs <span dir="ltr">&lt;<a href="mailto:hobbsk@ohiou.edu">hobbsk@ohiou.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Since my machines updated from OpenMPI 1.3.1 to 1.3.3 as part of<br>
Fedora-11&#39;s regular update CMake has been unable to find MPI.<br>
<br>
mpirun and mpicc are nolonger in my path, the linker no longer finds<br>
libmpi.so and so on.<br>
<br>
If I run :<br>
<br>
module load openmpi-x86_64<br>
<br>
then the MPI programs are added to my path, and the libraries are added<br>
to the linker&#39;s search path.<br>
<br>
I can then build one of my projects with CMake and CMake correctly finds<br>
MPI.<br>
<br>
However, even though I&#39;ve added the module load command to my<br>
.bash_profile, .bashrc, and to the top of my script that runs the<br>
nightly builds of VTK and ParaView, CMake is unable to find MPI for<br>
these nightly builds.<br>
<br>
Does anybody know what&#39;s going on?<br>
<br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>