← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3832: corrected a little bug in description of yadedaily-installation and added example and folder stru...

 

------------------------------------------------------------
revno: 3832
author: Alexander Eulitz <alexander.eulitz@xxxxxxxxxxxxxxxx>
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
timestamp: Fri 2014-02-28 14:03:16 +0100
message:
  corrected a little bug in description of yadedaily-installation and added example and folder structure for compilation
modified:
  doc/sphinx/installation.rst


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'doc/sphinx/installation.rst'
--- doc/sphinx/installation.rst	2014-02-03 16:11:58 +0000
+++ doc/sphinx/installation.rst	2014-02-28 13:03:16 +0000
@@ -22,9 +22,10 @@
 
 	sudo bash -c 'echo "deb http://www.yade-dem.org/packages/ precise/" >> /etc/apt/sources.list'
 	wget -O - http://www.yade-dem.org/packages/yadedev_pub.gpg | sudo apt-key add -
+	sudo apt-get update
 	sudo apt-get install yadedaily
 
-If you have another distribution, not Ubuntu Precise, be sure to use the
+If you have another distribution, not Ubuntu Precise (Version 12.04), be sure to use the
 correct name in the first line (for instance, jessie, trusty or wheezy).
 
 After that you can normally start Yade using "yadedaily" or "yadedaily-batch" command.
@@ -178,11 +179,21 @@
 ^^^^^^^^^^^
 
 You should create a separate build-place-folder, where Yade will be configured 
-and where the source code will be compiled. Then inside this build-directory you
-should start cmake to configure the compilation process::
+and where the source code will be compiled. Here is an example for a folderstructure:
+
+    myYade/           ## base directory
+            trunk/      ## folder for sourcecode in which you use github
+            build/      ## folder in which sources will be compiled; build-directory; use cmake here
+            install/    ## installfolder
+
+Then inside this build-directory you should start cmake to configure the compilation process::
 
 	cmake -DINSTALL_PREFIX=/path/to/installfolder /path/to/sources
 
+For the folder structure given above call the following command in folder "build":
+
+    cmake -DINSTALL_PREFIX=../install ../trunk
+
 Additional options can be configured in the same line with the following 
 syntax::
 
@@ -228,7 +239,11 @@
 and split the compilation on many cores. For example, on 4-core machines
 it would be reasonable to set the parameter ``-j4``. Note, the Yade requires
 approximately 2GB/core for compilation, otherwise the swap-file will be used
-and a compilation time dramatically increases.
+and a compilation time dramatically increases. After compilation finished successfully
+the new built can be started by navigating to /path/to/installfolder/bin and calling yade via (based on version yade-2014-02-20.git-a7048f4)::
+    
+    cd /path/to/installfolder/bin 
+    ./yade-2014-02-20.git-a7048f4
 
 For building the documentation you should at first execute the command "make install"
 and then "make doc" to build it. The generated files will be stored in your current