| 1 |
#--------------------------------------------------------------------------- |
|---|
| 2 |
# C compiler: |
|---|
| 3 |
#--------------------------------------------------------------------------- |
|---|
| 4 |
UCC = cc |
|---|
| 5 |
|
|---|
| 6 |
#--------------------------------------------------------------------------- |
|---|
| 7 |
# This is the UPC compiler used for UPC programs |
|---|
| 8 |
#--------------------------------------------------------------------------- |
|---|
| 9 |
CC = xlupc |
|---|
| 10 |
CLINK = xlupc |
|---|
| 11 |
|
|---|
| 12 |
#--------------------------------------------------------------------------- |
|---|
| 13 |
# These macros are passed to the linker |
|---|
| 14 |
#--------------------------------------------------------------------------- |
|---|
| 15 |
C_LIB = -lm |
|---|
| 16 |
|
|---|
| 17 |
#--------------------------------------------------------------------------- |
|---|
| 18 |
# These macros are passed to the compiler |
|---|
| 19 |
#--------------------------------------------------------------------------- |
|---|
| 20 |
C_INC = -I../common |
|---|
| 21 |
|
|---|
| 22 |
#--------------------------------------------------------------------------- |
|---|
| 23 |
# Global *compile time* flags for C programs |
|---|
| 24 |
#--------------------------------------------------------------------------- |
|---|
| 25 |
CFLAGS = -qupcthreads=${NP} |
|---|
| 26 |
|
|---|
| 27 |
#--------------------------------------------------------------------------- |
|---|
| 28 |
# Global *link time* flags. Flags for increasing maximum executable |
|---|
| 29 |
# size usually go here. |
|---|
| 30 |
#--------------------------------------------------------------------------- |
|---|
| 31 |
CLINKFLAGS = -qupcthreads=${NP} |
|---|
| 32 |
|
|---|
| 33 |
#--------------------------------------------------------------------------- |
|---|
| 34 |
# This is the fortran compiler |
|---|
| 35 |
#--------------------------------------------------------------------------- |
|---|
| 36 |
F77 = xlf |
|---|
| 37 |
FLINK = xlf |
|---|
| 38 |
|
|---|
| 39 |
#--------------------------------------------------------------------------- |
|---|
| 40 |
# These macros are passed to the linker |
|---|
| 41 |
#--------------------------------------------------------------------------- |
|---|
| 42 |
F_LIB = |
|---|
| 43 |
|
|---|
| 44 |
#--------------------------------------------------------------------------- |
|---|
| 45 |
# These macros are passed to the compiler |
|---|
| 46 |
#--------------------------------------------------------------------------- |
|---|
| 47 |
F_INC = |
|---|
| 48 |
|
|---|
| 49 |
#--------------------------------------------------------------------------- |
|---|
| 50 |
# Global *compile time* flags for Fortran programs |
|---|
| 51 |
#--------------------------------------------------------------------------- |
|---|
| 52 |
FFLAGS = -O3 |
|---|
| 53 |
|
|---|
| 54 |
#--------------------------------------------------------------------------- |
|---|
| 55 |
# Global *link time* flags. Flags for increasing maximum executable |
|---|
| 56 |
# size usually go here. |
|---|
| 57 |
#--------------------------------------------------------------------------- |
|---|
| 58 |
FLINKFLAGS = |
|---|
| 59 |
|
|---|