Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Commit

Permalink
Update for supermuc system (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Blom authored Sep 1, 2016
1 parent 55d0bf1 commit 911c08f
Show file tree
Hide file tree
Showing 29 changed files with 389 additions and 62 deletions.
8 changes: 6 additions & 2 deletions applications/solvers/fsi/fluidFoam/Make/options
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
c++WARN = -Wall -Wextra -Werror

ifndef MKL_LIB
MKL_LIB=-lopenblas
endif

EXE_INC = -std=c++11 \
-I../../../../src/fsi \
-I../../../../src/fsi/lnInclude \
Expand Down Expand Up @@ -27,7 +31,7 @@ EXE_INC = -std=c++11 \
ifeq ($(WM_COMPILE_OPTION), Opt)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
-ldynamicMesh \
Expand All @@ -52,7 +56,7 @@ endif
ifeq ($(WM_COMPILE_OPTION), Debug)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
-ldynamicMesh \
Expand Down
8 changes: 6 additions & 2 deletions applications/solvers/fsi/fsiFluidFoam/Make/options
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ ifndef PRECICE_ROOT
PRECICE_ROOT=../../../../src/thirdParty/precice
endif

ifndef MKL_LIB
MKL_LIB=-lopenblas
endif

EXE_INC = -std=c++11 -fext-numeric-literals \
-isystem ../../../../src/thirdParty/elemental/install/include \
-I../../../../src/fsi/lnInclude \
Expand All @@ -30,7 +34,7 @@ EXE_INC = -std=c++11 -fext-numeric-literals \
ifeq ($(WM_COMPILE_OPTION), Opt)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
-ldynamicMesh \
Expand All @@ -56,7 +60,7 @@ endif
ifeq ($(WM_COMPILE_OPTION), Debug)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
-ldynamicMesh \
Expand Down
8 changes: 6 additions & 2 deletions applications/solvers/fsi/fsiFoam/Make/options
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
c++WARN = -Wall -Wextra -Werror -Wno-literal-suffix

ifndef MKL_LIB
MKL_LIB=-lopenblas
endif

EXE_INC = -std=c++11 -fext-numeric-literals \
-isystem ../../../../src/fsi/lnInclude \
-I ../../../../src/fsi \
Expand Down Expand Up @@ -34,7 +38,7 @@ EXE_INC = -std=c++11 -fext-numeric-literals \
ifeq ($(WM_COMPILE_OPTION), Opt)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
-ldynamicMesh \
Expand All @@ -59,7 +63,7 @@ endif
ifeq ($(WM_COMPILE_OPTION), Debug)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
-ldynamicMesh \
Expand Down
8 changes: 6 additions & 2 deletions applications/solvers/fsi/fsiSolidFoam/Make/options
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ ifndef PRECICE_ROOT
PRECICE_ROOT=../../../../src/thirdParty/precice
endif

ifndef MKL_LIB
MKL_LIB=-lopenblas
endif

EXE_INC = -std=c++11 \
-I../../../../src/fsi/lnInclude \
-isystem ../../../../src/thirdParty/eigen \
Expand All @@ -27,7 +31,7 @@ EXE_INC = -std=c++11 \
ifeq ($(WM_COMPILE_OPTION), Opt)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
-ldynamicMesh \
Expand All @@ -53,7 +57,7 @@ endif
ifeq ($(WM_COMPILE_OPTION), Debug)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
-ldynamicMesh \
Expand Down
8 changes: 6 additions & 2 deletions applications/solvers/fsi/solidFoam/Make/options
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
c++WARN = -Wall -Wextra -Werror

ifndef MKL_LIB
MKL_LIB=-lopenblas
endif

EXE_INC = -std=c++11 \
-I../../../../src/fsi \
-I../../../../src/fsi/lnInclude \
Expand All @@ -15,7 +19,7 @@ EXE_INC = -std=c++11 \
ifeq ($(WM_COMPILE_OPTION), Opt)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
-ldynamicMesh \
Expand All @@ -40,7 +44,7 @@ endif
ifeq ($(WM_COMPILE_OPTION), Debug)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
-ldynamicMesh \
Expand Down
8 changes: 6 additions & 2 deletions applications/solvers/unsteadyPUCoupledFoam/Make/options
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
c++WARN = -Wall -Wextra -Wno-unused-parameter -Wnon-virtual-dtor -Wunused-local-typedefs

ifndef MKL_LIB
MKL_LIB=-lopenblas
endif

EXE_INC = -std=c++11 \
-I$(LIB_SRC)/turbulenceModels \
-I$(LIB_SRC)/turbulenceModels/incompressible/RAS/RASModel \
Expand All @@ -13,7 +17,7 @@ EXE_INC = -std=c++11 \
ifeq ($(WM_COMPILE_OPTION), Opt)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
-ldynamicMesh \
Expand Down Expand Up @@ -42,7 +46,7 @@ endif
ifeq ($(WM_COMPILE_OPTION), Debug)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
-ldynamicMesh \
Expand Down
2 changes: 2 additions & 0 deletions src/RBFMeshMotionSolver/RBFMeshMotionSolver.C
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* David Blom, TU Delft. All rights reserved.
*/

#include "dynamicLabelList.H"
#include "PstreamReduceOps.H"
#include "RBFMeshMotionSolver.H"
#include <unordered_map>
#include <vector>
Expand Down
1 change: 1 addition & 0 deletions src/RBFMeshMotionSolver/UnitCoarsening.C
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ namespace rbf

// Get location of max error
El::Entry<double> locMax = El::MaxAbsLoc( errors );
largestError = locMax.value;

// Break if maximum points are reached
if ( int( selectedPositions.size() ) >= maxPoints )
Expand Down
6 changes: 6 additions & 0 deletions src/RBFMeshMotionSolver/twoDPointCorrectorRBF.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@

/*
* Author
* David Blom, TU Delft. All rights reserved.
*/

#include "dynamicLabelList.H"
#include "twoDPointCorrectorRBF.H"
#include "polyMesh.H"

Expand Down
8 changes: 6 additions & 2 deletions src/tests/testsuite-dealii/Make/options
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
c++WARN = -Wall -Wextra -Werror -Wno-literal-suffix

ifndef MKL_LIB
MKL_LIB=-lopenblas
endif

EXE_INC = -std=c++11 \
-I ../../fsi \
-I ../../fsi/lnInclude \
Expand Down Expand Up @@ -32,7 +36,7 @@ EXE_INC = -std=c++11 \
ifeq ($(WM_COMPILE_OPTION), Opt)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-lgtest \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
Expand All @@ -58,7 +62,7 @@ endif
ifeq ($(WM_COMPILE_OPTION), Debug)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-lgtest \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
Expand Down
8 changes: 6 additions & 2 deletions src/tests/testsuite-fsi/Make/options
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
c++WARN = -Wall -Wextra -Werror -Wno-literal-suffix

ifndef MKL_LIB
MKL_LIB=-lopenblas
endif

EXE_INC = -std=c++11 \
-I ../../fsi \
-I ../../fsi/lnInclude \
Expand Down Expand Up @@ -32,7 +36,7 @@ EXE_INC = -std=c++11 \
ifeq ($(WM_COMPILE_OPTION), Opt)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-lgtest \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
Expand All @@ -58,7 +62,7 @@ endif
ifeq ($(WM_COMPILE_OPTION), Debug)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-lgtest \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
Expand Down
8 changes: 6 additions & 2 deletions src/tests/testsuite-rbf/Make/options
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
c++WARN = -Wall -Wextra -Werror -Wno-literal-suffix

ifndef MKL_LIB
MKL_LIB=-lopenblas
endif

EXE_INC = -std=c++11 -fext-numeric-literals\
-isystem ../../thirdParty/elemental/install/include \
-I ../../fsi \
Expand Down Expand Up @@ -33,7 +37,7 @@ EXE_INC = -std=c++11 -fext-numeric-literals\
ifeq ($(WM_COMPILE_OPTION), Opt)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-lgtest \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
Expand All @@ -59,7 +63,7 @@ endif
ifeq ($(WM_COMPILE_OPTION), Debug)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-lgtest \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
Expand Down
8 changes: 6 additions & 2 deletions src/tests/testsuite-sdc-fsi/Make/options
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
c++WARN = -Wall -Wextra -Werror

ifndef MKL_LIB
MKL_LIB=-lopenblas
endif

EXE_INC = -std=c++11 \
-I ../../fsi \
-I ../../fsi/lnInclude \
Expand All @@ -12,7 +16,7 @@ EXE_INC = -std=c++11 \
ifeq ($(WM_COMPILE_OPTION), Opt)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-lgtest \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
Expand All @@ -38,7 +42,7 @@ endif
ifeq ($(WM_COMPILE_OPTION), Debug)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-lgtest \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
Expand Down
8 changes: 6 additions & 2 deletions src/tests/testsuite-sdc/Make/options
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
c++WARN = -Wall -Wextra -Werror -Wno-literal-suffix

ifndef MKL_LIB
MKL_LIB=-lopenblas
endif

EXE_INC = -std=c++11 \
-I ../../fsi \
-I ../../fsi/lnInclude \
Expand Down Expand Up @@ -32,7 +36,7 @@ EXE_INC = -std=c++11 \
ifeq ($(WM_COMPILE_OPTION), Opt)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-lgtest \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
Expand All @@ -58,7 +62,7 @@ endif
ifeq ($(WM_COMPILE_OPTION), Debug)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-lgtest \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
Expand Down
8 changes: 6 additions & 2 deletions src/tests/testsuite-spacemapping/Make/options
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
c++WARN = -Wall -Wextra -Werror -Wno-literal-suffix

ifndef MKL_LIB
MKL_LIB=-lopenblas
endif

EXE_INC = -std=c++11 \
-I ../../fsi \
-I ../../fsi/lnInclude \
Expand Down Expand Up @@ -32,7 +36,7 @@ EXE_INC = -std=c++11 \
ifeq ($(WM_COMPILE_OPTION), Opt)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-lgtest \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
Expand All @@ -58,7 +62,7 @@ endif
ifeq ($(WM_COMPILE_OPTION), Debug)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-lgtest \
-ldynamicFvMesh \
-ltopoChangerFvMesh \
Expand Down
8 changes: 6 additions & 2 deletions src/tests/tubeflow-sdc-bdf-solid/Make/options
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
c++WARN = -Wall -Wextra -Werror

ifndef MKL_LIB
MKL_LIB=-lopenblas
endif

EXE_INC = -std=c++11 -fopenmp \
-I ../../fsi \
-I ../../fsi/lnInclude \
Expand All @@ -11,7 +15,7 @@ EXE_INC = -std=c++11 -fopenmp \
ifeq ($(WM_COMPILE_OPTION), Opt)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-L../../thirdParty/gtest \
-lgtest \
-ldynamicFvMesh \
Expand All @@ -38,7 +42,7 @@ endif
ifeq ($(WM_COMPILE_OPTION), Debug)
EXE_LIBS = \
-L$(FOAM_USER_LIBBIN) \
-lopenblas -llapack -lscalapack -lpmrrr -lmetis -lparmetis -lEl -lElSuiteSparse \
$(MKL_LIB) -lpmrrr -lEl -lElSuiteSparse \
-L../../thirdParty/gtest \
-lgtest \
-ldynamicFvMesh \
Expand Down
Loading

0 comments on commit 911c08f

Please sign in to comment.