From 5f0c53d5d6d712da01f6fdf53ea9d2494f013535 Mon Sep 17 00:00:00 2001 From: nadolski <nadolski@9a6e40ed-f3a0-4838-9b4a-bf418f78e88d> Date: Wed, 20 Jul 2011 08:59:03 +0000 Subject: [PATCH] Update instruction --- README | 48 ++++++++++++++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 18 deletions(-) diff --git a/README b/README index 5e95689..b4ca8e5 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 -- GitLab