[vtkusers] OpenMPI Update Nov 16
Dave Partyka
dave.partyka at kitware.com
Fri Nov 20 10:41:00 EST 2009
I think running a dashboard from a crontab will not have the same
environment and won't load your bashrc files. You need to add those switch
commands to the script that runs your dashboard.
So your crontab might like look:
5 22 * * * /bin/sh some_shell_script_that_launches_your_dashboard.txt
and then a dashboard script
(some_shell_script_that_launches_your_dashboard.txt) that sets any
environment variables and calls ctest, e.g.:
switch old-mpi new-mpi
ctest -S my_dashboard_script
On Fri, Nov 20, 2009 at 10:32 AM, Kevin H. Hobbs <hobbsk at ohiou.edu> wrote:
> Since my machines updated from OpenMPI 1.3.1 to 1.3.3 as part of
> Fedora-11's regular update CMake has been unable to find MPI.
>
> mpirun and mpicc are nolonger in my path, the linker no longer finds
> libmpi.so and so on.
>
> If I run :
>
> module load openmpi-x86_64
>
> then the MPI programs are added to my path, and the libraries are added
> to the linker's search path.
>
> I can then build one of my projects with CMake and CMake correctly finds
> MPI.
>
> However, even though I've added the module load command to my
> .bash_profile, .bashrc, and to the top of my script that runs the
> nightly builds of VTK and ParaView, CMake is unable to find MPI for
> these nightly builds.
>
> Does anybody know what's going on?
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091120/16c19fb7/attachment.htm>
More information about the vtkusers
mailing list