Install epel repo to download some needed packages:
http://mirror.chpc.utah.edu/pub/epel/6/i386/repoview/epel-release.html
Packages want to get from epel:
patchy
cernlib-2006
(will also get xbae)
From this website, download:
Manual
Makefile
isajet.car
isared.tar.gz
Unzip, but don’t untar the isared.tar.gz file.
The cernlib from the epel repo puts the files we are concerned about in /usr/lib64/cernlib/2006-g77/lib. However, it puts a version number on the libraries we want to use and this will cause an error in our Makefile. So, in /usr/lib64/cernlib/2006-g77/lib, make the following links:
ln -s libpacklib.so.1 libpacklib.so ln -s libpdflib804.so.2 libpdflib804.so ln -s libmathlib.so.2 libmathlib.so ln -s libkernlib.so.1 libkernlib.so
Next, edit the Makefile with our info. Here is what the one I used looked like:
# Do not change this -- you will break everything. SHELL = /bin/csh ########## Installation parameters ##################################### # Some versions of make (e.g. Linux) treat inconsequential warnings # as errors and stop. Ignore all errors; comment out if possible: ##.IGNORE: # Name for temporary subdirectory. This will be deleted and # recreated: MAKETMP = ./MakeTmpDir # Link with CERN libraries. This is recommended for HP, IBMRT, or # LINUX to get date and time information but is not required: ##CERN = NOCERN CERN = CERN # Directories for Cernlib, terminated with a /. These must be set # if you select CERN or PDFLIB: CERNDIR = /usr/lib64/cernlib/ CERNBIN = $(CERNDIR)/bin/ CERNLIB = $(CERNDIR)lib/ CERNLIB2 = $(CERNDIR)2006-g77/lib/ # PDFLIB support. PDFLIB (part of the CERN library) contains many # partion distributions but produces a larger executable image: PDFLIB = #PDFLIB = PDFLIB # RANLUX support. RANLUX provides better random numbers than the # standard RANF, and each seed gives an independent sequence. It is # more difficult to restart and slightly slower. RANLUX = RANLUX #RANLUX = NORANLUX # Computer type. Most only differ in minor ways, e.g., the system # clock interface. Uncomment the right one: # ANSI ANSI Fortran # DECS DECStation with Ultrix # HPUX HP/700 with HPUX # IBMRT IBM RS/6000 with AIX # LINUX PC with LINUX and f2c/gcc or g77 or Absoft f77 # OSF Digital OSF on Alpha processor # SGI Silicon Graphics with IRIX # SUN Sparc or PC with Solaris #MACHINE = ANSI #MACHINE = DECS #MACHINE = HPUX #MACHINE = IBMRT MACHINE = LINUX #MACHINE = OSF #MACHINE = SGI #MACHINE = SUN # Fortran 77 compiler. #F77 = f77 # For HPUX; note that f77 on HPUX is brain dead. fort77 is also an # alternate f2c/gcc interface on Linux: #F77 = fort77 # GNU Fortran compiler #F77 = g77 F77 = /usr/bin/g77 # Fortran compile flags: Want -c, highest safe optimization, all # variables static, and postpended underscore for Cernlib compatibility. # Uncomment the right one or make your own: # DECS #FFLAGS = -c -O -static -w # HPUX, -O is broken #FFLAGS = -c -O2 -K +ppu -w # IBMRT #FFLAGS = -c -O -qextname -w # LINUX with f2c/gcc or g77. The -fno-silent displays progress... FFLAGS = -c -O -fno-automatic -fno-silent # LINUX with Absoft Fortran #FFLAGS = -c -O -w -f -s # OSF #FFLAGS= -c -O -w # SGI #FFLAGS = -c -O -static -w # SUN - the second option traps floating errors #FFLAGS = -c -O -w #FFLAGS = -c -O -w -fnonstd -ftrap=common # Use fsplit or CERN's fcasplit to split the whole Fortran source into # individual subroutines: #FSPLIT = $(CERNBIN)fcasplit #FSPLIT = fsplit FSPLIT = /usr/bin/fcasplit # Link command for Fortran, c.f. $(F77): #LINK = f77 #LINK = fort77 #LINK = g77 LINK = $(F77) # Extra libraries (e.g. Cernlib) and flags for link. If you want # PDFLIB support, you must also define $(PDFLIB) above. The Zebra # version requires libpacklib.a. #LFLAGS = #LFLAGS = -L$(CERNLIB) -lmathlib -lkernlib #LFLAGS = -L$(CERNLIB) -lpdflib804 -lmathlib -lkernlib LFLAGS = -L$(CERNLIB) -L$(CERNLIB2) -lpdflib804 -lpacklib -lmathlib -lkernlib # Ranlib command if required (it is for Sun 4.x and Linux): RANLIB = ranlib #RANLIB = $(ECHO) # Name for this Makefile: MAKEFILE = Makefile # Patchy commands. YPATCHY can be either ypatchy or nypatchy, # perhaps with a full path. A temporary cradle file YCRADLE is required; # it is deleted and recreated: #YPATCHY = $(CERNBIN)ypatchy #YPATCHY = $(CERNBIN)nypatchy YCRADLE = ./tmpcradle.cra YPATCHY = /usr/bin/nypatchy # Echo command. /bin/echo works on most (all?) systems; plain echo # fails on AIX 4.1: ECHO = /bin/echo # Remove command: RM = /bin/rm # Parameters to use ISATOOLS and ISAFLAVR. Note ISAFLAVR does not # create a separate library. ISATOOLS = ISATOOLS #ISATOOLS = LIBTOOLS = -lisared #LIBTOOLS = ISAFLAVR = ISAFLAVR #ISAFLAVR = ########## End of installation parameters ##############################
Next make isatools.
[root@higgs isajet]# make isatools
Takes a while to run. This creates the file libisared.a.
Next run make.
[root@higgs isajet]# make
This should produce the following executables: isajet.x, isasusy.x and isasugra.x. You can run make clean to get rid of the temporary files.