changed reading hint
[gromacs/adressmacs.git] / src / makef / Makefile.smd
blob55dce1d01109deefb40e052808105fdd32b7ee3c
1 # IBM SMP Double Prec.
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 # This file is for Symmetric-Multiprocessor nodes with
11 # powerpc 604 processors. You might want to change the processor
12 # type.
13 # The default setup is for nonparallell code, which is what
14 # you want for all utility programs, etc.
15 # To get the parallel mdrun, set use_mpi and recompile.
17 SYSDEFS         = -DNO_NICE  -DDOUBLE 
18 # at double prec. ibm and gromacs sqrt are about the same performance on smp.
20 # IBM C compilers
21 CC              = xlc
22 CCC             = xlC
23 F77             = xlf
24 CFLAGS          = -O3 -qarch=604 -qtune=604 -langlvl=ansi -qmaxmem=16384 
25 CCFLAGS         = -O3 -qarch=604 -qtune=604 -qmaxmem=16384 
26 FFLAGS          = -O3 -Q -qarch=604 -qtune=604 -qmaxmem=16384 -qhot -qrealsize=8 -qextname 
28 # Generic linking stuff
29 LDFLAGS         = -L$(LIBDIR)
30 LD              = $(CC)  $(LDFLAGS) 
31 CCLD            = $(CCC) $(LDFLAGS)
33 SYSLIBS         = -lgmx.$(GMXCPU) -lm
34 XLIBS           = $(SYSLIBS) -lX11
35 ARFLAGS         = q
36 RANLIB          = echo
37 X11INC          = -I/usr/local/include
40 #       USER MODIFIABLE SECTION
42 # If you want to use fortran innerloops set this to yes
43 # For most machines this will improve the performance quite a bit
44 # because C-compilers are not as good as Fortran compilers
45 USEF77          = yes
47 # If you want to run in *** P A R A L L E L ***
48 # please select either PVM or MPI, check with your local hacker
49 # to see what's installed at your site. If you have neither,
50 # set both to no. If you select both, something will break!!!
52 USE_PVM3        = no
53 USE_MPI         = no
54 USE_THREADS     = yes # not used - yet
56 # If you want to use compressed data files set this to yes
57 # This uses the xdr libraries of your UNIX system, which is virtually
58 # Allways present, because it is necessary for NFS (network file system)
60 USE_XDR         = yes
62 # Graphics Library
63 # Set this on if you have Open GL and the Viewkit library
64 # (standard with SGI, available for money elsewhere)
65 # This is used in the Open GL trajectory viewer.
66 HAVE_GL         = no
68 # Note that these variables are also used in Makefile.std
69 # If something does not work, please check out the link command line
70 # in that file (e.g. for PVM)
72 ifeq ($(USE_MPI),yes)
73 CC              = mpcc
74 CCC             = mpCC
75 F77             = mpxlf
76 CC_MKINL        = xlc # no mpi for the program we run during compile
77 LD_MKINL        = xlc
78 PARALLEL_ONLY_MDRUN = yes
79 endif
80 ifeq ($(USE_THREADS),yes)
81 SYSLIBS        += -lpthread
82 endif