diff --git a/ThirdParty/rpmBuild/SOURCES/scotch-6.0.4_patch_0 b/ThirdParty/rpmBuild/SOURCES/scotch-6.0.4_patch_0 index fba224042..84f4393bc 100644 --- a/ThirdParty/rpmBuild/SOURCES/scotch-6.0.4_patch_0 +++ b/ThirdParty/rpmBuild/SOURCES/scotch-6.0.4_patch_0 @@ -27,14 +27,15 @@ diff -ruN scotch_6.0.4_orig/src/Make.inc/Makefile.inc.i686_mac_darwin10.shlib sc diff -ruN scotch_6.0.4_orig/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib scotch_6.0.4/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib --- scotch_6.0.4_orig/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib 2014-08-05 08:56:17.000000000 -0400 +++ scotch_6.0.4/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib 2015-06-21 00:26:43.072992194 -0400 -@@ -8,10 +8,10 @@ +@@ -8,10 +8,11 @@ CAT = cat CCS = gcc CCP = mpicc -CCD = gcc -CFLAGS = -O3 -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_PTHREAD -Drestrict=__restrict +CCD = mpicc -I$(MPI_HOME)/include -+CFLAGS = -O3 -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_PTHREAD -Drestrict=__restrict -Xlinker --no-as-needed ++INTSIZE = ++CFLAGS = -O3 $(INTSIZE) -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_PTHREAD -Drestrict=__restrict -Xlinker --no-as-needed CLIBFLAGS = -shared -fPIC -LDFLAGS = -lz -lm -pthread +LDFLAGS = -lz -lm -pthread -lrt diff --git a/ThirdParty/rpmBuild/SPECS/ParMGridGen-1.0.spec b/ThirdParty/rpmBuild/SPECS/ParMGridGen-1.0.spec index 540f37ab3..d52fc4073 100644 --- a/ThirdParty/rpmBuild/SPECS/ParMGridGen-1.0.spec +++ b/ThirdParty/rpmBuild/SPECS/ParMGridGen-1.0.spec @@ -78,6 +78,7 @@ Prefix: %{_prefix} Group: Development/Tools Patch0: ParMGridGen-1.0.patch_darwin Patch1: ParMGridGen-1.0.patch +Patch2: ParMGridGen-1.0.patch_64Bit %define _installPrefix %{_prefix}/packages/%{name}-%{version}/platforms/%{_WM_OPTIONS} @@ -93,6 +94,10 @@ Patch1: ParMGridGen-1.0.patch %patch1 -p1 %endif +if [ "$WM_LABEL_SIZE" = "64" ]; then +%patch2 -p1 +fi + %build [ -n "$WM_CC" ] && export CC="$WM_CC" [ -n "$WM_CXX" ] && export CXX="$WM_CXX" diff --git a/ThirdParty/rpmBuild/SPECS/metis-5.1.0.spec b/ThirdParty/rpmBuild/SPECS/metis-5.1.0.spec index 5450c3e68..f115d27ba 100644 --- a/ThirdParty/rpmBuild/SPECS/metis-5.1.0.spec +++ b/ThirdParty/rpmBuild/SPECS/metis-5.1.0.spec @@ -77,6 +77,7 @@ Source: %url/%{name}-%{version}.tar.gz Prefix: %{_prefix} Group: Development/Tools Patch0: metis-5.1.0_patch_gcc +Patch1: metis-5.1.0_patch_64Bit %define _installPrefix %{_prefix}/packages/%{name}-%{version}/platforms/%{_WM_OPTIONS} @@ -90,6 +91,10 @@ Patch0: metis-5.1.0_patch_gcc %patch0 -p1 %endif +if [ "$WM_LABEL_SIZE" = "64" ]; then +%patch1 -p1 +fi + %build [ -n "$WM_CC" ] && export CC="$WM_CC" [ -n "$WM_CXX" ] && export CXX="$WM_CXX" diff --git a/ThirdParty/rpmBuild/SPECS/parmetis-4.0.3.spec b/ThirdParty/rpmBuild/SPECS/parmetis-4.0.3.spec index 1f0dea975..00b49a908 100644 --- a/ThirdParty/rpmBuild/SPECS/parmetis-4.0.3.spec +++ b/ThirdParty/rpmBuild/SPECS/parmetis-4.0.3.spec @@ -78,6 +78,7 @@ Prefix: %{_prefix} Group: Development/Tools Patch0: ParMetis-3.1.1.patch_darwin Patch1: ParMetis-3.1.1.patch +Patch2: ParMetis-3.1.1.patch_64Bit %define _installPrefix %{_prefix}/packages/%{name}-%{version}/platforms/%{_WM_OPTIONS} @@ -93,6 +94,10 @@ Patch1: ParMetis-3.1.1.patch #patch1 -p1 %endif +if [ "$WM_LABEL_SIZE" = "64" ]; then +%patch2 -p1 +fi + %build [ -n "$WM_CC" ] && export CC="$WM_CC" [ -n "$WM_CXX" ] && export CXX="$WM_CXX" diff --git a/ThirdParty/rpmBuild/SPECS/scotch-6.0.4.spec b/ThirdParty/rpmBuild/SPECS/scotch-6.0.4.spec index 19a9c3058..baa3f77e0 100644 --- a/ThirdParty/rpmBuild/SPECS/scotch-6.0.4.spec +++ b/ThirdParty/rpmBuild/SPECS/scotch-6.0.4.spec @@ -77,6 +77,7 @@ Prefix: %{_prefix} Group: Development/Tools Patch0: scotch-6.0.4_patch_0 Patch1: scotch-6.0.4_patch_darwin +Patch2: scotch-6.0.4_patch_64Bit %define _installPrefix %{_prefix}/packages/%{name}-%{version}/platforms/%{_WM_OPTIONS} @@ -92,6 +93,10 @@ Patch1: scotch-6.0.4_patch_darwin %patch0 -p1 %endif +if [ "$WM_LABEL_SIZE" = "64" ]; then +%patch2 -p1 +fi + %build # export WM settings in a form that GNU configure recognizes # [ -n "$WM_CC" ] && export CC="$WM_CC" diff --git a/applications/utilities/finiteArea/makeFaMesh/makeFaMesh.C b/applications/utilities/finiteArea/makeFaMesh/makeFaMesh.C index b536a7162..5fcafb449 100644 --- a/applications/utilities/finiteArea/makeFaMesh/makeFaMesh.C +++ b/applications/utilities/finiteArea/makeFaMesh/makeFaMesh.C @@ -212,7 +212,7 @@ int main(int argc, char *argv[]) { label curMeshEdge = meshEdges[edgeI]; - labelList curEdgePatchIDs(2, -1); + labelList curEdgePatchIDs(2, label(-1)); label patchI = -1; diff --git a/applications/utilities/mesh/conversion/foamMeshToAbaqus/foamMeshToAbaqus.C b/applications/utilities/mesh/conversion/foamMeshToAbaqus/foamMeshToAbaqus.C index b16249f29..0dd42fa38 100644 --- a/applications/utilities/mesh/conversion/foamMeshToAbaqus/foamMeshToAbaqus.C +++ b/applications/utilities/mesh/conversion/foamMeshToAbaqus/foamMeshToAbaqus.C @@ -99,7 +99,11 @@ int main(int argc, char *argv[]) const labelList faceOwner = mesh.faceOwner(); const vectorField faceNormals = mesh.Sf()/mesh.magSf(); - labelListList abaqusCellPoints(cellPoints.size(), List