--- .OpenFOAM-1.4.1/bashrc.orig Thu Aug 2 23:28:12 2007 +++ .OpenFOAM-1.4.1/bashrc Fri Aug 3 19:23:19 2007 @@ -41,15 +41,15 @@ # # Location of FOAM installation # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -export WM_PROJECT_INST_DIR=$HOME/$WM_PROJECT +#export WM_PROJECT_INST_DIR=$HOME/$WM_PROJECT #export WM_PROJECT_INST_DIR=~$WM_PROJECT #export WM_PROJECT_INST_DIR=$HOME/$WM_PROJECT/$LOGNAME-$WM_PROJECT_VERSION -#export WM_PROJECT_INST_DIR=/usr/local/$WM_PROJECT +export WM_PROJECT_INST_DIR=/usr/local/$WM_PROJECT # Check that the installation directory has been set and exists if [ "$WM_PROJECT_INST_DIR" -a -d $WM_PROJECT_INST_DIR ]; then -export WM_PROJECT_DIR=$WM_PROJECT_INST_DIR/$WM_PROJECT-$WM_PROJECT_VERSION +export WM_PROJECT_DIR=$WM_PROJECT_INST_DIR # Location of users FOAM files # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -58,7 +58,8 @@ # Compiler (if set to "" use the system compiler) # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -export WM_COMPILER=Gcc +#export WM_COMPILER=Gcc +export WM_COMPILER= export WM_COMPILER_ARCH= export WM_COMPILER_LIB_ARCH= @@ -128,6 +129,15 @@ #export WM_MPLIB=MPICH-GM #export WM_MPLIB=GAMMA #export WM_MPLIB=MPIGAMMA + #export WM_MPLIB=MPI + +# FreeBSD workstation +# ~~~~~~~~~~~~~~~~~~~ +elif [ "$machineTest" = "FreeBSD" ]; then + + export WM_ARCH=FreeBSD + export WM_MPLIB=%%MPILIB%% + #export WM_MPLIB=LAM #export WM_MPLIB=MPI # SUN workstation