source: PSPA/madxPSPA/make/README.lxplus @ 430

Last change on this file since 430 was 430, checked in by touze, 11 years ago

import madx-5.01.00

File size: 2.4 KB
Line 
1# |
2# o---------------------------------------------------------------------o
3# |
4# | MAD makefile - compilers environement on lxplus.cern.ch
5# |
6# o---------------------------------------------------------------------o
7# |
8# | Methodical Accelerator Design
9# |
10# | Copyright (c) 2011+ CERN, mad@cern.ch
11# |
12# | For more information, see http://cern.ch/mad
13# |
14# o---------------------------------------------------------------------o
15# |
16# | $Id$
17# |
18
19The following command are for csh/tcsh shells. For Bash/Bourne shells, replace
20  - 'setenv VAR value' by 'export VAR=value'
21  - 'source script.csh' by '. script.sh' (note the file extension)
22
23GNU compilers: CC=gcc, CXX=g++, FC=gfortran (or GNU=yes)
24--------------
25  [Nothing to do for ARCH=32 and ARCH=64]
26
27Intel compilers: CC=icc, CXX=icc, FC=ifort (or Intel=yes)
28----------------
29for ARCH=32
30source /afs/cern.ch/sw/IntelSoftware/linux/setup.csh
31source /afs/cern.ch/sw/IntelSoftware/linux/x86_64/Compiler/11.1/072/bin/iccvars.csh ia32
32source /afs/cern.ch/sw/IntelSoftware/linux/x86_64/Compiler/11.1/072/bin/ifortvars.csh ia32
33
34for ARCH=64
35source /afs/cern.ch/sw/IntelSoftware/linux/setup.csh
36source /afs/cern.ch/sw/IntelSoftware/linux/x86_64/Compiler/11.1/072/bin/iccvars.csh intel64
37source /afs/cern.ch/sw/IntelSoftware/linux/x86_64/Compiler/11.1/072/bin/ifortvars.csh intel64
38
39Lahey Fortran compilers: FC=lf95
40------------------------
41for ARCH=32
42setenv PATH "${PATH}:/afs/cern.ch/sw/fortran/lahey/lf9562e/bin"
43setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:/afs/cern.ch/sw/fortran/lahey/lf9562e/lib"
44
45for ARCH=64 (needs to be registered or logged on lxlahey02)
46setenv PATH "${PATH}:/afs/cern.ch/sw/fortran/lahey/lf6481/bin"
47setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:/afs/cern.ch/sw/fortran/lahey/lf6481/lib64"
48setenv PFDIR /afs/cern.ch/sw/fortran/lahey/lf6481/bin
49setenv WISK /afs/cern.ch/sw/fortran/lahey/lf6481
50setenv LSERVRC /afs/cern.ch/sw/fortran/lahey/lf6481/bin/lservrc
51
52Nag Fortran compiler: FC=nagfor
53---------------------
54for ARCH=32 and ARCH=64
55setenv PATH "${PATH}:/afs/cern.ch/sw/fortran/nag2010/bin"
56setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:/afs/cern.ch/sw/fortran/nag2010/lib"
57setenv NAG_KUSARI_FILE "/afs/cern.ch/sw/fortran/nag2010/lib/nag.licence,lxlic04.cern.ch:"
58
59g95 Fortran compiler: FC=g95
60---------------------
61g95 on lxplus does not work. Need user's own g95 installation (>= 0.93)
62Nothing to do on Ubuntu/Debian once .deb package is installed
63
Note: See TracBrowser for help on using the repository browser.