Commit 80c601c7 authored by PRUVOST Florent's avatar PRUVOST Florent

update texinfo users_guide

parent 73367a22
......@@ -53,14 +53,14 @@ access to options through a user-friendly Qt interface (required
Example of configuration using the command line
@example
cmake ~/chameleon/ -DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_INSTALL_PREFIX=~/install \
-DCHAMELEON_USE_CUDA=ON \
-DCHAMELEON_USE_MAGMA=ON \
-DCHAMELEON_USE_MPI=ON \
-DBLA_VENDOR=Intel10_64lp \
-DSTARPU_DIR=~/install/starpu-1.1 \
-DCHAMELEON_USE_FXT=ON
cmake ~/chameleon/ -DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_INSTALL_PREFIX=~/install \
-DCHAMELEON_USE_CUDA=ON \
-DCHAMELEON_USE_MAGMA=ON \
-DCHAMELEON_USE_MPI=ON \
-DBLA_VENDOR=Intel10_64lp \
-DSTARPU_DIR=~/install/starpu-1.1 \
-DCHAMELEON_USE_FXT=ON
@end example
You can get the full list of options with @option{-L[A][H]} options of
......@@ -262,7 +262,7 @@ where to find the header files of libraries
@item it is also possible to specify headers and library directories
separately, example
@example
cmake <path to SOURCE_DIR> \
cmake <path to SOURCE_DIR> \
-DSTARPU_INCDIR=path/to/libstarpu/include/starpu/1.1 \
-DSTARPU_LIBDIR=path/to/libstarpu/lib
@end example
......
......@@ -163,11 +163,11 @@ gcc -I/home/yourname/install/chameleon/include -o main.o -c main.c
Now if you want to link your application with CHAMELEON static libraries, you
could do:
@example
gcc main.o -o main \
gcc main.o -o main \
/home/yourname/install/chameleon/lib/libchameleon.a \
/home/yourname/install/chameleon/lib/libchameleon_starpu.a \
/home/yourname/install/chameleon/lib/libcoreblas.a \
-lstarpu-1.1 -Wl,--no-as-needed -lmkl_intel_lp64 \
/home/yourname/install/chameleon/lib/libcoreblas.a \
-lstarpu-1.1 -Wl,--no-as-needed -lmkl_intel_lp64 \
-lmkl_sequential -lmkl_core -lpthread -lm -lrt
@end example
As you can see in this example, we also link with dynamic libraries
......@@ -194,8 +194,8 @@ to dynamic libraries with @option{-L} option and you give the name of libraries
with @option{-l} option like this:
@example
gcc main.o -o main \
-L/home/yourname/install/chameleon/lib \
-lchameleon -lchameleon_starpu -lcoreblas \
-L/home/yourname/install/chameleon/lib \
-lchameleon -lchameleon_starpu -lcoreblas \
-lstarpu-1.1 -Wl,--no-as-needed -lmkl_intel_lp64 \
-lmkl_sequential -lmkl_core -lpthread -lm -lrt
@end example
......@@ -224,19 +224,19 @@ gfortran -o main.o -c main.c
Static linking example:
@example
gfortran main.o -o main \
gfortran main.o -o main \
/home/yourname/install/chameleon/lib/libchameleon.a \
/home/yourname/install/chameleon/lib/libchameleon_starpu.a \
/home/yourname/install/chameleon/lib/libcoreblas.a \
-lstarpu-1.1 -Wl,--no-as-needed -lmkl_intel_lp64 \
/home/yourname/install/chameleon/lib/libcoreblas.a \
-lstarpu-1.1 -Wl,--no-as-needed -lmkl_intel_lp64 \
-lmkl_sequential -lmkl_core -lpthread -lm -lrt
@end example
Dynamic linking example:
@example
gfortran main.o -o main \
-L/home/yourname/install/chameleon/lib \
-lchameleon -lchameleon_starpu -lcoreblas \
-L/home/yourname/install/chameleon/lib \
-lchameleon -lchameleon_starpu -lcoreblas \
-lstarpu-1.1 -Wl,--no-as-needed -lmkl_intel_lp64 \
-lmkl_sequential -lmkl_core -lpthread -lm -lrt
@end example
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment