Hot fixes
This commit is contained in:
parent
f2f983ac70
commit
86b1af3367
9 changed files with 14 additions and 11 deletions
|
@ -480,8 +480,8 @@ export MPI_BUFFER_SIZE
|
|||
|
||||
# Load cmake
|
||||
# ~~~~~~~~~~
|
||||
[ -z "$CMAKE_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages/cmake-2.8.3/platforms/$WM_OPTIONS ] && {
|
||||
_foamSource $WM_THIRD_PARTY_DIR/packages/cmake-2.8.3/platforms/$WM_OPTIONS/etc/cmake-2.8.3.sh
|
||||
[ -z "$CMAKE_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages/cmake-2.8.5 ] && {
|
||||
_foamSource $WM_THIRD_PARTY_DIR/packages/cmake-2.8.5/platforms/$WM_OPTIONS/etc/cmake-2.8.5.sh
|
||||
}
|
||||
[ "$FOAM_VERBOSE" -a "$PS1" ] && echo " CMAKE_DIR is initialized to: $CMAKE_DIR"
|
||||
|
||||
|
@ -533,8 +533,10 @@ export MPI_BUFFER_SIZE
|
|||
|
||||
# Load ParaView
|
||||
# ~~~~~~~~~~~~~
|
||||
[ -z "$PARAVIEW_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages/ParaView-3.10.1/platforms/$WM_OPTIONS ] && {
|
||||
_foamSource $WM_THIRD_PARTY_DIR/packages/ParaView-3.10.1/platforms/$WM_OPTIONS/etc/ParaView-3.10.1.sh
|
||||
#[ -z "$PARAVIEW_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages/ParaView-3.10.1/platforms/$WM_OPTIONS ] && {
|
||||
# _foamSource $WM_THIRD_PARTY_DIR/packages/ParaView-3.10.1/platforms/$WM_OPTIONS/etc/ParaView-3.10.1.sh
|
||||
[ -z "$PARAVIEW_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages/ParaView-3.8.1/platforms/$WM_OPTIONS ] && {
|
||||
_foamSource $WM_THIRD_PARTY_DIR/packages/ParaView-3.8.1/platforms/$WM_OPTIONS/etc/ParaView-3.8.1.sh
|
||||
}
|
||||
[ "$FOAM_VERBOSE" -a "$PS1" ] && echo " PARAVIEW_DIR is initialized to: $PARAVIEW_DIR"
|
||||
|
||||
|
|
|
@ -3,10 +3,10 @@ cd ${0%/*} || exit 1 # run from this directory
|
|||
set -x
|
||||
|
||||
# Make meshMotion solvers
|
||||
wmake libso solidBodyMotion
|
||||
wmake libso fvMotionSolver
|
||||
wmake libso RBFMotionSolver
|
||||
wmake libso mesquiteMotionSolver
|
||||
(cd tetDecompositionMotionSolver ; ./Allwmake)
|
||||
wmake libso solidBodyMotion
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
|
|
|
@ -6,7 +6,7 @@ cd ${0%/*} || exit 1 # run from this directory
|
|||
|
||||
cd wingMotion_snappyHexMesh
|
||||
cleanCase
|
||||
rm front.sMesh
|
||||
rm -f front.sMesh
|
||||
|
||||
|
||||
cd ../wingMotion2D_simpleFoam
|
||||
|
|
|
@ -18,4 +18,5 @@ cpptoo = $(Ctoo)
|
|||
LINK_LIBS = $(c++DBUG) -lpthread
|
||||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -lpthread -dynamiclib -undefined dynamic_lookup
|
||||
# LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN) -lOpenFOAM -L$(FOAM_MPI_LIBBIN) -lPstream
|
||||
LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_MPI_LIBBIN) -lPstream
|
||||
|
|
|
@ -18,4 +18,4 @@ cpptoo = $(Ctoo)
|
|||
LINK_LIBS = $(c++DBUG)
|
||||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -shared
|
||||
LINKEXE = $(CC) $(c++FLAGS)
|
||||
LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed
|
||||
|
|
|
@ -10,7 +10,7 @@ cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC
|
|||
|
||||
ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@
|
||||
|
||||
LINK_LIBS = $(cDBUG)
|
||||
LINK_LIBS = $(cDBUG) -L$(IA32ROOT)/lib
|
||||
|
||||
LINKLIBSO = $(cc) $(cFLAGS) -shared
|
||||
LINKEXE = $(cc) $(cFLAGS)
|
||||
|
|
|
@ -15,7 +15,7 @@ cxxtoo = $(Ctoo)
|
|||
cctoo = $(Ctoo)
|
||||
cpptoo = $(Ctoo)
|
||||
|
||||
LINK_LIBS = $(c++DBUG)
|
||||
LINK_LIBS = $(c++DBUG) -L$(IA64ROOT)/lib
|
||||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -shared
|
||||
LINKEXE = $(CC) $(c++FLAGS)
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
c++DBUG = -g -DFULLDEBUG -O0
|
||||
c++OPT =
|
||||
c++OPT = -fp-model precise
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
c++DBUG =
|
||||
#c++OPT = -O3 -xP -no-prec-div
|
||||
c++OPT = -ansi-alias -O3 -fno-alias -fargument-noalias-global -unroll0
|
||||
c++OPT = -ansi-alias -O3 -fno-alias -fp-model precise -fargument-noalias-global -unroll0
|
||||
|
|
Reference in a new issue