2 # @(#) Makefile.sp2 1.1 5/15/97
5 # GROMACS - Groningen Machine for Chemical Simulation
6 # Copyright (c) 1990, 1991, 1992, Groningen University
8 # Makefile for gromacs on IBM SP2
10 # See README file for info
12 # This file is for Symmetric-Multiprocessor nodes with
13 # powerpc 604 processors. You might want to change the processor
15 # The default setup is for nonparallell code, which is what
16 # you want for all utility programs, etc.
17 # To get the parallel mdrun, set use_mpi and recompile.
19 SYSDEFS = -DNO_NICE -DCINVSQRT -DFINVSQRT
20 # at single prec. the gromacs sqrt might be slightly faster than ibm,
21 # on ppc604 processors.
27 CFLAGS = -O3 -qarch=604 -qtune=604 -qmaxmem=16384
28 CCFLAGS = -O3 -qarch=604 -qtune=604 -qmaxmem=16384
29 FFLAGS = -O3 -Q -qarch=604 -qtune=604 -qmaxmem=16384 -qhot -qextname -qrealsize=4
31 # Generic linking stuff
34 CCLD = $(CCC) $(LDFLAGS)
36 SYSLIBS = -lgmx.$(GMXCPU) -lm
37 XLIBS = $(SYSLIBS) -lX11
40 X11INC = -I/usr/local/include
43 # USER MODIFIABLE SECTION
45 # If you want to use fortran innerloops set this to yes
46 # For most machines this will improve the performance quite a bit
47 # because C-compilers are not as good as Fortran compilers
50 # If you want to run in *** P A R A L L E L ***
51 # please select either PVM or MPI, check with your local hacker
52 # to see what's installed at your site. If you have neither,
53 # set both to no. If you select both, something will break!!!
58 # If you want to use compressed data files set this to yes
59 # This uses the xdr libraries of your UNIX system, which is virtually
60 # Allways present, because it is necessary for NFS (network file system)
65 # Set this on if you have Open GL and the Viewkit library
66 # (standard with SGI, available for money elsewhere)
67 # This is used in the Open GL trajectory viewer.
70 # Note that these variables are also used in Makefile.std
71 # If something does not work, please check out the link command line
72 # in that file (e.g. for PVM)
78 CC_MKINL = xlc # no mpi for the program we run during compile
80 PARALLEL_ONLY_MDRUN = yes