CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.org] decomposePar: no available formula for scotch

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By alexeym

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 6, 2015, 06:25
Default decomposePar: no available formula for scotch
  #1
Senior Member
 
Join Date: Mar 2015
Posts: 250
Rep Power: 12
KateEisenhower is on a distinguished road
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
KateEisenhower is offline   Reply With Quote

Old   September 7, 2015, 03:19
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

Quote:
Originally Posted by KateEisenhower View Post
...
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 likes this.
alexeym is offline   Reply With Quote

Old   October 21, 2015, 12:49
Default
  #3
Senior Member
 
Join Date: Mar 2015
Posts: 250
Rep Power: 12
KateEisenhower is on a distinguished road
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 View Post
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.
KateEisenhower is offline   Reply With Quote

Old   October 21, 2015, 14:33
Default
  #4
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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?
alexeym is offline   Reply With Quote

Old   October 22, 2015, 03:16
Default
  #5
Senior Member
 
Join Date: Mar 2015
Posts: 250
Rep Power: 12
KateEisenhower is on a distinguished road
Hi,

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

Kate
KateEisenhower is offline   Reply With Quote

Old   November 1, 2015, 08:01
Default
  #6
Senior Member
 
Join Date: Mar 2015
Posts: 250
Rep Power: 12
KateEisenhower is on a distinguished road
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
Attached Files
File Type: txt brew_doctor.txt (17.6 KB, 2 views)
KateEisenhower is offline   Reply With Quote

Old   November 1, 2015, 08:16
Default
  #7
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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."
alexeym is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
decomposePar no field transfert Jeanp OpenFOAM Pre-Processing 3 June 18, 2022 13:01
decomposePar for custom solvers and boundary conditions cfdopenfoam OpenFOAM Programming & Development 4 October 31, 2015 10:05
decomposePar 4-core warning/error? Boloar OpenFOAM Bugs 23 April 8, 2014 09:57
decomposePar gives errors of_user_ OpenFOAM 1 July 4, 2011 06:27
Benetton Formula 1 CD adapco Group Marketing Siemens 13 February 7, 2002 10:33


All times are GMT -4. The time now is 06:36.