source: TRACY3/trunk/make_for_gcc.sh @ 32

Last change on this file since 32 was 32, checked in by zhangj, 10 years ago

active the transport of the twiss functions and orbits of the transfer line.

  • Property svn:executable set to *
File size: 662 bytes
Line 
1#!/bin/bash
2# not sh since on Ubuntu sh is not bash
3set -x # for debugging
4
5#===================================================
6# Compile non-parallel Tracy3 on the ubuntu 12.04
7#
8#
9# Last updated by Jianfeng Zhang @LAL, 04/2012.
10#===================================================
11
12dir=`pwd`
13#NUM_REC="$dir/num_rec"
14
15#INSTALL="/usr/bin/install"
16
17TRACY="tracy"
18
19cd "$dir/$TRACY"
20
21# CVS file is inside, do not erase
22#rm -rf autom4te.cache
23rm -rf aclocal.m4
24
25make distclean
26
27./bootstrap
28
29FFLAGS="-g -O2 -Wall  -fbounds-check" CXXFLAGS="-g -O2 -Wall  -fno-implicit-templates" CC=gcc F77=gfortran CXX=g++ ./configure --prefix=$dir/$TRACY/tracy
30
31
32make
33make install
Note: See TracBrowser for help on using the repository browser.