
2DX Installation2DX v2
Installed fftw3
Install QT 4.3
Install CCP4
Compile 2dx
Installing for general use
2DX v3
options: --enable-shared --enable-single may be necessary for some applications
2DX version 3, for 32-bit
compile from sourceFFTW3
QT 4.42
CCP4
2dx
setenv PATH /usr/local/Trolltech/Qt-4.4.2/bin:$PATH
CFLAGS= -w -ffast-math -DUSE_THREADS_2DX -ffast-math -lpthread
2dx July 2013
./configure -prefix /cryoem/qt_4.6.3 -no-phonon -no-phonon-backend -no-nis -no-openvg -nomake demos -nomake examples gmake gmake install
Compiling latest version of 2dx (3.4.1, April 2012, downloaded nightly version as that is the only one available)
./configure --enable-shared --enable-single --enable-float --prefix=/cryoem/fftw-3.3.3 make make install
./build_all ~/Downloads/2dx_nightly_source /cryoem/2dx_nightly_source_3.4.1_071013
sudo ln -s /usr/lib/gcc/x86_64-redhat-linux/4.1.1/libstdc++.a /usr/lib/.
IF(USE_FFTWD OR USE_FFTWF)
SET(FFTW_INC_SEARCHPATH
/sw/include
/usr/include
/usr/local/include
/usr/include/fftw
/usr/local/include/fftw
/opt/local/include
/programs/i386-mac/fftw/3.0.1/include
/programs/i386-linux/fftw/3.3/include
/cryoem/fftw-3.3.3/include
)
| configure |
cmake -DCMAKE_INSTALL_PREFIX=/cryoem/2dx_nightly_source_3.4.1_071013 -DAPPLE_BUNDLE=OFF /home/rice/Downloads/2dx_nightly_source
svn: '/home/rice/Downloads/2dx_nightly_source' is not a working copy
-- SVN dummy return: 1
-- No svn revision found
-- SVN revision number: unknown
-- The variable 2DX_ROOT_DIR is set to: /home/rice/Downloads/2dx_nightly_source
-- The variable 2DX_INCLUDE_DIR is set to: /home/rice/Downloads/2dx_nightly_source/include
-- Install prefix is set to /cryoem/2dx_nightly_source_3.4.1_071013
-- adding f95 specific flags
-- /home/rice/Downloads/2dx_nightly_source/kernel/mrc/lib/libmisc.a
-- KERNEL/LIB: Found QT4 at /cryoem/qt_4.6.3/lib
-- THE BUILD TYPE IS SET TO: RELEASE
-- adding f95 specific flags
-- adding gcc specific flags
-- KERNEL: Found stdc++ at /usr/lib/libstdc++.a
-- KERNEL: Found FFTW at /usr/local/lib/libfftw3f.so
-- THE BUILD TYPE IS SET TO: RELEASE
-- Included conf-1 Library
-- conf: Found QT4 at /cryoem/qt_4.6.3/lib
-- We are building the library at the moment
-- Included extentions-1 Library
-- extentions: Found QT4 at /cryoem/qt_4.6.3/lib
-- Included mrcImage-1 Library
-- mrcImage: Found FFTW at /usr/local/lib/libfftw3f.so
-- mrcImage: Found QT4 at /cryoem/qt_4.6.3/lib
-- Included widgets-1 Library
-- widgets: Found FFTW at /usr/local/lib/libfftw3f.so
-- widgets: Found QT4 at /cryoem/qt_4.6.3/lib
-- widgets: building at the moment
-- widgets: BINARY_DIR is /home/rice/Downloads/2dx_nightly_source/lib/src/widgets
-- CMAKE_PREFIX_PATH /home/rice/Downloads/2dx_nightly_source/share
-- 2dx_image: Found FFTW at /usr/local/lib/libfftw3f.so
-- 2dx_image: Found QT4 at /cryoem/qt_4.6.3/lib
-- 2dx_image: Found OpenGL at /usr/lib64/libGLU.so;/usr/lib64/libGL.so;/usr/lib64/libSM.so;/usr/lib64/libICE.so;/usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Creating: 2dx_image
-- 2dx_merge: Found FFTW at /usr/local/lib/libfftw3f.so
-- Found QT4 at /cryoem/qt_4.6.3/lib
-- Found OpenGL at /usr/lib64/libGLU.so;/usr/lib64/libGL.so;/usr/lib64/libSM.so;/usr/lib64/libICE.so;/usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Creating: 2dx_merge
-- 2dx_logbrowser: Found QT4 at /cryoem/qt_4.6.3/lib
-- Creating: 2dx_logbrowser
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rice/Downloads/2dx_nightly_source
+----------------------------------------------------------------------------+
| make |
[ 0%] Built target plot2k
[ 0%] Built target 2dx
[ 1%] Built target fft
[ 1%] Built target conv
[ 1%] Built target fsplit
[ 1%] Built target 2dx_CompleteFriedel
[ 2%] Built target 2dx_DATAtranslate
[ 2%] Built target 2dx_allspacea
[ 2%] Built target 2dx_avrgamphs
[ 2%] Built target 2dx_boximage
[ 3%] Built target 2dx_calangle
[ 3%] Built target 2dx_calc_num_phases
[ 3%] Built target 2dx_calcmag
[ 3%] Built target 2dx_calcpositions
[ 4%] Built target 2dx_callat
[ 4%] Built target 2dx_ccunbendh
[ 4%] Built target 2dx_ccunbendk
[ 4%] Built target 2dx_centric
[ 5%] Built target 2dx_centric2
[ 5%] Built target 2dx_centric3
[ 5%] Built target 2dx_checklat3
[ 5%] Built target 2dx_ctfapplyk
[ 6%] Built target 2dx_ctfsearch2
[ 6%] Built target 2dx_edmtz
[ 6%] Built target 2dx_emtilt
[ 6%] Built target 2dx_fftrans
[ 7%] Built target 2dx_findlat
[ 7%] Built target 2dx_getdirectories
[ 7%] Built target 2dx_getnumber
[ 7%] Built target 2dx_getspot
[ 8%] Built target 2dx_hand
[ 8%] Built target 2dx_hklclean
[ 8%] Built target 2dx_hklsym
[ 8%] Built target 2dx_hklsym2
[ 9%] Built target 2dx_hklsym3
[ 9%] Building Fortran object kernel/mrc/source/CMakeFiles/2dx_hklsym4.dir/2dx_hklsym4.for.o
In file /home/rice/Downloads/2dx_nightly_source/kernel/mrc/source/2dx_hklsym4.for:921
INTEGER, DIMENSION(3), allocatable :: MINDEX
1
Error: Attribute at (1) is not allowed in a TYPE definition
| ||||||||
| Added: | ||||||||
| > > | CentOS? 6 compile
rpm -qa | grep qt poppler-qt4-0.12.4-3.el6_0.1.x86_64 dbus-qt-0.70-7.2.el6.x86_64 qt-4.6.2-26.el6_4.x86_64 qt-mysql-4.6.2-26.el6_4.x86_64 qt3-3.3.8b-30.el6.x86_64 qt-mobility-1.1.3-2.el6.x86_64 qt-sqlite-4.6.2-26.el6_4.x86_64 qt-x11-4.6.2-26.el6_4.x86_64 ibus-qt-1.3.0-2.el6.x86_64 qt3-devel-3.3.8b-30.el6.x86_64 qtwebkit-devel-2.1.1-1.el6.x86_64 qt-doc-4.6.2-26.el6_4.noarch qtwebkit-2.1.1-1.el6.x86_64 pinentry-qt-0.7.6-6.el6.x86_64 qt-devel-4.6.2-26.el6_4.x86_64
rpm -qa | grep fft fftw-devel-3.2.1-3.1.el6.x86_64 fftw-static-3.2.1-3.1.el6.x86_64 fftw-3.2.1-3.1.el6.x86_64* newer gfortran works!
./build_all /home/rice/2dx_nightly_source /usr/local/2dx/
Scanning dependencies of target 2dx_image
[ 80%] Building CXX object 2dx_image/CMakeFiles/2dx_image.dir/mainWindow.cpp.o
In file included from /home/rice/2dx_nightly_source/2dx_image/mainWindow.h:32,
from /home/rice/2dx_nightly_source/2dx_image/mainWindow.cpp:21:
/home/rice/2dx_nightly_source/2dx_image/centralWindow.h:25:20: error: QWebView: No such file or directory
In file included from /home/rice/2dx_nightly_source/2dx_image/centralWindow.h:36,
from /home/rice/2dx_nightly_source/2dx_image/mainWindow.h:32,
from /home/rice/2dx_nightly_source/2dx_image/mainWindow.cpp:21:
/home/rice/2dx_nightly_source/2dx_image/statusViewer.h:8:20: error: QWebPage: No such file or directory
/home/rice/2dx_nightly_source/2dx_image/statusViewer.h:9:21: error: QWebFrame: No such file or directory
In file included from /home/rice/2dx_nightly_source/2dx_image/centralWindow.h:36,
from /home/rice/2dx_nightly_source/2dx_image/mainWindow.h:32,
from /home/rice/2dx_nightly_source/2dx_image/mainWindow.cpp:21:
/home/rice/2dx_nightly_source/2dx_image/statusViewer.h:17: error: expected class-name before ‘{’ token
make[2]: *** [2dx_image/CMakeFiles/2dx_image.dir/mainWindow.cpp.o] Error 1
make[1]: *** [2dx_image/CMakeFiles/2dx_image.dir/all] Error 2
make: *** [all] Error 2
Build failed for 2dx
sudo yum install qtwebkit-devel
| |||||||
| ||||||||
| Added: | ||||||||
| > > | ||||||||