Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 80c601c7 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

update texinfo users_guide

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