Changeset 16 in TRACY3 for trunk


Ignore:
Timestamp:
Dec 5, 2013, 5:02:26 PM (10 years ago)
Author:
zhangj
Message:

Remove the instruction file tracy_3_10_install to install Tracy3 in ubuntu 12.04, and merge the file contents in the file README

Location:
trunk
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/README

    r11 r16  
    4848
    4949
     50####################################################
     51####################################################
     52# Instruction to install Tracy3 in ubuntu 12.04
     53#
     54#   Jianfeng Zhang @ LAL, 2012/04
     55##################################################
     56###################################################
     57
     58*======================================
     59*   compile numberical receipes
     60*======================================
     61
     62(1) install the package "xutils-dev"
     63
     64   sudo apt-get install xutils-dev
     65
     66(2) at the path "recipes_c-ansi/", make the objects
     67        make
     68(3) make dependences of the objects
     69     makedepend
     70
     71After finish the above steps,
     72the objects files should be generated in the path "recipes",
     73and a static library "librecipes_c_gcc.a"
     74should be generated in the path "lib".
     75 
     76*==================================================
     77*  Compile the tracy source code and
     78*  link with the objects from numberical receipe       
     79*==================================================
     80(1) set the enviroments for tracy III. For example,
     81     for ubuntu 11.10/12.04 LST in MacBook Pro. 8.2, add the
     82     following lines in ~/.bashrc:
     83     
     84     for ubuntu 11.10:
     85     export LIBPATH=/usr/lib/gcc/x86_64-linux-gnu/4.6.1/
     86   
     87     for ubuntu 12.04
     88     export LIBPATH=/usr/lib/gcc/x86_64-linux-gnu/4.6.3/
     89
     90
     91     export LD_LIBRARY_PATH=$LIBPATH:/usr/local/lib:/usr/lib
     92     CODEDIR=$HOME/codes
     93     export NUM_REC=$CODEDIR/nrecipes/recipes_c-ansi
     94     export TRACY_LIB=$CODEDIR/tracyIII_3_10/tracy
     95
     96(2)What is necessary:
     971/ gcc
     982/ g++
     993/ gfortran
     1004/ autoconf
     1015/ libtool
     1026/ libgls0-dev (lib + development library with header such as gls_sf.h; GNU Scientific Library(GSL) -- development package)
     103
     104so install the above 6 packages first!!!!!!!!!!
     105   
     106
     107(2) run the script to generate makefile, compile the objects,
     108    link, and then generate the execute file "soltracy" at the
     109    path "tracy/tool".
     110     
     111     chmod +x make_for_gcc.sh
     112     ./make_for_gcc.sh
     113
     114(3) Finally, a execute file "soltracy" is generated in the path "tracy/tools"
     115
     116 (4) make a symbolic link to the "soltracy", so tracy can be called
     117    any path in the computer, using the command "soltracy3".
     118
     119    sudo ln -s  /home/jfz/codes/tracyIII_3_10/tracy/tools/soltracy  /usr/local/bin/soltracy3
     120
Note: See TracChangeset for help on using the changeset viewer.