main
test-branch
| Line | |
|---|
| 1 | #BHEADER**********************************************************************
|
|---|
| 2 | # Copyright (c) 2008, Lawrence Livermore National Security, LLC.
|
|---|
| 3 | # Produced at the Lawrence Livermore National Laboratory.
|
|---|
| 4 | # This file is part of HYPRE. See file COPYRIGHT for details.
|
|---|
| 5 | #
|
|---|
| 6 | # HYPRE is free software; you can redistribute it and/or modify it under the
|
|---|
| 7 | # terms of the GNU Lesser General Public License (as published by the Free
|
|---|
| 8 | # Software Foundation) version 2.1 dated February 1999.
|
|---|
| 9 | #
|
|---|
| 10 | # $Revision: 2.4 $
|
|---|
| 11 | #EHEADER**********************************************************************
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 | # set the compiler here
|
|---|
| 15 | #CC = gcc
|
|---|
| 16 | CC = mpicc -cc=gcc-mp-4.8
|
|---|
| 17 |
|
|---|
| 18 | # set compile flags here
|
|---|
| 19 | # MPI only:
|
|---|
| 20 | # add '-DTIMER_USE_MPI' to 'INCLUDE_CFLAGS'
|
|---|
| 21 | # MPI with OpenMP:
|
|---|
| 22 | # add '-DHYPRE_USING_OPENMP -DTIMER_USE_MPI' to 'INCLUDE_CFLAGS'
|
|---|
| 23 | # Use assumed partition (for thousands of processors):
|
|---|
| 24 | # add '-DHYPRE_NO_GLOBAL_PARTITION' to 'INCLUDE_CFLAGS'
|
|---|
| 25 | # Use 64-bit integers for global variables (needed for large problems
|
|---|
| 26 | # with more than 2 billion variables)
|
|---|
| 27 | # add '-DHYPRE_LONG_LONG' to 'INCLUDE_CFLAGS'
|
|---|
| 28 | INCLUDE_CFLAGS = -O2 -DTIMER_USE_MPI -DHYPRE_USING_OPENMP -DHYPRE_LONG_LONG -DHYPRE_NO_GLOBAL_PARTITION -fopenmp
|
|---|
| 29 |
|
|---|
| 30 | # set link flags here
|
|---|
| 31 | #INCLUDE_LFLAGS = -lm -openmp -qsmp
|
|---|
| 32 | INCLUDE_LFLAGS = -lm -fopenmp
|
|---|
| 33 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.