-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL_EXAMPLES
37 lines (27 loc) · 1.17 KB
/
INSTALL_EXAMPLES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Examples of QDP++ installation on various machines
==================================================
Here are some short concise examples of QDP++ installation showing
relevant compiler flags
1) g++-3.2, INTEL, architecture = scalar
% cd qdp++
% mkdir scalar
% cd scalar
% ../configure --prefix=/usr/local/qdp++/scalar --enable-sse2 \
CXX=/opt/gcc-3.2/bin/gcc CC=/opt/gcc-3.2/bin/gcc \
CXXFLAGS="-O2 -msse -finline-limit=50000 -march=pentium4" LDFLAGS=-static
2) g++-3.2, INTEL, architecture = parscalar
% cd qdp++
% mkdir parscalar
% cd parscalar
% ../configure --enable-parallel-arch=parscalar \
--with-qmp=/usr/local/qmp/mpi-1.2.5 \
--prefix=/usr/local/qdp++/parscalar --enable-sse2 \
CXX=/opt/gcc-3.2/bin/gcc CC=/opt/gcc-3.2/bin/gcc \
CXXFLAGS="-O2 -msse -finline-limit=50000 -march=pentium4" LDFLAGS=-static
3) IBM SP systems. E.g., Oak-ridge
../configure CXX=<some path here>/mpiCC \
--with-qmp-cxxflags="-I/Home/bj/scratch/qmp-1.3-mpich/include" \
--with-qmp-ldflags="-L/Home/bj/scratch/qmp-1.3-mpich/lib" \
--with-qmp-libs="-lqmp" \
--enable-parallel-arch=parscalar \
--prefix=/Home/bj/scratch/qdp-0.19-Nd4-Ns4-Nc4-parscalar