|
[Sponsors] |
pisoFoam compiling error with OF 1.7.1 on MAC OSX |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 3, 2011, 19:10 |
pisoFoam compiling error with OF 1.7.1 on MAC OSX
|
#1 |
Member
Greg Givogue
Join Date: Aug 2010
Location: Ottawa Canada
Posts: 57
Rep Power: 16 |
Hi,
Today I decided to go through the process of installing OF 1.7.1 on an OSX 10.6.6 partition. I followed the instructions from http://openfoamwiki.net/index.php/Ho...enFOAM_v17_Mac. I tested icoFoam and simpleFoam - both worked great. However, the pisoFoam sovler failed with the following message: Greg-Givogues-iMac:cavity greggivogue$ pisoFoam 4 -bash: pisoFoam: command not found Message in pisoFoam.log……….. -------------------------------------------------------------------------- mpirun was unable to launch the specified application as it could not find an executable: Executable: pisoFoam Node: Greg-Givogues-iMac.local while attempting to start process rank 0. -------------------------------------------------------------------------- So I decided to run wclean and wmake on pisoFoam and got the following message... and subsequent error. Does anyone know how to fix this problem - I really need pisoFoam for my project. Thanks -------------------------------------------------------------------------- Greg-Givogues-iMacisoFoam greggivogue$ wmake Making dependency list for source file pisoFoam.C could not open file polyPatch.H for source file pisoFoam.C could not open file labelPair.H for source file pisoFoam.C could not open file boundBox.H for source file pisoFoam.C could not open file pointZoneMesh.H for source file pisoFoam.C could not open file faceZoneMesh.H for source file pisoFoam.C could not open file cellZoneMesh.H for source file pisoFoam.C could not open file lduMesh.H for source file pisoFoam.C could not open file fvBoundaryMesh.H for source file pisoFoam.C could not open file surfaceInterpolation.H for source file pisoFoam.C could not open file DimensionedField.H for source file pisoFoam.C could not open file volFieldsFwd.H for source file pisoFoam.C could not open file surfaceFieldsFwd.H for source file pisoFoam.C could not open file pointFieldsFwd.H for source file pisoFoam.C could not open file slicedVolFieldsFwd.H for source file pisoFoam.C could not open file slicedSurfaceFieldsFwd.H for source file pisoFoam.C could not open file fvPatchFvMeshTemplates.C for source file pisoFoam.C could not open file fvc.H for source file pisoFoam.C could not open file fvMatrices.H for source file pisoFoam.C could not open file fvm.H for source file pisoFoam.C could not open file linear.H for source file pisoFoam.C could not open file uniformDimensionedFields.H for source file pisoFoam.C could not open file calculatedFvPatchFields.H for source file pisoFoam.C could not open file fixedValueFvPatchFields.H for source file pisoFoam.C could not open file adjustPhi.H for source file pisoFoam.C could not open file findRefCell.H for source file pisoFoam.C could not open file mathematicalConstants.H for source file pisoFoam.C could not open file argList.H for source file pisoFoam.C could not open file timeSelector.H for source file pisoFoam.C could not open file singlePhaseTransportModel.H for source file pisoFoam.C could not open file turbulenceModel.H for source file pisoFoam.C could not open file setRootCase.H for source file pisoFoam.C could not open file createTime.H for source file pisoFoam.C could not open file createMesh.H for source file pisoFoam.C could not open file createFields.H for source file pisoFoam.C could not open file initContinuityErrs.H for source file pisoFoam.C could not open file readTimeControls.H for source file pisoFoam.C could not open file readPISOControls.H for source file pisoFoam.C could not open file CourantNo.H for source file pisoFoam.C could not open file setDeltaT.H for source file pisoFoam.C could not open file continuityErrs.H for source file pisoFoam.C SOURCE=pisoFoam.C ; g++-mp-4.5 -m64 -DdarwinIntel64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/Volumes/OpenFOAM/OpenFOAM-1.7.1/src/turbulenceModels/incompressible/turbulenceModel -I/Volumes/OpenFOAM/OpenFOAM-1.7.1/src/transportModels -I/Volumes/OpenFOAM/OpenFOAM-1.7.1/src/transportModels/incompressible/singlePhaseTransportModel -I/Volumes/OpenFOAM/OpenFOAM-1.7.1/src/finiteVolume/lnInclude -IlnInclude -I. -I/Volumes/OpenFOAM/OpenFOAM-1.7.1/src/OpenFOAM/lnInclude -I/Volumes/OpenFOAM/OpenFOAM-1.7.1/src/OSspecific/POSIX/lnInclude -fPIC -Ddarwin -c $SOURCE -o Make/darwinIntel64DPOpt/pisoFoam.o /Volumes/OpenFOAM/OpenFOAM-1.7.1/src/finiteVolume/lnInclude/readPISOControls.H: In function 'int main(int, char**)': /Volumes/OpenFOAM/OpenFOAM-1.7.1/src/finiteVolume/lnInclude/readPISOControls.H:11:10: warning: unused variable 'transonic' /Volumes/OpenFOAM/OpenFOAM-1.7.1/src/finiteVolume/lnInclude/readPISOControls.H:14:9: warning: unused variable 'nOuterCorr' g++-mp-4.5 -m64 -DdarwinIntel64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/Volumes/OpenFOAM/OpenFOAM-1.7.1/src/turbulenceModels/incompressible/turbulenceModel -I/Volumes/OpenFOAM/OpenFOAM-1.7.1/src/transportModels -I/Volumes/OpenFOAM/OpenFOAM-1.7.1/src/transportModels/incompressible/singlePhaseTransportModel -I/Volumes/OpenFOAM/OpenFOAM-1.7.1/src/finiteVolume/lnInclude -IlnInclude -I. -I/Volumes/OpenFOAM/OpenFOAM-1.7.1/src/OpenFOAM/lnInclude -I/Volumes/OpenFOAM/OpenFOAM-1.7.1/src/OSspecific/POSIX/lnInclude -fPIC -Ddarwin -lpthread -L/Volumes/OpenFOAM/OpenFOAM-1.7.1/lib/darwinIntel64DPOpt/openmpi-1.4.1 -lPstream Make/darwinIntel64DPOpt/pisoFoam.o -L/Volumes/OpenFOAM/OpenFOAM-1.7.1/lib/darwinIntel64DPOpt \ -lincompressibleRASModels -lincompressibleLESModels -lincompressibleTransportModels -lfiniteVolume -lmeshTools -lOpenFOAM -lpthread -lm -o /Volumes/OpenFOAM/OpenFOAM-1.7.1/applications/bin/darwinIntel64DPOpt/pisoFoam Undefined symbols: "Foam::incompressible::turbulenceModel::New(Foam:: GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::transportModel&)", referenced from: _main in pisoFoam.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [/Volumes/OpenFOAM/OpenFOAM-1.7.1/applications/bin/darwinIntel64DPOpt/pisoFoam] Error 1 |
|
March 4, 2011, 10:54 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
ls $FOAM_APPBIN what is there. Have a look with ls -l $FOAM_LIBBIN/libincom* whether these Libraries are there. Try to remove the turbulence Libraries rm $FOAM_LIBBIN/libincompressibleTurbulenceModel.* $FOAM_LIBBIN/libincompressibleRASModels.* $FOAM_LIBBIN/libincompressibleLESModels.* then recompile everything with ./Allwmake (shouldn't take too long as only these libraries will be relinked) Bottom line: I've got no concrete problem what the problem might be |
||
March 4, 2011, 11:02 |
|
#3 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
-lincompressibleTurbulenceModel \ right behind EXE_LIBS to the pisoFoam/Make/options-file if it isn't there. I didn'T see that library referenced in your output and it should be Bernhard |
||
March 4, 2011, 18:18 |
|
#4 |
Member
Greg Givogue
Join Date: Aug 2010
Location: Ottawa Canada
Posts: 57
Rep Power: 16 |
Thank you Bernhard! I would never have picked up on that.
Last night I decided to take another crack at it using the disc image approach described here http://chrisjbutler.wordpress.com/20...for-os-x-10-6/ and here http://macof17x.blogspot.com/p/detailed-setup.html. It seems to be a better way of doing things from a space prespective. My build tests well and I appreciate everyone's effort to make this process as painless as possible! Greg |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fluent @ Mac OSx | ignazio | FLUENT | 12 | July 25, 2017 08:03 |
Mac OSX and Homebrew | egp | OpenFOAM Installation | 1 | February 15, 2011 11:21 |
OpenFOAM13 for Mac OSX Darwin 104 | hjasak | OpenFOAM Installation | 70 | September 24, 2010 06:06 |
OpenFOAM on mac OSX | Nick Colam | Main CFD Forum | 3 | January 27, 2009 01:06 |
OpenFOAM14 for Mac OSX Darwin 104 | gschaider | OpenFOAM Installation | 118 | July 20, 2008 06:19 |