CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.org] decomposePar: no available formula for scotch (https://www.cfd-online.com/Forums/openfoam-installation/158878-decomposepar-no-available-formula-scotch.html)

KateEisenhower September 6, 2015 05:25

decomposePar: no available formula for scotch
 
Dear all,

I somehow screwed my OpenFOAM installation. After installing gnuplot via homebrew I am getting the following problems when mounting the OpenFOAM sparsebundle:

Code:

Last login: Sun Sep  6 10:27:14 on ttys000
kates-mbp:~ kateeisenhower$ hdiutil attach -mountpoint $HOME/OpenFOAM OpenFOAM.sparsebundle
/dev/disk2                  GUID_partition_scheme                 
/dev/disk2s1                EFI                                   
/dev/disk2s2                Apple_HFS                              /Users/kateeisenhower/OpenFOAM
kates-mbp:~ kateeisenhower$ source $HOME/OpenFOAM/OpenFOAM-2.3.1/etc/bashrc
-bash: openmpi_help: command not found
Using paraview in directory /Applications/paraview.app
-bash: boost_help: command not found
Error: No available formula for scotch
kates-mbp:~ kateeisenhower$ checkMesh -help

Apps like checkMesh are running fine. But if I try the command
Code:

decomposePar
, I'm getting the following output:

Code:

kates-mbp:100mmhkverfeinert_symm kateeisenhower$ decomposePar
dyld: Library not loaded: /usr/local/lib/libscotch.dylib
  Referenced from: /Users/kateeisenhower/OpenFOAM/OpenFOAM-2.3.1/platforms/darwinIntel64ClangDPOpt/lib/libscotchDecomp.dylib
  Reason: image not found
Trace/BPT trap: 5
kates-mbp:100mmhkverfeinert_symm kateeisenhower$

Any help would be appreciated!

Best regards,

Kate

alexeym September 7, 2015 02:19

Hi,

Quote:

Originally Posted by KateEisenhower (Post 562608)
...
Code:

-bash: openmpi_help: command not found
Using paraview in directory /Applications/paraview.app
-bash: boost_help: command not found
Error: No available formula for scotch
kates-mbp:~ kateeisenhower$ checkMesh -help

...

This part looks interesting. It seems you somehow corrupted Homebrew's formula repository. Could you...

1. Describe in more details "...installing gnuplot via homebrew...".
2. Post output of "brew doctor".
3. (optional) Describe the reason for gnuplot installation (plot residuals?), maybe there is a way to do it without gnuplot.

KateEisenhower October 21, 2015 11:49

Hi Alexey,

and sorry for the late answer.

1. I tried to install it quick and dirty, that's why I can't remember the detailed steps.
2. I'll do it when I have access to this computer again.
3. Yes I am plotting residuals with gunplot (script from this forum) and use it to plot aerodynamic coefficients (custom script).

Best regards,

Kate
Quote:

Originally Posted by alexeym (Post 562692)
Hi,



This part looks interesting. It seems you somehow corrupted Homebrew's formula repository. Could you...

1. Describe in more details "...installing gnuplot via homebrew...".
2. Post output of "brew doctor".
3. (optional) Describe the reason for gnuplot installation (plot residuals?), maybe there is a way to do it without gnuplot.


alexeym October 21, 2015 13:33

Hi,

Though there could be another explanation. You have installed OpenFOAM when Scotch was in homebrew repository, now it is moved to homebrew/science repository. So before installing Scotch you have to do

Code:

$ brew tap homebrew/science
Though it is rather strange that you have all these "command not found" errors. Did you always have them?

KateEisenhower October 22, 2015 02:16

Hi,

thanks, I will try this. No, previously I didn't get this kind of error.

Kate

KateEisenhower November 1, 2015 07:01

1 Attachment(s)
Hi Alexey,

here´s the output of brew doctor (attached file). Please notice that I am going to sell this MacBook anyhow. So it doesn't matter anymore. Of course if you want me to test anything because you are interested in these kind of problems, I can do that.

Best regards,

Kate

alexeym November 1, 2015 07:16

Hi,

Well, you have "mixed" Homebrew and Macports, this coctail can lead to all sorts of strange behaviour.

Thank you for the brew doctor output and we can close this thread with conclusion "Do not install Macport and Homebrew (unless you know what you are doing) since they both install symlinks in /usr/local/{bin, include, lib, share} folders and this can lead to VERY strange results."


All times are GMT -4. The time now is 18:14.