Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ad8f454a91ec93b34d4bcb1e49848b3248be9934
[simgrid.git] / examples / smpi / NAS / config / make.def
1 #---------------------------------------------------------------------------
2 #
3 #                SITE- AND/OR PLATFORM-SPECIFIC DEFINITIONS. 
4 #
5 #---------------------------------------------------------------------------
6
7 #---------------------------------------------------------------------------
8 # Items in this file will need to be changed for each platform.
9 #---------------------------------------------------------------------------
10
11 #---------------------------------------------------------------------------
12 # Parallel C:
13 #
14 # MPICC      - C compiler 
15 # CFLAGS     - C compilation arguments
16 # CMPI_INC   - any -I arguments required for compiling MPI/C 
17 # CLINK      - C linker
18 # CLINKFLAGS - C linker flags
19 # CMPI_LIB   - any -L and -l arguments required for linking MPI/C 
20 #
21 # compilations are done with $(MPICC) $(CMPI_INC) $(CFLAGS) or
22 #                            $(MPICC) $(CFLAGS)
23 # linking is done with       $(CLINK) $(CMPI_LIB) $(CLINKFLAGS)
24 #---------------------------------------------------------------------------
25
26 #---------------------------------------------------------------------------
27 # This is the C compiler used for MPI programs
28 #---------------------------------------------------------------------------
29 MPICC = smpicc
30 # This links MPI C programs; usually the same as ${MPICC}
31 CLINK = $(MPICC)
32
33 #---------------------------------------------------------------------------
34 # These macros are passed to the linker to help link with MPI correctly
35 #---------------------------------------------------------------------------
36 CMPI_LIB  =
37
38 #---------------------------------------------------------------------------
39 # These macros are passed to the compiler to help find 'mpi.h'
40 #---------------------------------------------------------------------------
41 CMPI_INC =
42
43 #---------------------------------------------------------------------------
44 # Global *compile time* flags for C programs
45 #---------------------------------------------------------------------------
46 CFLAGS = -O2
47
48 #---------------------------------------------------------------------------
49 # Global *link time* flags. Flags for increasing maximum executable 
50 # size usually go here. 
51 #---------------------------------------------------------------------------
52 CLINKFLAGS = -O2
53
54 #---------------------------------------------------------------------------
55 # Utilities C:
56 #
57 # This is the C compiler used to compile C utilities.  Flags required by 
58 # this compiler go here also; typically there are few flags required; hence 
59 # there are no separate macros provided for such flags.
60 #---------------------------------------------------------------------------
61 CC      = gcc -g
62
63 #---------------------------------------------------------------------------
64 # Destination of executables, relative to subdirs of the main directory. . 
65 #---------------------------------------------------------------------------
66 BINDIR  = ../bin
67
68 #---------------------------------------------------------------------------
69 # The variable RAND controls which random number generator 
70 # is used. It is described in detail in README.install. 
71 # Use "randi8" unless there is a reason to use another one. 
72 #---------------------------------------------------------------------------
73 RAND   = randi8