|
[Sponsors] |
[OpenFOAM.org] paraFoam, for OpenFOAM 2.3.x on MacOS X? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 14, 2015, 21:33 |
paraFoam, for OpenFOAM 2.3.x on MacOS X?
|
#1 |
New Member
Andre Mas
Join Date: Jan 2015
Location: Montreal, Canada
Posts: 18
Rep Power: 11 |
Does anyone know how to get paraFoam running on MacOS X?
I have started with the successful build from the Git repo https://github.com/OpenFOAM/OpenFOAM-2.3.x and followed the "Getting Started" instructions on OpenFOAM Ubuntu download page: http://www.openfoam.org/download/ubuntu.php When I try running paraFoam I get: Code:
FATAL ERROR: ParaView reader module libraries do not exist Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers ./Allwclean ./Allwmake Code:
WARN: PV4 readers not building: ParaView_VERSION= export ParaView_DIR="${PARAVIEW_APP_DIR}/Contents/MacOS" export ParaView_VERSION=4.3.1 export PV_PLUGIN_PATH=“${PARAVIEW_APP_DIR}/Plugins/“ and this kinda builds, but fails with a bunch of errors, starting with: Code:
SOURCE=vtkPV4Readers.C ; g++-mp-4.8 -m64 -fsignaling-nans -ftrapping-math -DdarwinIntel64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O2 -DNoRepository -ftemplate-depth-100 -I -IlnInclude -I. -I/Volumes/OpenFOAM-Development-2.3.x/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/Volumes/OpenFOAM-Development-2.3.x/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude -fPIC -Ddarwin -c $SOURCE -o Make/darwinIntel64Gcc48DPOpt/vtkPV4Readers.o vtkPV4Readers.C:35:35: fatal error: vtkDataArraySelection.h: No such file or directory #include "vtkDataArraySelection.h" ^ compilation terminated. make: *** [Make/darwinIntel64Gcc48DPOpt/vtkPV4Readers.o] Error 1 Can anyone provide any suggestions as to how to resolve this? |
|
March 14, 2015, 22:30 |
|
#2 |
New Member
Andre Mas
Join Date: Jan 2015
Location: Montreal, Canada
Posts: 18
Rep Power: 11 |
Okay I have patched the paraFoam command to simply ignore the "libPV${version}FoamReader_SM" check and call the paraview command in /Applications/paraview.app/Contents/MacOS, but now I get the following error, during launching of Paraview:
Code:
created temporary 'cavity.OpenFOAM' Read float past end of buffer Read float past end of buffer Read float past end of buffer Read float past end of buffer |
|
March 15, 2015, 03:48 |
|
#3 |
Senior Member
|
Hi,
Preview's built-in reader uses foam extension (not OpenFOAM). So I guess in addition to Code:
created temporary 'cavity.OpenFOAM' Read float past end of buffer Read float past end of buffer Read float past end of buffer Read float past end of buffer Code:
# reader extension extension=foam requirePV=0 And finally vtkDataArraySelection.h is a part of VTK library that is used by Paraview. Do you have ThirdParty folder with Paraview sources? |
|
March 15, 2015, 18:27 |
|
#4 | |
New Member
Andre Mas
Join Date: Jan 2015
Location: Montreal, Canada
Posts: 18
Rep Power: 11 |
Quote:
|
||
Tags |
building, mac os x, parafoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Unable to launch parafoam & | boonhow | ParaView | 5 | March 23, 2022 08:09 |
[OpenFOAM.com] paraFoam cannot open due to Qt issues - [Solved/Information] | u2berggeist | OpenFOAM Installation | 2 | July 2, 2018 17:03 |
[OpenFOAM] How to use paraFoam on a cluster | andreas | ParaView | 1 | March 6, 2013 17:11 |
[OpenFOAM] OpenFoam (Ubuntu): paraFoam via Xming+PuTTY | raketenmaid | ParaView | 4 | February 5, 2013 05:20 |
[OpenFOAM] ParaFoam OF 14 decomposed cases | philippose | ParaView | 4 | April 18, 2007 05:17 |