File: make.CONVEX

package info (click to toggle)
sprng 2.0a-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,076 kB
  • ctags: 2,031
  • sloc: ansic: 30,361; fortran: 1,618; makefile: 566; cpp: 58; sh: 5
file content (33 lines) | stat: -rw-r--r-- 1,081 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
AR = ar
ARFLAGS = cr
#If your system does not have ranlib, then replace next statement with 
#RANLIB = echo
RANLIB = ranlib
CC = c89
CLD = $(CC)
F77 = fort77
F77LD = $(F77)
FFXN = -DNoChange
FSUFFIX = F

MPIF77 = $(F77)
MPICC = $(CC)

# To use MPI, set the MPIDIR to location of mpi library, and MPILIB 
# to name of mpi library. Remove # signs from beginning of next 3 lines.
# Also, if the previous compilation was without MPI, type: make realclean
# before compiling for mpi.
#
MPIDIR =  -L/opt/mpi/lib/pa1.1
MPILIB = -lpmpi -lmpi /usr/lib/libail.sl -lcnx_syscall

CFLAGS = +O4 +U77 +Odataprefetch +Olibcalls $(PMLCGDEF) $(MPIDEF) +e -D$(PLAT) -D_LONG_LONG
CLDFLAGS = +O4 +U77 +Odataprefetch +Olibcalls +e
FFLAGS = +O4  +U77 +Odataprefetch +Olibcalls $(PMLCGDEF) $(MPIDEF)
F77LDFLAGS = +O4  +U77 +Odataprefetch +Olibcalls

CPP =fort77 -F 

#The following sets inlining options. This can be deleted to get slightly 
# more inefficient FORTRAN and simple interface codes.
INLINEOPT = +Oinline=get_rn_int,get_rn_dbl,get_rn_flt,get_rn_int_simple,get_rn_flt_simple,get_rn_dbl_simple