changed reading hint
[gromacs/adressmacs.git] / src / makef / Makefile.smp
blob4b1c789ad697f1d1ce1de1b0b83ba6ac491f98b8
1 # IBM SMP nodes
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
14 # type.
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.
23 # IBM C compilers
24 CC              = xlc
25 CCC             = xlC
26 F77             = xlf
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
32 LDFLAGS         = -L$(LIBDIR)
33 LD              = $(CC)  $(LDFLAGS) 
34 CCLD            = $(CCC) $(LDFLAGS)
36 SYSLIBS         = -lgmx.$(GMXCPU) -lm
37 XLIBS           = $(SYSLIBS) -lX11
38 ARFLAGS         = q
39 RANLIB          = echo
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
48 USEF77          = yes
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!!!
55 USE_PVM3        = no
56 USE_MPI         = no
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)
62 USE_XDR         = yes
64 # Graphics Library
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.
68 HAVE_GL         = no
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)
74 ifeq ($(USE_MPI),yes)
75 CC              = mpcc
76 CCC             = mpCC
77 F77             = mpxlf
78 CC_MKINL        = xlc # no mpi for the program we run during compile
79 LD_MKINL        = xlc
80 PARALLEL_ONLY_MDRUN = yes
81 endif