Skip to content
Snippets Groups Projects
Commit 5f0c53d5 authored by nadolski's avatar nadolski
Browse files

Update instruction

parent 2a828972
No related branches found
No related tags found
No related merge requests found
#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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment