<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div style="word-wrap:break-word">Hello, 
<div>I have made a CMAKE_TOOLCHAIN_FILE which contains the following: </div>
<div><br>
</div>
<div>
<div>rcook@rzuseqlac2 (catalyst_backend_crossbuild ): cat ../backend_toolchain.cmake </div>
<div>#=====================================</div>
<div>set(CMAKE_SYSTEM_NAME BlueGeneQ-dynamic)</div>
<div><br>
</div>
<div>set(TOOLCHAIN_LOCATION /bgsys/drivers/ppcfloor/gnu-linux/bin)</div>
<div>set(TOOLCHAIN_PREFIX powerpc64-bgq-linux-)</div>
<div><br>
</div>
<div>set(CMAKE_C_COMPILER       ${TOOLCHAIN_LOCATION}/${TOOLCHAIN_PREFIX}gcc)</div>
<div>set(CMAKE_CXX_COMPILER     ${TOOLCHAIN_LOCATION}/${TOOLCHAIN_PREFIX}g++)</div>
<div>set(CMAKE_Fortran_COMPILER ${TOOLCHAIN_LOCATION}/${TOOLCHAIN_PREFIX}gfortran)</div>
<div>
<div>#=====================================</div>
</div>
<div><br>
</div>
<div>When I try to use it to compile catalyst, I get an error which arises from a file in the Catalyst distribution and which I don’t understand.  Can someone ’splain it?  Thanks!</div>
<div><br>
</div>
<div>
<div>rcook@rzuseqlac2 (catalyst_backend_crossbuild ): /collab/usr/global/tools/Kitware/Catalyst/bgqos_0/base/cmake.sh  -DCMAKE_TOOLCHAIN_FILE=/collab/usr/global/tools/Kitware/Catalyst/bgqos_0/backend_toolchain.cmake  /collab/usr/global/tools/Kitware/Catalyst/bgqos_0/base</div>
<div>Not searching for unused variables given on the command line.</div>
<div>-- The C compiler identification is GNU 4.4.7</div>
<div>-- The CXX compiler identification is GNU 4.4.7</div>
<div>-- Check for working C compiler: /bgsys/drivers/ppcfloor/gnu-linux/bin/powerpc64-bgq-linux-gcc</div>
<div>-- Check for working C compiler: /bgsys/drivers/ppcfloor/gnu-linux/bin/powerpc64-bgq-linux-gcc -- works</div>
<div>-- Detecting C compiler ABI info</div>
<div>-- Detecting C compiler ABI info - done</div>
<div>-- Detecting C compile features</div>
<div>-- Detecting C compile features - done</div>
<div>-- Check for working CXX compiler: /bgsys/drivers/ppcfloor/gnu-linux/bin/powerpc64-bgq-linux-g++</div>
<div>-- Check for working CXX compiler: /bgsys/drivers/ppcfloor/gnu-linux/bin/powerpc64-bgq-linux-g++ -- works</div>
<div>-- Detecting CXX compiler ABI info</div>
<div>-- Detecting CXX compiler ABI info - done</div>
<div>-- Detecting CXX compile features</div>
<div>-- Detecting CXX compile features - done</div>
<div>-- Found Git: /usr/bin/git (found version "1.7.1") </div>
<div>-- Determined Source Version : 4.3.1</div>
<div>CMake Error at CMakeLists.txt:94 (find_package):</div>
<div>  By not providing "FindParaViewCompileTools.cmake" in CMAKE_MODULE_PATH this</div>
<div>  project has asked CMake to find a package configuration file provided by</div>
<div>  "ParaViewCompileTools", but CMake did not find one.</div>
<div><br>
</div>
<div>  Could not find a package configuration file provided by</div>
<div>  "ParaViewCompileTools" with any of the following names:</div>
<div><br>
</div>
<div>    ParaViewCompileToolsConfig.cmake</div>
<div>    paraviewcompiletools-config.cmake</div>
<div><br>
</div>
<div>  Add the installation prefix of "ParaViewCompileTools" to CMAKE_PREFIX_PATH</div>
<div>  or set "ParaViewCompileTools_DIR" to a directory containing one of the</div>
<div>  above files.  If "ParaViewCompileTools" provides a separate development</div>
<div>  package or SDK, be sure it has been installed.</div>
<div><br>
</div>
<div><br>
</div>
<div>-- Configuring incomplete, errors occurred!</div>
<div>See also "/collab/usr/global/tools/Kitware/Catalyst/bgqos_0/catalyst_backend_crossbuild/CMakeFiles/CMakeOutput.log”.</div>
</div>
<div><br>
</div>
<div>This is odd because if I do not use the toolchain file, Catalyst compiles fine  </div>
<div>-----------------------------------------------------------------------</div>
<div>I’m attaching the log referenced, I don’t see anything in it that tips me off. </div>
<div><br>
</div>
<div></div>
</div>
</div>
<div style="word-wrap:break-word">
<div>
<div></div>
<div><br>
</div>
<div><br>
</div>
<div><span class="x_Apple-style-span" style="border-collapse:separate; font-size:13px; border-spacing:0px"><span class="x_Apple-style-span" style="border-collapse:separate; color:rgb(0,0,0); font-family:Monaco; font-size:13px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px"><span class="x_Apple-style-span" style="border-collapse:separate; color:rgb(0,0,0); font-family:Monaco; font-size:13px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px"><span class="x_Apple-style-span" style="border-collapse:separate; color:rgb(0,0,0); font-family:Monaco; font-size:13px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; text-indent:0px; text-transform:none; orphans:2; white-space:normal; widows:2; word-spacing:0px"><span class="x_Apple-style-span" style="border-collapse:separate; color:rgb(0,0,0); font-family:Monaco; font-size:13px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; text-indent:0px; text-transform:none; orphans:2; white-space:normal; widows:2; word-spacing:0px"><span class="x_Apple-style-span" style="border-collapse:separate; color:rgb(0,0,0); font-family:Monaco; font-size:13px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; text-indent:0px; text-transform:none; orphans:2; white-space:normal; widows:2; word-spacing:0px"><span class="x_Apple-style-span" style="border-collapse:separate; color:rgb(0,0,0); font-family:Monaco; font-size:13px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; text-indent:0px; text-transform:none; orphans:2; white-space:normal; widows:2; word-spacing:0px"><span class="x_Apple-style-span" style="border-collapse:separate; color:rgb(0,0,0); font-family:Monaco; font-size:13px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; text-indent:0px; text-transform:none; orphans:2; white-space:normal; widows:2; word-spacing:0px">
<div>-- </div>
<div>✐Richard Cook   </div>
<div>✇ Lawrence Livermore National Laboratory</div>
<div>Bldg-453 Rm-4024, Mail Stop L-557        </div>
<div>7000 East Avenue,  Livermore, CA, 94550, USA</div>
<div>☎ (office) (925) 423-9605    </div>
<div>☎ (fax) (925) 423-6961</div>
<div>---</div>
<div>Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.</div>
<div>(opinions expressed herein are mine and not those of LLNL)</div>
<br class="x_Apple-interchange-newline">
</span></span></span></span></span></span></span><br class="x_Apple-interchange-newline">
</span></div>
<br>
</div>
</div>
</body>
</html>