diff --git a/README b/README index 5e9568990f5a1ea0ea341d91df497bcc16c524cf..b4ca8e55f2a84ec97825133a2c5d64b31a1d9e13 100644 --- a/README +++ b/README @@ -1,31 +1,43 @@ -#Email from SImon Leeman -# Discussion at FLS2010 -Laurent, +########################################################################## +April 11th, 2011 +LNLS +Laurent S. Nadolski -I have attached our Tracy-3 distribution as a tarball. I have also included some code (m4.cc) that should eventually become max-iv_lib.cc within the Tracy-3 distribution. It's a bit of a mess though. ;-) +########################################################################## +Numerical recipes +1/ xutils-dev for makedepend +2/ makedepend in the src file of nrecipes directory -You will also find a lattice file for our base line design with four damping wigglers. The kick map for the damping wiggler is also attached. +########################################################################## +Installation of Tracy3 -Let me know if you need anything else or have any questions. +What is necessary: +1/ gcc +2/ g++ +3/ autoconf +4/ libtool +5/ libgls0-dev lib + development library with header such as gls_sf.h -Regards, -Simon +########################################################################## +Modify .bashrc to get environment variables +cf set_var.sh or set_var4LNLS.sh +Set the path to fit your computer architecture +########################################################################## +For compilation of TracyIII +In root directory of TracyIII, run the command: +./make_for_gcc.sh opt +An executable file is generated in directory TracyIII/tracy/tracy/bin: +soltracy +this file can be put in your path to run the code from anywhere +######################################################################### +Example to test the code: +executable is soltracy located in $TRACY_LIB/tools -Laurent, -I have attached the Makefile.am I use to compile m4.cc. I also define several shell variables in my ~/.bashrc: -export LIBPATH=/usr/local/gfortran/lib -export LD_LIBRARY_PATH=/usr/local/gfortran/lib:/usr/local/lib:/usr/lib -export NUM_REC=$HOME/num_rec -export TRACY_LIB=$HOME/tracy/tracy-3.5 -export THOR_LIB=$HOME/Thor-2.0 -export LAT="$HOME/projects/in/lattice" -Let me know if that allows you to compile... -Simon