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

[OpenFOAM.org] OpenFOAM 4.1 on OpenSUSE Leap 42.2

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 4, 2017, 03:24
Default OpenFOAM 4.1 on OpenSUSE Leap 42.2
  #1
Senior Member
 
Join Date: Mar 2015
Posts: 250
Rep Power: 12
KateEisenhower is on a distinguished road
Hello foamers,

I think the instructions on the openfoamwiki page (http://openfoamwiki.net/index.php/In...M-4.1/openSUSE) are not complete.

1)
Between steps 9 and 10 you should
replace
Code:
Field<scalar> processorWeights;
in /src/parallel/decompose/metisDecomp/metisDecomp.C with
Code:
Field<floatScalar> processorWeights;
according to https://bugs.openfoam.org/view.php?id=2085#bugnotes

2)
After the installation, make the environment available by typing
Code:
of41
in a new terminal. This yields
Code:
mpicc: command not found
I don't have a solution for that yet.

@bgschaid & @wyldckat:
Is it okay to add step 1 to the wiki?

@all
Does anyone know a solution for the problem described in 2)?

Best regards,

Kate
KateEisenhower is offline   Reply With Quote

Old   July 9, 2017, 07:35
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Kate,

The second error should be fixable if you run the following command first:
Code:
source /etc/profile.d/mpi-selector.sh
This was already explained in step #4, including the detail that this command will have to be executed on all terminal windows until you logout. After you log out and then back in, it should no longer be needed.

If it doesn't work, the perhaps Open-MPI is not the default MPI toolbox in your openSUSE installation?


As for the first error, I completely forgot about rechecking it when another bug report was issued: https://bugs.openfoam.org/view.php?id=2330
I did think that the bug report you indicated had already patched this issue in OpenFOAM 4, but it was sooner after reverted, hence the situation you've described.

Let me build OpenFOAM 4.1 on openSUSE 42.1 following the steps on the wiki and then I'll add the bug fix to step #6. I do suspect that I only copy-paste-adapted the instructions and didn't test the instructions myself

I'll update this post after I've finished testing.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   July 18, 2017, 01:58
Default
  #3
Senior Member
 
Join Date: Mar 2015
Posts: 250
Rep Power: 12
KateEisenhower is on a distinguished road
Hello Bruno,

you were right. Problem 1 was didn't reappear after restarting. Thanks for your help.
KateEisenhower is offline   Reply With Quote

Reply


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
OpenFOAM Training Jan-Apr 2017, Virtual, London, Houston, Berlin cfd.direct OpenFOAM Announcements from Other Sources 0 September 21, 2016 11:50
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 03:19
[OpenFOAM.org] OpenFOAM 2.4.x and OpenFOAM 3.0.x on openSUSE Leap 42.1 cbcoutinho OpenFOAM Installation 7 April 10, 2016 15:15
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04
Critical errors during OpenFoam installation in OpenSuse 11.0 amscosta OpenFOAM 5 May 1, 2009 14:06


All times are GMT -4. The time now is 10:57.