Following should be installed along.
1. cmake : cross platform build tool. CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment
2. Qt
http://qt-project.org/downloads
QT installation..
Goto INSTALL file in the downloaded unzipped tar file.
Look at the html for embedded Linux
http://qt-project.org/doc/qt-4.8/qt-embedded-install.html
cd ~/qt-everywhere-opensource-src-4.8.5 ./configure -embeddedmake
now set the path in (your home directory) ~/.bash_profile
PATH=/usr/local/Trolltech/QtEmbedded-4.8.5/bin:$PATH export PATH
also set cmake path
ParaView uses Qt as its GUI library. Qt is required whenever the ParaView client is built.
set qt path>>
export PATH=/home/umunipala/research/sem4/source/qt/qt-everywhere-opensource-src-4.8.5/bin:$PATH
file and source:: give the executables
export QT_QMAKE_EXECUTABLE=/home/umunipala/research/sem4/source/qt/qt-everywhere-opensource-src-4.8.5
Need to set this as environment variable
and run paraview : try qt installation and then set env variables. Then try the following...
/home/umunipala/research/sem4/source/ParaView-v4.0.1-source/CMake is the location to run this command
- Run ccmake to configure the Makefiles
%
ccmake ../ParaView-v4.0.1-source
-----------------------------------------------------------------------------------------------------------------------------------------------------
3.MPI
4.Python
5 Mesa 3d graphics library
http://www.mesa3d.org/download.html
ftp://ftp.freedesktop.org/pub/mesa/9.0.1/
Cmake
There doesn't seem to be a 64 bit. Going to use Linux i386
http://www.cmake.org/cmake/resources/software.html
Installation location : /home/umunipala/research/sem4/source/cmake (binaries)
Source installation location:
/home/umunipala/research/sem4/source/cmake/cmakesource/cmake-2.8.12.1
steps:
>> ./bootstrap
>> make
>>make install
CMake Error at cmake_install.cmake:36 (FILE):
file cannot create directory: /usr/local/doc/cmake-2.8. Maybe need
administrative privileges. :(
Lets try the binary.
Maybe we need to add the bin to the path.
export PATH=/home/umunipala/research/sem4/source/cmake/cmake-2.8.12.1-Linux-i386/bin:$PATH
configuration of client with server:
https://www.alcf.anl.gov/user-guides/vis-paraview-data-analytics-cluster
ccmake errors
ReplyDelete------------------------
CMake Error at CMakeLists.txt:354 (message):
Qt 4.7.0 or greater not found. Please check the QT_QMAKE_EXECUTABLE
variable.
CMake Error at VTK/Rendering/OpenGL/CMakeLists.txt:303 (message):
X11_Xt_LIB could not be found. Required for VTK X lib.
type e in the error screen to edit
ReplyDeleteHere are the ccmake options that need to be set:
CMAKE_INSTALL_PREFIX /projects/vis/tools/paraview-2.2.1
CMAKE_VERBOSE_MAKEFILE ON
MPI_INCLUDE_PATH /usr/local/apps/mpich-1.2.5.2/include
MPI_LIBRARY /usr/local/apps/mpich-1.2.5.2/lib/libpmpich.a
OPENGL_INCLUDE_DIR /projects/vis/tools/mesa-6.4.1/include
OPENGL_gl_LIBRARY /projects/vis/tools/mesa-6.4.1/lib/libmGL.a
OPENGL_glu_LIBRARY /projects/vis/tools/mesa-6.4.1/lib/libmGLU.a
OSMESA_INCLUDE_DIR /projects/vis/tools/mesa-6.4.1/include
OSMESA_LIBRARY /projects/vis/tools/mesa-6.4.1/lib/libmOSMesa.a
VTK_MPIRUN_EXE /usr/local/apps/mpich-1.2.5.2/bin/mpirun
VTK_OPENGL_HAS_OSMESA ON
VTK_USE_MPI ON
SET PARAVIEW FOR LINUX
ReplyDeleteAdd the lines fo xserver on server
NOTE: Be careful to ensure that the characters around the word hostname are backticks, and not single quotes, especially if cutting and pasting the text.
if ( echo `hostname` | grep -sq 'vs' ); then
export DISPLAY=:0.0
fi
https://www.alcf.anl.gov/user-guides/vis-paraview-data-analytics-cluster
[umunipala@griffin bin]$ export PATH=/home/umunipala/research/sem4/ParaView-4.0.1-Linux-64bit/bin:$PATH
[umunipala@griffin bin]$ pvserver
Waiting for client...
Connection URL: cs://griffin:11111
Accepting connection(s): griffin:11111
Now make the connection from localhost to the server.
Add the lines fo xserver on server in your .bashrc
Deleteworking: both 64 bit 3.14 once the server is started n running,
Deletessh -L 11111:localhost:11111 umunipala@griffin.utep.edu
Lab: we need to use same version for client and server; give the correct path
ReplyDelete[umunipala@griffin bin]$ export PATH=/home/umunipala/paraview/ParaView-3.14.1-Linux-64bit/bin:$PATH