[CMake] Compute Node Linux (CNL)

Bill Hoffman bill.hoffman at kitware.com
Tue Sep 23 08:11:14 EDT 2008


John Biddiscombe wrote:
> I downloaded a tarball of 2.6.1 and tried ./configure on one of the cray 
> test machines, it fails to compile cmake with the following
> 
> Linking C shared module libcmsysTestDynload.so
> /opt/xt-asyncpe/1.0c/bin/cc: INFO: linux target is being used
> /usr/bin/ld: /usr/lib64/libpthread.a(pt-system.o): relocation 
> R_X86_64_32 against `a local symbol' can not be used when making a 
> shared object; recompile with -fPIC
> /usr/lib64/libpthread.a: could not read symbols: Bad value
> make[2]: *** [Source/kwsys/libcmsysTestDynload.so] Error 2
> make[1]: *** [Source/kwsys/CMakeFiles/cmsysTestDynload.dir/all] Error 2
> make: *** [all] Error 2
> 
> 
> I tried wiping everything and experimenting with various flags such as
> ./configure -static
> but no success.
> 
> 1) Is it possible to tell cmake to configure and not use any shared libs
> 2) Has anyone had any success with CNL. I googled a little but did not 
> turn up anything useful. Ultimately, I'd like to try compiling paraview 
> batch mode under CNL.
> 

That is just a test.  You might want to try make -k, most of cmake does 
not require shared stuff.   However, I don't think we have an option to 
turn off all shared stuff yet.

-Bill

-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518-371-3971 (phone and fax)


More information about the CMake mailing list