Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
TRACY3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PA
Optics
TRACY3
Commits
5f0c53d5
Commit
5f0c53d5
authored
13 years ago
by
nadolski
Browse files
Options
Downloads
Patches
Plain Diff
Update instruction
parent
2a828972
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README
+30
-18
30 additions, 18 deletions
README
with
30 additions
and
18 deletions
README
+
30
−
18
View file @
5f0c53d5
#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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment