--- .OpenFOAM-1.4.1/cshrc.orig Tue Jul 31 17:39:07 2007 +++ .OpenFOAM-1.4.1/cshrc Fri Aug 3 21:03:49 2007 @@ -41,16 +41,16 @@ # # Location of FOAM installation # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -setenv WM_PROJECT_INST_DIR $HOME/$WM_PROJECT +#setenv WM_PROJECT_INST_DIR $HOME/$WM_PROJECT #setenv WM_PROJECT_INST_DIR ~$WM_PROJECT #setenv WM_PROJECT_INST_DIR $HOME/$WM_PROJECT/$LOGNAME-$WM_PROJECT_VERSION -#setenv WM_PROJECT_INST_DIR /usr/local/$WM_PROJECT +setenv WM_PROJECT_INST_DIR /usr/local/$WM_PROJECT # Check that the installation directory has been set and exists if ( $?WM_PROJECT_INST_DIR ) then if ( -d $WM_PROJECT_INST_DIR ) then -setenv WM_PROJECT_DIR $WM_PROJECT_INST_DIR/$WM_PROJECT-$WM_PROJECT_VERSION +setenv WM_PROJECT_DIR $WM_PROJECT_INST_DIR # Location of users FOAM files # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -59,7 +59,7 @@ # Compiler (if set to "" use the system compiler) # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -setenv WM_COMPILER Gcc +setenv WM_COMPILER setenv WM_COMPILER_ARCH setenv WM_COMPILER_LIB_ARCH @@ -128,6 +128,15 @@ #setenv WM_MPLIB MPICH #setenv WM_MPLIB MPICH-GM #setenv WM_MPLIB GAMMA + #setenv WM_MPLIB MPI + +# FreeBSD workstation +# ~~~~~~~~~~~~~~~~~~~ +else if ($machineTest == FreeBSD) then + + setenv WM_ARCH FreeBSD + setenv WM_MPLIB %%MPILIB%% + #setenv WM_MPLIB LAM #setenv WM_MPLIB MPI # SUN workstation