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 generic cpus
10 # See README file for info
12 # The default setup is for nonparallell code, which is what
13 # you want for all utility programs, etc.
14 # To get the parallel mdrun, set use_mpi and recompile.
16 # Depending on your machine you might have to change the machine
17 # type from pwr2 to something else.
19 SYSDEFS = -DNO_NICE -DDOUBLE
20 # The power2 chip have hardware sqrt faster than the gromacs one
26 CFLAGS = -O3 -qarch=pwr2 -qtune=pwr2 -langlvl=ansi -qmaxmem=16384
27 CCFLAGS = -O3 -qarch=pwr2 -qtune=pwr2 -qmaxmem=16384
28 FFLAGS = -O3 -Q -qarch=pwr2 -qtune=pwr2 -qmaxmem=16384 -qhot -qrealsize=8 -qextname
30 # Generic linking stuff
33 CCLD = $(CCC) $(LDFLAGS)
35 SYSLIBS = -lgmx.$(GMXCPU) -lm
36 XLIBS = $(SYSLIBS) -lX11
39 X11INC = -I/usr/local/include
42 # USER MODIFIABLE SECTION
44 # If you want to use fortran innerloops set this to yes
45 # For most machines this will improve the performance quite a bit
46 # because C-compilers are not as good as Fortran compilers
49 # If you want to run in *** P A R A L L E L ***
50 # please select either PVM or MPI, check with your local hacker
51 # to see what's installed at your site. If you have neither,
52 # set both to no. If you select both, something will break!!!
57 # If you want to use compressed data files set this to yes
58 # This uses the xdr libraries of your UNIX system, which is virtually
59 # Allways present, because it is necessary for NFS (network file system)
64 # Set this on if you have Open GL and the Viewkit library
65 # (standard with SGI, available for money elsewhere)
66 # This is used in the Open GL trajectory viewer.
69 # Note that these variables are also used in Makefile.std
70 # If something does not work, please check out the link command line
71 # in that file (e.g. for PVM)
77 CC_MKINL = xlc # no mpi for the program we run during compile
79 PARALLEL_ONLY_MDRUN = yes