mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
Zoltan is added as thirdParty package
This commit is contained in:
5
thirdParty/Zoltan/SampleConfigurationScripts/linux_trilinos_runtests
vendored
Executable file
5
thirdParty/Zoltan/SampleConfigurationScripts/linux_trilinos_runtests
vendored
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/tcsh
|
||||
which lamboot
|
||||
lamboot
|
||||
make runtests-mpi TRILINOS_MPI_GO="'mpirun -np '"
|
||||
|
34
thirdParty/Zoltan/SampleConfigurationScripts/linux_with_purify_zoltan_only
vendored
Executable file
34
thirdParty/Zoltan/SampleConfigurationScripts/linux_with_purify_zoltan_only
vendored
Executable file
@ -0,0 +1,34 @@
|
||||
# Script for building Zoltan with purify on linux workstation octopi
|
||||
# with openmpi.
|
||||
# This is a 64-bit installation.
|
||||
|
||||
/bin/rm -r Makefile Makefile.export.zoltan OUTPUT.C OUTPUT.I OUTPUT.M config.cache config.log config.status* example/ include/ lib/ siMPI/ src/
|
||||
|
||||
set path=(/usr/local/bin $path)
|
||||
setenv PURE_CC "purify -best-effort -follow-child-processes=yes -cache-dir=/tmp/purify -chain-length=20"
|
||||
setenv CC "$PURE_CC gcc34 -Wall -Werror-implicit-function-declaration"
|
||||
setenv CXX "$PURE_CC g++34 -Wall -Werror-implicit-function-declaration"
|
||||
setenv CFLAGS "-m64 -g"
|
||||
setenv CXXFLAGS "-m64 -g"
|
||||
setenv CPPFLAGS "-m64 -g"
|
||||
setenv FCFLAGS "-m64 -g"
|
||||
setenv MPIINC `mpicc --showme:compile`
|
||||
setenv MPILIB `mpicc --showme:link`
|
||||
|
||||
../configure -C \
|
||||
--prefix=/Net/local/homes/kddevin/code/zoltan_v3.2/Obj_pure \
|
||||
--enable-mpi \
|
||||
--with-mpi-compilers=no \
|
||||
--disable-fortran \
|
||||
--with-gnumake \
|
||||
--disable-zoltan-cppdriver \
|
||||
--with-libs="$MPILIB" \
|
||||
--with-incdirs="$MPIINC" \
|
||||
|& tee OUTPUT.C
|
||||
make everything |& tee OUTPUT.M
|
||||
make install |& tee OUTPUT.I
|
||||
|
||||
# --with-parmetis \
|
||||
# --with-parmetis-incdir="/Net/local/proj/zoltan/arch/all/src/ParMETIS3" \
|
||||
# --with-parmetis-libdir="/Net/local/proj/zoltan/arch/linux64/lib/openmpi/ParMETIS3_1" \
|
||||
|
15
thirdParty/Zoltan/SampleConfigurationScripts/linux_zoltan_dist
vendored
Executable file
15
thirdParty/Zoltan/SampleConfigurationScripts/linux_zoltan_dist
vendored
Executable file
@ -0,0 +1,15 @@
|
||||
#Script for building the Zoltan tarball on a 64-bit Linux workstation
|
||||
#with OpenMPI.
|
||||
#This script builds the Zoltan tarball from the Zoltan package directory.
|
||||
#Assuming running script from
|
||||
#/Net/local/homes/kddevin/code/zoltan_v3.1/Obj_DIST.
|
||||
set path=(/usr/local/bin $path)
|
||||
setenv CFLAGS -m64
|
||||
setenv CXXFLAGS -m64
|
||||
setenv CPPFLAGS -m64
|
||||
setenv FCFLAGS -m64
|
||||
|
||||
../configure -C \
|
||||
--prefix=/Net/local/homes/kddevin/code/zoltan_v3.1/OBJ_DIST \
|
||||
--with-gnumake |& tee OUTPUT.C
|
||||
make dist |& tee OUTPUT.D
|
22
thirdParty/Zoltan/SampleConfigurationScripts/linux_zoltan_only
vendored
Executable file
22
thirdParty/Zoltan/SampleConfigurationScripts/linux_zoltan_only
vendored
Executable file
@ -0,0 +1,22 @@
|
||||
#Script for building Zoltan only on a 64-bit Linux workstation
|
||||
#with OpenMPI.
|
||||
#This script builds only Zoltan from the Zoltan package directory.
|
||||
#Assuming running script from
|
||||
#/Net/local/homes/kddevin/code/zoltan_v3.1/Obj_linux64.
|
||||
set path=(/usr/local/bin $path)
|
||||
setenv CFLAGS -m64
|
||||
setenv CXXFLAGS -m64
|
||||
setenv CPPFLAGS -m64
|
||||
setenv FCFLAGS -m64
|
||||
|
||||
../configure -C \
|
||||
--prefix=/Net/local/homes/kddevin/code/zoltan_v3.1/Obj_linux64 \
|
||||
--with-parmetis \
|
||||
--with-parmetis-incdir="/Net/local/proj/zoltan/arch/all/src/ParMETIS3_1" \
|
||||
--with-parmetis-libdir="/Net/local/proj/zoltan/arch/linux64/lib/openmpi/ParMETIS3_1" \
|
||||
--with-scotch \
|
||||
--with-scotch-incdir="/Net/local/proj/zoltan/arch/all/src/Scotch5" \
|
||||
--with-scotch-libdir="/Net/local/proj/zoltan/arch/linux64/lib/openmpi/Scotch5" \
|
||||
--with-gnumake |& tee OUTPUT.C
|
||||
make everything |& tee OUTPUT.M
|
||||
make install |& tee OUTPUT.I
|
25
thirdParty/Zoltan/SampleConfigurationScripts/mac_osX_no_fortran
vendored
Executable file
25
thirdParty/Zoltan/SampleConfigurationScripts/mac_osX_no_fortran
vendored
Executable file
@ -0,0 +1,25 @@
|
||||
#Script for building Zoltan and Isorropia on a 64-bit Mac OS X
|
||||
#with LAM MPI on a machine with NO FORTRAN COMPILER. Note the option
|
||||
#--disable-fortran.
|
||||
#This script builds only Zoltan but builds it from the top-level Trilinos
|
||||
#directory.
|
||||
#Assuming running script from /Users/kddevin/code/trilinos_v9.0/Obj_mac64.
|
||||
set path=(/Users/kddevin/code/lib-m64/lam-7.1.4/bin $path)
|
||||
setenv CC /Users/kddevin/code/lib-m64/lam-7.1.4/bin/mpicc
|
||||
setenv CXX /Users/kddevin/code/lib-m64/lam-7.1.4/bin/mpic++
|
||||
setenv FC /Users/kddevin/code/lib-m64/lam-7.1.4/bin/mpif77
|
||||
setenv CFLAGS -m64
|
||||
setenv CXXFLAGS -m64
|
||||
setenv CPPFLAGS -m64
|
||||
setenv FCFLAGS -m64
|
||||
|
||||
../configure -C \
|
||||
--prefix=/Users/kddevin/code/trilinos_v9.0/Obj_mac64 \
|
||||
--with-parmetis \
|
||||
--with-parmetis-incdir="/Users/kddevin/code/lib-m64/ParMETIS3_1" \
|
||||
--with-parmetis-libdir="/Users/kddevin/code/lib-m64/ParMETIS3_1" \
|
||||
--with-libs="-framework vecLib" \
|
||||
--with-gnumake \
|
||||
--with-cxxflags="-DLAM_BUILDING" |& tee OUTPUT.C
|
||||
make everything |& tee OUTPUT.M
|
||||
make install |& tee OUTPUT.I
|
4
thirdParty/Zoltan/SampleConfigurationScripts/mac_osX_zoltan_dist
vendored
Executable file
4
thirdParty/Zoltan/SampleConfigurationScripts/mac_osX_zoltan_dist
vendored
Executable file
@ -0,0 +1,4 @@
|
||||
# Since Mac OS X is case-insensitive, autoconf produces a bad Makefile.in
|
||||
# Don't use Mac OS X until this bug is fixed.
|
||||
|
||||
echo "Due to bug in autoconf Makefile.in, do not make dist on a case-insensitive system."
|
18
thirdParty/Zoltan/SampleConfigurationScripts/mac_osX_zoltan_only
vendored
Executable file
18
thirdParty/Zoltan/SampleConfigurationScripts/mac_osX_zoltan_only
vendored
Executable file
@ -0,0 +1,18 @@
|
||||
#Script for building Zoltan only on a 64-bit Mac OS X with LAM mpi
|
||||
#Assuming running this script from /Users/kddevin/code/zoltan_v3.1/OBJ_MAC64.
|
||||
|
||||
setenv CFLAGS -m64
|
||||
setenv CXXFLAGS -m64
|
||||
../configure \
|
||||
--prefix=/Users/kddevin/code/zoltan_v3.1/OBJ_MAC64 \
|
||||
--with-gnumake \
|
||||
--with-parmetis \
|
||||
--with-parmetis-incdir="/Users/kddevin/code/lib-m64/ParMETIS3_1" \
|
||||
--with-parmetis-libdir="/Users/kddevin/code/lib-m64/ParMETIS3_1" \
|
||||
--with-patoh \
|
||||
--with-patoh-incdir="/Users/kddevin/code/lib-m64/PaToH/dist" \
|
||||
--with-patoh-libdir="/Users/kddevin/code/lib-m64/PaToH/dist" \
|
||||
|& tee OUTPUT.C
|
||||
make everything |& tee OUTPUT.M
|
||||
make install |& tee OUTPUT.I
|
||||
|
Reference in New Issue
Block a user