[CMake] Cmake problem on nfs partition

Ryan Pavlik rpavlik at iastate.edu
Fri Apr 9 12:41:38 EDT 2010


On 4/9/10 9:36 AM, Patrick Begou wrote:
> Hi,
>
> I've got a strange behavior with cmake with my linux X86_64 system configuration
> (Open Suse).
>
> My users home directories are nfs mounted on:
> /tmp_mnt/hasources
> and I have a soft link
> /HA/sources ->  /tmp_mnt/hasources/.
>
> An exemple of $HOME for a user is:
> # echo $HOME
> /HA/sources/pillonm
>
> Using cmake to build a large cfd application fails with a message:
> # pwd
> /tmp_mnt/hasources/pillonm/OpenFOAM/OpenFOAM-1.6/applications/utilities/postProcessing/graphics/PV3FoamReader/PV3FoamReader
> # cmake ../..
> CMake Error: The source directory
> "/hasources/pillonm/OpenFOAM/OpenFOAM-1.6/applications/utilities/postProcessing/graphics"
> does not exist.
>
> I do not know how cmake builds this "/hasources/..." reference to a directory
> which does not exist.
>
> So, as my cmake is 2.6, I've downloaded 2.8.1 cmake sources in my $HOME/OpenFOAM
> directory. And again, when runing ./bootstrap in the cmake directory I get the
> same type of error:
> CMake Error: Could not find cmake module
> file:/hasources/pillonm/OpenFOAM/cmake-2.8.1/CMakeFiles/CMakeCCompiler.cmake
>
> But if I put cmake on a local filesystem, IE /tmp, the bootstrap process and the
> build process works fine.
>
> Any idea ?
>
> Thanks
>
> Patrick
>    

I am unsure, but for what it's worth I've built large CMake-based 
projects, including cmake itself, on an NFS home directory (RHEL 5).

Ryan

-- 
Ryan Pavlik
Human-Computer Interaction Graduate Student
Virtual Reality Applications Center
Iowa State University

rpavlik at iastate.edu
http://academic.cleardefinition.com/



More information about the CMake mailing list