1 #----------------------------------*-sh-*--------------------------------------
3 # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 # \\ / A nd | Copyright held by original author
7 #------------------------------------------------------------------------------
9 # This file is part of OpenFOAM.
11 # OpenFOAM is free software; you can redistribute it and/or modify it
12 # under the terms of the GNU General Public License as published by the
13 # Free Software Foundation; either version 2 of the License, or (at your
14 # option) any later version.
16 # OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 # You should have received a copy of the GNU General Public License
22 # along with OpenFOAM; if not, write to the Free Software Foundation,
23 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29 # Startup file for OpenFOAM
30 # Sourced from OpenFOAM-??/etc/bashrc
32 #------------------------------------------------------------------------------
44 # prefix to LD_LIBRARY_PATH
49 export LD_LIBRARY_PATH
=$1:$LD_LIBRARY_PATH
50 if [ "$WM_ARCH_BASE" = "darwin" ]
52 export DYLD_LIBRARY_PATH
=$1:$DYLD_LIBRARY_PATH
58 # Source files, possibly with some verbosity
59 # Yes, this is the same definition as in the file etc/bash
60 # We need that definition available for scripts sourcing
61 # settings.sh directly.
66 [ "$FOAM_VERBOSE" -a "$PS1" ] && echo "Sourcing: $1"
72 # location of the jobControl directory
73 export FOAM_JOB_DIR
=$HOME/$WM_PROJECT/jobControl
76 export WM_DIR
=$WM_PROJECT_DIR/wmake
77 export WM_LINK_LANGUAGE
=c
++
78 export WM_OPTIONS
=$WM_ARCH$WM_COMPILER$WM_PRECISION_OPTION$WM_COMPILE_OPTION
79 export PATH
=$WM_DIR:$PATH
81 #export WM_DECOMP_INC=-DCELL_DECOMP
82 #export WM_DECOMP_LIBS="-lcellDecompFiniteElement -lcellDecompositionMotionSolver"
83 export WM_DECOMP_INC
=-DFACE_DECOMP
84 export WM_DECOMP_LIBS
="-lfaceDecompFiniteElement -lfaceDecompositionMotionSolver"
87 export FOAM_APP
=$WM_PROJECT_DIR/applications
88 export FOAM_APPBIN
=$WM_PROJECT_DIR/applications
/bin
/$WM_OPTIONS
89 export FOAM_LIB
=$WM_PROJECT_DIR/lib
90 export FOAM_LIBBIN
=$WM_PROJECT_DIR/lib
/$WM_OPTIONS
91 export FOAM_SRC
=$WM_PROJECT_DIR/src
93 # shared site configuration - similar naming convention as ~OpenFOAM expansion
94 export FOAM_SITE_APPBIN
=$WM_PROJECT_INST_DIR/site
/$WM_PROJECT_VERSION/bin
/$WM_OPTIONS
95 export FOAM_SITE_LIBBIN
=$WM_PROJECT_INST_DIR/site
/$WM_PROJECT_VERSION/lib
/$WM_OPTIONS
98 export FOAM_USER_APPBIN
=$WM_PROJECT_USER_DIR/applications
/bin
/$WM_OPTIONS
99 export FOAM_USER_LIBBIN
=$WM_PROJECT_USER_DIR/lib
/$WM_OPTIONS
102 export FOAM_TUTORIALS
=$WM_PROJECT_DIR/tutorials
103 export FOAM_UTILITIES
=$FOAM_APP/utilities
104 export FOAM_SOLVERS
=$FOAM_APP/solvers
105 export FOAM_RUN
=$WM_PROJECT_USER_DIR/run
107 # add OpenFOAM scripts and wmake to the path
108 export PATH
=$WM_DIR:$WM_PROJECT_DIR/bin
:$PATH
110 _foamAddPath
$FOAM_APPBIN $FOAM_SITE_APPBIN $FOAM_USER_APPBIN
111 # Make sure to pick up dummy versions of external libraries last
112 _foamAddLib
$FOAM_LIBBIN/dummy
113 _foamAddLib
$FOAM_LIBBIN $FOAM_SITE_LIBBIN $FOAM_USER_LIBBIN
118 unset compilerBin compilerLib
120 # Select compiler installation
121 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 # compilerInstall = OpenFOAM | System
124 # We can override the value of compilerInstall from prefs.sh
125 : ${compilerInstall:=System}
127 # Or we can force it right here
128 #compilerInstall=OpenFOAM
129 #compilerInstall=System
131 case "${compilerInstall:-OpenFOAM}" in
133 case "$WM_COMPILER" in
135 export WM_COMPILER_DIR
=$WM_THIRD_PARTY_DIR/gcc-4.3
.3/platforms
/$WM_ARCH$WM_COMPILER_ARCH
136 _foamAddLib
$WM_THIRD_PARTY_DIR/mpfr-2.4
.1/platforms
/$WM_ARCH$WM_COMPILER_ARCH/lib
137 _foamAddLib
$WM_THIRD_PARTY_DIR/gmp-4.2
.4/platforms
/$WM_ARCH$WM_COMPILER_ARCH/lib
140 export WM_COMPILER_DIR
=$WM_THIRD_PARTY_DIR/packages
/gcc-4.5
.1/platforms
/$WM_OPTIONS
141 _foamSource
$WM_THIRD_PARTY_DIR/packages
/gmp-5.0
.1/platforms
/$WM_OPTIONS/etc
/gmp-5.0
.1.sh
142 _foamSource
$WM_THIRD_PARTY_DIR/packages
/mpfr-3.0
.1/platforms
/$WM_OPTIONS/etc
/mpfr-3.0
.1.sh
143 _foamSource
$WM_THIRD_PARTY_DIR/packages
/mpc-0.8
.2/platforms
/$WM_OPTIONS/etc
/mpc-0.8
.2.sh
144 _foamSource
$WM_THIRD_PARTY_DIR/packages
/gcc-4.5
.1/platforms
/$WM_OPTIONS/etc
/gcc-4.5
.1.sh
147 _foamSource
$WM_THIRD_PARTY_DIR/packages
/mpfr-3.0
.1/platforms
/$WM_OPTIONS/etc
/mpfr-3.0
.1.sh
148 _foamSource
$WM_THIRD_PARTY_DIR/packages
/gmp-5.0
.1/platforms
/$WM_OPTIONS/etc
/gmp-5.0
.1.sh
149 _foamSource
$WM_THIRD_PARTY_DIR/packages
/gcc-4.4
.5/platforms
/$WM_OPTIONS/etc
/gcc-4.4
.5.sh
152 export WM_COMPILER_DIR
=$WM_THIRD_PARTY_DIR/gcc-4.3
.3/platforms
/$WM_ARCH$WM_COMPILER_ARCH
153 _foamAddLib
$WM_THIRD_PARTY_DIR/mpfr-2.4
.1/platforms
/$WM_ARCH$WM_COMPILER_ARCH/lib
154 _foamAddLib
$WM_THIRD_PARTY_DIR/gmp-4.2
.4/platforms
/$WM_ARCH$WM_COMPILER_ARCH/lib
157 export WM_COMPILER_DIR
=$WM_THIRD_PARTY_DIR/gcc-4.2
.4/platforms
/$WM_ARCH$WM_COMPILER_ARCH
161 # Check that the compiler directory can be found
162 if [ ! -d "$WM_COMPILER_DIR" ]
165 echo "Warning in $WM_PROJECT_DIR/etc/settings.sh:"
166 echo " Cannot find $WM_COMPILER_DIR installation."
167 echo " Please install this compiler version or if you wish to use the system compiler,"
168 echo " change the 'compilerInstall' setting to 'System' in this file"
172 compilerBin
=$WM_COMPILER_DIR/bin
173 compilerLib
=$WM_COMPILER_DIR/lib
$WM_COMPILER_LIB_ARCH:$WM_COMPILER_DIR/lib
177 if [ -d "$compilerBin" ]
179 _foamAddPath
$compilerBin
180 _foamAddLib
$compilerLib
183 unset compilerBin compilerLib compilerInstall
186 case "$WM_COMPILER" in
198 # Communications library
199 # ~~~~~~~~~~~~~~~~~~~~~~
205 if [ -e $WM_THIRD_PARTY_DIR/packages
/openmpi-1.6
.3/platforms
/$WM_OPTIONS ]
207 mpi_version
=openmpi-1.6
.3
208 if [ "$FOAM_VERBOSE" -a "$PS1" ]
210 echo "Using openmpi-1.6.3 from the ThirdParty package: $WM_THIRD_PARTY_DIR/packages/$mpi_version"
212 _foamSource
$WM_THIRD_PARTY_DIR/packages
/$mpi_version/platforms
/$WM_OPTIONS/etc
/$mpi_version.sh
214 elif [ -e $WM_THIRD_PARTY_DIR/packages
/openmpi-1.4
.3/platforms
/$WM_OPTIONS ]
216 mpi_version
=openmpi-1.4
.3
217 if [ "$FOAM_VERBOSE" -a "$PS1" ]
219 echo "Using openmpi-1.4.3 from the ThirdParty package: $WM_THIRD_PARTY_DIR/packages/$mpi_version"
221 _foamSource
$WM_THIRD_PARTY_DIR/packages
/$mpi_version/platforms
/$WM_OPTIONS/etc
/$mpi_version.sh
223 elif [ -e $WM_THIRD_PARTY_DIR/packages
/openmpi-1.5
/platforms
/$WM_OPTIONS ]
225 mpi_version
=openmpi-1.5
226 if [ "$FOAM_VERBOSE" -a "$PS1" ]
228 echo "Using openmpi-1.5 from the ThirdParty package: $WM_THIRD_PARTY_DIR/packages/$mpi_version"
230 _foamSource
$WM_THIRD_PARTY_DIR/packages
/$mpi_version/platforms
/$WM_OPTIONS/etc
/$mpi_version.sh
233 export FOAM_MPI_LIBBIN
=$FOAM_LIBBIN/$mpi_version
238 mpi_version
=openmpi-system
240 # make sure not the "old" mpi is used
241 # Not sure if this is necessary anymore.
242 # export OPAL_PREFIX=
244 # Make sure OPENMPI_BIN_DIR is set and valid
245 if [ -n "${OPENMPI_BIN_DIR}" ] && [ -d "${OPENMPI_BIN_DIR}" ]
247 # User defined value specified for OPENMPI_BIN_DIR
250 # We assume this path specified by $OPENMPI_BIN_DIR is valid
251 # We assume the command mpicc is located somewhere under this path
252 # We assume the file mpi.h is located somewhere under this path
254 # Otherwise, please double check your openmpi installation, you are
255 # probably missing the openmpi runtime and/or development packages
256 # available for your system.
258 _foamAddPath
$OPENMPI_BIN_DIR
260 # Here, we assume your environment is already set for running
261 # and developping with openmpi.
263 # Initialize OPENMPI_BIN_DIR using the path to mpicc
264 export OPENMPI_BIN_DIR
=$
(dirname `which mpicc`)
267 # Make sure OPENMPI_LIB_DIR is set
268 if [ ! -n "${OPENMPI_LIB_DIR}" ]
270 # Initialize OPENMPI_LIB_DIR using the path to mpicc
271 export OPENMPI_LIB_DIR
="`mpicc --showme:libdirs`"
274 # Make sure the dynamic libraries are accessible
275 [ -n "${OPENMPI_LIB_DIR}" ] && _foamAddLib
$OPENMPI_LIB_DIR
277 export MPI_HOME
=`dirname $OPENMPI_BIN_DIR`
278 export MPI_ARCH_PATH
=$MPI_HOME
279 export OPAL_PREFIX
=$MPI_ARCH_PATH
281 # We initialize the rest of the environment using mpicc --showme:
282 [ ! -n "${OPENMPI_INCLUDE_DIR}" ] && export OPENMPI_INCLUDE_DIR
="`mpicc --showme:incdirs`"
283 [ ! -n "${OPENMPI_COMPILE_FLAGS}" ] && export OPENMPI_COMPILE_FLAGS
="`mpicc --showme:compile`"
284 [ ! -n "${OPENMPI_LINK_FLAGS}" ] && export OPENMPI_LINK_FLAGS
="`mpicc --showme:link`"
287 # WARNING: We assume the file mpi.h will be available under the directories identified
288 # by the variable $OPENMPI_INCLUDE_DIR. Otherwise, please double check your
289 # system openmpi installation.
291 # Set compilation flags here instead of in wmake/rules/../mplibSYSTEMOPENMPI
292 export PINC
="${OPENMPI_COMPILE_FLAGS}"
293 export PLIBS
="${OPENMPI_LINK_FLAGS}"
295 # No longer needed, but we keep this as a reference, just in case...
296 #libDir=`echo "$PLIBS" | sed -e 's/.*-L\([^ ]*\).*/\1/'`
299 if [ "$FOAM_VERBOSE" -a "$PS1" ]
301 echo " Environment variables defined for OpenMPI:"
302 echo " OPENMPI_BIN_DIR : $OPENMPI_BIN_DIR"
303 echo " OPENMPI_LIB_DIR : $OPENMPI_LIB_DIR"
304 echo " OPENMPI_INCLUDE_DIR : $OPENMPI_INCLUDE_DIR"
305 echo " OPENMPI_COMPILE_FLAGS : $OPENMPI_COMPILE_FLAGS"
306 echo " OPENMPI_LINK_FLAGS : $OPENMPI_LINK_FLAGS"
308 echo " MPI_HOME : $MPI_HOME"
309 echo " MPI_ARCH_PATH : $MPI_ARCH_PATH"
310 echo " OPAL_PREFIX : $OPAL_PREFIX"
312 echo " PLIBS : $PLIBS"
315 export FOAM_MPI_LIBBIN
=$FOAM_LIBBIN/$mpi_version
320 mpi_version
=mpich-1.2
.4
321 export MPI_HOME
=$WM_THIRD_PARTY_DIR/$mpi_version
322 export MPI_ARCH_PATH
=$MPI_HOME/platforms
/$WM_OPTIONS
323 export MPICH_ROOT
=$MPI_ARCH_PATH
325 _foamAddPath
$MPI_ARCH_PATH/bin
326 _foamAddLib
$MPI_ARCH_PATH/lib
328 export FOAM_MPI_LIBBIN
=$FOAM_LIBBIN/$mpi_version
333 export MPI_ARCH_PATH
=/opt
/mpi
334 export MPICH_PATH
=$MPI_ARCH_PATH
335 export MPICH_ROOT
=$MPI_ARCH_PATH
336 export GM_LIB_PATH
=/opt
/gm
/lib64
338 _foamAddPath
$MPI_ARCH_PATH/bin
339 _foamAddLib
$MPI_ARCH_PATH/lib
340 _foamAddLib
$GM_LIB_PATH
342 export FOAM_MPI_LIBBIN
=$FOAM_LIBBIN/mpich-gm
346 export MPI_HOME
=/opt
/hpmpi
347 export MPI_ARCH_PATH
=$MPI_HOME
348 export MPICH_ROOT
=$MPI_ARCH_PATH
350 _foamAddPath
$MPI_ARCH_PATH/bin
354 _foamAddLib
$MPI_ARCH_PATH/lib
/linux_ia32
358 _foamAddLib
$MPI_ARCH_PATH/lib
/linux_amd64
361 _foamAddLib
$MPI_ARCH_PATH/lib
/linux_ia64
364 echo Unknown processor
type `uname -m` for Linux
368 export FOAM_MPI_LIBBIN
=$FOAM_LIBBIN/hpmpi
372 export MPI_ARCH_PATH
=/usr
373 export FOAM_MPI_LIBBIN
=$FOAM_LIBBIN/gamma
377 export MPI_ARCH_PATH
=/opt
/mpi
378 export FOAM_MPI_LIBBIN
=$FOAM_LIBBIN/mpi
382 export MPI_ARCH_PATH
=/opt
/FJSVmpi2
383 export FOAM_MPI_LIBBIN
=$FOAM_LIBBIN/mpi
385 _foamAddPath
$MPI_ARCH_PATH/bin
386 _foamAddLib
$MPI_ARCH_PATH/lib
/sparcv9
387 _foamAddLib
/opt
/FSUNf90
/lib
/sparcv9
388 _foamAddLib
/opt
/FJSVpnidt
/lib
392 export MPI_ARCH_PATH
=/usr
/lib
/mpi
393 export FOAM_MPI_LIBBIN
=$FOAM_LIBBIN/qsmpi
395 _foamAddPath
$MPI_ARCH_PATH/bin
396 _foamAddLib
$MPI_ARCH_PATH/lib
401 export FOAM_MPI_LIBBIN
=$FOAM_LIBBIN/dummy
405 _foamAddLib
$FOAM_MPI_LIBBIN
408 # Set the minimum MPI buffer size (used by all platforms except SGI MPI)
409 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
410 minBufferSize
=20000000
412 if [ "${MPI_BUFFER_SIZE:=$minBufferSize}" -lt $minBufferSize ]
414 MPI_BUFFER_SIZE
=$minBufferSize
416 export MPI_BUFFER_SIZE
419 # CGAL library if available
420 # ~~~~~~~~~~~~~~~~~~~~~~~~~
421 [ -d "$CGAL_LIB_DIR" ] && _foamAddLib
$CGAL_LIB_DIR
424 # Switch on the hoard memory allocator if available
425 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
426 #if [ -f $FOAM_LIBBIN/libhoard.so ]
428 # export LD_PRELOAD=$FOAM_LIBBIN/libhoard.so:$LD_PRELOAD
431 # HOARD seems to crash Paraview on Mac OS X 10.6
432 #if [ -f $FOAM_LIBBIN/libhoard.dylib ]
434 # if [ -z "$DYLD_INSERT_LIBRARIES" ]
436 # export DYLD_INSERT_LIBRARIES=$FOAM_LIBBIN/libhoard.dylib
438 # export DYLD_INSERT_LIBRARIES=$FOAM_LIBBIN/libhoard.dylib:$DYLD_INSERT_LIBRARIES
443 # Third party packages
445 # In order to use a pre-installed version of the ThirdParty packages, just set the
446 # appropriate XXX_SYSTEM environment variable for a given package in your prefs.sh
447 # file in order to disable the sourcing of the ThirdParty version of the same package.
449 # Load Mesquite library
450 # ~~~~~~~~~~~~~~~~~~~~~~
451 [ -z "$MESQUITE_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages
/mesquite-2.1
.2/platforms
/$WM_OPTIONS ] && {
452 _foamSource
$WM_THIRD_PARTY_DIR/packages
/mesquite-2.1
.2/platforms
/$WM_OPTIONS/etc
/mesquite-2.1
.2.sh
454 [ "$FOAM_VERBOSE" -a "$PS1" ] && echo " MESQUITE_DIR is initialized to: $MESQUITE_DIR"
459 [ -z "$METIS_SYSTEM" ] && [ -d $WM_THIRD_PARTY_DIR/packages
/metis-5.0pre
2/platforms
/$WM_OPTIONS ] && {
460 _foamSource
$WM_THIRD_PARTY_DIR/packages
/metis-5.0pre
2/platforms
/$WM_OPTIONS/etc
/metis-5.0pre2.sh
462 [ "$FOAM_VERBOSE" -a "$PS1" ] && echo " METIS_DIR is initialized to: $METIS_DIR"
465 # Load ParMetis library
466 # ~~~~~~~~~~~~~~~~~~~~~
467 [ -z "$PARMETIS_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages
/ParMetis-3.1
.1/platforms
/$WM_OPTIONS ] && {
468 _foamSource
$WM_THIRD_PARTY_DIR/packages
/ParMetis-3.1
.1/platforms
/$WM_OPTIONS/etc
/ParMetis-3.1
.1.sh
470 [ "$FOAM_VERBOSE" -a "$PS1" ] && echo " PARMETIS_DIR is initialized to: $PARMETIS_DIR"
473 # Load ParMGridGen library
474 # ~~~~~~~~~~~~~~~~~~~~~~~~~
475 [ -z "$PARMGRIDGEN_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages
/ParMGridGen-1.0
/platforms
/$WM_OPTIONS ] && {
476 _foamSource
$WM_THIRD_PARTY_DIR/packages
/ParMGridGen-1.0
/platforms
/$WM_OPTIONS/etc
/ParMGridGen-1.0.sh
478 [ "$FOAM_VERBOSE" -a "$PS1" ] && echo " PARMGRIDGEN_DIR is initialized to: $PARMGRIDGEN_DIR"
481 # Load Libccmio library
482 # ~~~~~~~~~~~~~~~~~~~~~
483 [ -z "$LIBCCMIO_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages
/libccmio-2.6
.1/platforms
/$WM_OPTIONS ] && {
484 _foamSource
$WM_THIRD_PARTY_DIR/packages
/libccmio-2.6
.1/platforms
/$WM_OPTIONS/etc
/libccmio-2.6
.1.sh
486 [ "$FOAM_VERBOSE" -a "$PS1" ] && echo " LIBCCMIO_DIR is initialized to: $LIBCCMIO_DIR"
489 # Load Scotch library
490 # ~~~~~~~~~~~~~~~~~~~
491 [ -z "$SCOTCH_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages
/scotch-5.1
.10b
/platforms
/$WM_OPTIONS ] && {
492 _foamSource
$WM_THIRD_PARTY_DIR/packages
/scotch-5.1
.10b
/platforms
/$WM_OPTIONS/etc
/scotch-5.1
.10b.sh
494 [ "$FOAM_VERBOSE" -a "$PS1" ] && echo " SCOTCH_DIR is initialized to: $SCOTCH_DIR"
499 [ -z "$CMAKE_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages
/cmake-2.8
.11/platforms
/$WM_OPTIONS ] && {
500 _foamSource
$WM_THIRD_PARTY_DIR/packages
/cmake-2.8
.11/platforms
/$WM_OPTIONS/etc
/cmake-2.8
.11.sh
502 [ "$FOAM_VERBOSE" -a "$PS1" ] && echo " CMAKE_DIR is initialized to: $CMAKE_DIR"
506 [ -z "$M4_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages
/m4-1.4
.16/platforms
/$WM_OPTIONS ] && {
507 _foamSource
$WM_THIRD_PARTY_DIR/packages
/m4-1.4
.16/platforms
/$WM_OPTIONS/etc
/m4-1.4
.16.sh
509 [ "$FOAM_VERBOSE" -a "$PS1" ] && echo " M4_DIR is initialized to: $M4_DIR"
513 [ -z "$BISON_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages
/bison-2.4
.3/platforms
/$WM_OPTIONS ] && {
514 _foamSource
$WM_THIRD_PARTY_DIR/packages
/bison-2.4
.3/platforms
/$WM_OPTIONS/etc
/bison-2.4
.3.sh
516 [ "$FOAM_VERBOSE" -a "$PS1" ] && echo " BISON_DIR is initialized to: $BISON_DIR"
520 [ -z "$FLEX_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages
/flex-2.5
.35/platforms
/$WM_OPTIONS ] && {
521 _foamSource
$WM_THIRD_PARTY_DIR/packages
/flex-2.5
.35/platforms
/$WM_OPTIONS/etc
/flex-2.5
.35.sh
523 [ "$FOAM_VERBOSE" -a "$PS1" ] && echo " FLEX_DIR is initialized to: $FLEX_DIR"
528 [ -z "$ZOLTAN_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages
/zoltan_3.5
] && {
529 _foamSource
$WM_THIRD_PARTY_DIR/packages
/zoltan_3.5
/platforms
/$WM_OPTIONS/etc
/zoltan_3.5.sh
531 [ "$FOAM_VERBOSE" -a "$PS1" ] && echo " ZOLTAN_DIR is initialized to: $ZOLTAN_DIR"
536 [ -z "$PYTHON_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages
/Python-2.7
/platforms
/$WM_OPTIONS ] && {
537 _foamSource
$WM_THIRD_PARTY_DIR/packages
/Python-2.7
/platforms
/$WM_OPTIONS/etc
/Python-2.7.sh
539 [ "$FOAM_VERBOSE" -a "$PS1" ] && echo " PYTHON_DIR is initialized to: $PYTHON_DIR"
543 [ -z "$PYFOAM_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages
/PyFoam-0.6
.1/platforms
/noarch
] && {
544 _foamSource
$WM_THIRD_PARTY_DIR/packages
/PyFoam-0.6
.1/platforms
/noarch
/etc
/PyFoam-0.6
.1.sh
546 [ "$FOAM_VERBOSE" -a "$PS1" ] && echo " PYFOAM_DIR is initialized to: $PYFOAM_DIR"
551 [ ! -z "$QT_THIRD_PARTY" ] && [ -e $WM_THIRD_PARTY_DIR/packages
/qt-everywhere-opensource-src-4.7
.4/platforms
/$WM_OPTIONS ] && {
552 _foamSource
$WM_THIRD_PARTY_DIR/packages
/qt-everywhere-opensource-src-4.7
.4/platforms
/$WM_OPTIONS/etc
/qt-everywhere-opensource-src-4.7
.4.sh
554 [ "$FOAM_VERBOSE" -a "$PS1" ] && echo " QT_DIR is initialized to: $QT_DIR"
559 [ -z "$PARAVIEW_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages
/ParaView-3.14
.1/platforms
/$WM_OPTIONS ] && {
560 _foamSource
$WM_THIRD_PARTY_DIR/packages
/ParaView-3.14
.1/platforms
/$WM_OPTIONS/etc
/ParaView-3.14
.1.sh
561 #[ -z "$PARAVIEW_SYSTEM" ] && [ -e $WM_THIRD_PARTY_DIR/packages/ParaView-3.8.1/platforms/$WM_OPTIONS ] && {
562 # _foamSource $WM_THIRD_PARTY_DIR/packages/ParaView-3.8.1/platforms/$WM_OPTIONS/etc/ParaView-3.8.1.sh
564 [ "$FOAM_VERBOSE" -a "$PS1" ] && echo " PARAVIEW_DIR is initialized to: $PARAVIEW_DIR"
567 # cleanup environment:
568 # ~~~~~~~~~~~~~~~~~~~~
569 unset _foamAddPath _foamAddLib minBufferSize
571 # -----------------------------------------------------------------------------