Hi Rick,
It doesn't look like you're building for the compute nodes, either that
or you've got GPU's. for example Qt is on and OSMesa is off. I'm
unfamiliar with the superbuild process but normally that would produce a
binary that couldn't be run on the compute node without gpu's.
I'm expecting my installs to work with the Kitware provided client
binaries. For that in the past at least we need to match their build
options to some some extent. For example the VisIt bridge would be on. I
know there have been some updates to how the server capabilities are
exposed so I'm not sure how much of an issue that is in 4.2.
Burlen
On 10/27/2014 08:22 AM, Angelini, Richard C (Rick) CIV USARMY ARL (US)
wrote:
Chris - I’ve been able to build on 3 different XC30 systems … here’s my
script. I’m using
PrgEnv-gnu/5.2.14
cray-mpich/6.3.1
gcc/4.8.2
#!/bin/csh
module unload PrgEnv-cray
module load PrgEnv-gnu
module load cray-mpich
module load pbs
module list
setenv gcc "gcc"
setenv gplusplus "g++"
setenv gfortran "gfortran"
setenv CC $gcc
setenv CXX $gplusplus
setenv FC $gfortran
setenv F70 $gfortran
setenv F77 $gfortran
setenv F90 $gfortran
setenv F95 $gfortran
set version=4.2.0
if (! -d Build_${version}_mesa) mkdir Build_${version}_mesa
cd Build_${version}_mesa
if (! -d install) mkdir install
set INSTALLPATH=`pwd`/install
#Build the latest version of CMAKE
if (! -e install/bin/cmake) then
echo "Need to build cmake"
cp ../Downloads/cmake-2.8.11.tar.gz .
tar xzvf cmake-2.8.11.tar.gz
cd cmake-2.8.11
./bootstrap --prefix=$INSTALLPATH
make -j 8 install
cd ..
endif
setenv PATH ${INSTALLPATH}/bin:$PATH
cmake \
-DCMAKE_INSTALL_PREFIX:PATH=${HOME}/pv-test/${version}_mesa \
-DCMAKE_BUILD_TYPE=Release \
-DParaView_FROM_GIT=OFF \
-Ddownload_location=`pwd`/../Downloads \
-DParaView_URL=`pwd`/../Downloads/ParaView-v4.2.0-source.tar.gz \
-DENABLE_boost=ON \
-DENABLE_cgns=OFF \
-DENABLE_ffmpeg=ON \
-DENABLE_fontconfig=ON \
-DENABLE_freetype=ON \
-DENABLE_hdf5=ON \
-DENABLE_libxml2=ON \
-DENABLE_matplotlib=OFF \
-DENABLE_osmesa=OFF \
-DENABLE_mesa=ON \
-DENABLE_qt=ON \
-DENABLE_mpi=ON \
-DENABLE_numpy=ON \
-DENABLE_paraview=ON \
-DENABLE_png=ON \
-DENABLE_python=ON \
-DENABLE_qhull=ON \
-DENABLE_silo=ON \
-DENABLE_szip=ON \
-DENABLE_visitbridge=OFF \
-DMPI_CXX_LIBRARIES:STRING="/opt/cray/mpt/6.3.1/gni/mpich2-gnu/48/lib/libmp
ichcxx.so" \
-DMPI_C_LIBRARIES:STRING="/opt/cray/mpt/6.3.1/gni/mpich2-gnu/48/lib/libmpic
h.so" \
-DMPI_LIBRARY:FILEPATH="/opt/cray/mpt/6.3.1/gni/mpich2-gnu/48/lib/libmpichc
xx.so" \
-DMPI_CXX_INCLUDE_PATH:STRING="/opt/cray/mpt/6.3.1/gni/mpich2-gnu/48/includ
e/" \
-DMPI_C_INCLUDE_PATH:STRING="/opt/cray/mpt/6.3.1/gni/mpich2-gnu/48/include/
" \
-DUSE_SYSTEM_mpi=ON \
-DUSE_SYSTEM_python=ON \
-DUSE_SYSTEM_zlib=ON \
../Source
make -j 4 install
________________________________
Rick Angelini
USArmy Research Laboratory
CISD/HPC Architectures Team
Phone: 410-278-6266
On 10/27/14, 11:00 AM, "Burlen Loring" <blor...@lbl.gov> wrote:
Hi Christopher,
I can't help you with the superbuild, but I can show you how to build PV
on the XC30. here's
the script
<https://github.com/burlen/pvserver-configs/blob/master/servers/edison/bui
lds/config-pv-mesa.sh> I used to build ParaView 4.2 with
PrgEnv-gnu/5.2.25 on our XC30
You'll see a bunch of paths that need to be set specific to the version
of PrgEnv-gnu that you are running. The easiest way to figure out these
is to look at the CRAY_LD_LIBRARY_PATH environment variable. If for some
reason that isn't set then you can alway
look at the output of "CC --verbose". You also need to point to an
OSMesa install
<http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D>.
Burlen
On 10/26/2014 10:22 PM, R C Bording wrote:
Hi,
Trying to build Paraview on our XC30,
here is the end of the build log where it goes pear-shape,
Making install in test
/usr/bin/install -c -m 644 fonts.dtd
'/group/director100/cbording/vis/cle52/build/osmesa-ParaViewSuperbuild-4.2
.0/ParaViewSuperbuild-4.2.0-build/install/etc/fonts'
/usr/bin/install -c -m 644 ./fonts.conf
/group/director100/cbording/vis/cle52/build/osmesa-ParaViewSuperbuild-4.2.
0/ParaViewSuperbuild-4.2.0-build/install/etc/fonts/fonts.conf
/group/director100/cbording/vis/cle52/build/osmesa-ParaViewSuperbuild-4.2.
0/ParaViewSuperbuild-4.2.0-build/install/bin/fc-cache -s -f -v
/usr/share/fonts: caching, new cache contents: 0 fonts, 10 dirs
/usr/share/fonts/100dpi: /bin/sh: line 9: 16194 Illegal instruction
/group/director100/cbording/vis/cle52/build/osmesa-ParaViewSuperbuild-4.2.
0/ParaViewSuperbuild-4.2.0-build/install/bin/fc-cache -s -f -v
make[5]: *** [install-data-local] Error 132
make[4]: *** [install-am] Error 2
make[3]: *** [install-recursive] Error 1
make[2]: *** [fontconfig/src/fontconfig-stamp/fontconfig-install] Error 2
make[1]: *** [CMakeFiles/fontconfig.dir/all] Error 2
make: *** [all] Error 2
Here is the cmake build flags for the paraviewsuperbuild script.
IBS_TOOL_CONFIGURE='-DCMAKE_BUILD_TYPE=Release \
-DParaView_FROM_GIT=OFF \
-DParaView_URL=$MYGROUP/vis/cle52/src/ParaView-v4.2.0-source.tar.gz \
-DENABLE_boost=ON \
-DENABLE_cgns=OFF \
-DENABLE_ffmpeg=ON \
-DENABLE_fontconfig=ON \
-DENABLE_freetype=ON \
-DENABLE_hdf5=ON \
-DENABLE_libxml2=ON \
-DENABLE_matplotlib=OFF \
-DENABLE_mesa=OFF \
-DENABLE_mpi=ON \
-DENABLE_numpy=ON \
-DENABLE_osmesa=ON \
-DENABLE_paraview=ON \
-DENABLE_png=ON \
-DENABLE_python=ON \
-DENABLE_qhull=ON \
-DENABLE_qt=OFF \
-DENABLE_silo=ON \
-DENABLE_szip=ON \
-DENABLE_visitbridge=ON \
-DMPI_CXX_LIBRARIES:STRING="/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/lib/libm
pichcxx.so" \
-DMPI_C_LIBRARIES:STRING="/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/mpt/lib/li
bmpich.so" \
-DMPI_LIBRARY:FILEPATH="/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/lib/libmpich
cxx.so" \
-DMPI_CXX_INCLUDE_PATH:STRING="/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/inclu
de" \
-DMPI_C_INCLUDE_PATH:STRING="/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include
" \
-DUSE_SYSTEM_mpi=ON \
-DUSE_SYSTEM_python=OFF \
-DUSE_SYSTEM_zlib=ON '
Is there other CRAY specific libraries that I should check for before I
try again to install paraview?
Our Cray does NOT have any GPUS!
R. Christopher Bording
Supercomputing Team-iVEC@UWA
E: cbord...@ivec.org
T: +61 8 6488 6905
26 Dick Perry Avenue,
Technology Park
Kensington, Western Australia.
6151
_______________________________________________
Powered by www.kitware.com <http://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 ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview
_______________________________________________
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 ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview
_______________________________________________
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 ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview