Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Chameleon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
Chameleon
Commits
80c601c7
Commit
80c601c7
authored
10 years ago
by
PRUVOST Florent
Browse files
Options
Downloads
Patches
Plain Diff
update texinfo users_guide
parent
73367a22
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/texinfo/chapters/configuration.texi
+9
-9
9 additions, 9 deletions
docs/texinfo/chapters/configuration.texi
docs/texinfo/chapters/using.texi
+10
-10
10 additions, 10 deletions
docs/texinfo/chapters/using.texi
with
19 additions
and
19 deletions
docs/texinfo/chapters/configuration.texi
+
9
−
9
View file @
80c601c7
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
docs/texinfo/chapters/using.texi
+
10
−
10
View file @
80c601c7
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment