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

mpif90 breaks after compiling OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By eysteinn

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 26, 2013, 06:33
Default mpif90 breaks after compiling OpenFOAM
  #1
Member
 
Join Date: Nov 2012
Posts: 58
Rep Power: 14
startingWithCFD is on a distinguished road
Since I use the default settings for compiling OpenFOAM from source, I am unable to use mpif90. In particular, I get the following message when I try to compile any parallel fortran code:

Code:
--------------------------------------------------------------------------
Unfortunately, this installation of Open MPI was not compiled with
Fortran 90 support.  As such, the mpif90 compiler is non-functional.
--------------------------------------------------------------------------
Could someone tell me the switch I should activate to make it work again?
Also, I assume I need to recompile... right?
startingWithCFD is offline   Reply With Quote

Old   September 30, 2013, 04:11
Default
  #2
Member
 
Join Date: Nov 2012
Posts: 58
Rep Power: 14
startingWithCFD is on a distinguished road
Bump. Could anyone please help me in that?
startingWithCFD is offline   Reply With Quote

Old   October 1, 2013, 09:06
Default
  #3
Member
 
Eysteinn Helgason
Join Date: Sep 2009
Location: Gothenburg, Sweden
Posts: 53
Rep Power: 17
eysteinn is on a distinguished road
Here is a user having same/similar problem:
http://www.open-mpi.org/community/li...1/06/16744.php

ompi_info should show you if the version you are running was compiled with fortran support.
According to the link ompi should compile with fortran support if it can find the fortran compiler.

If your system installed openmpi worked and you want to use the same version for
both your fortran code and openfoam you can change line 84 in
OpenFOAM-2.2/etc/bashrc from OPENMPI to SYSTEMOPENMPI,
source the bashrc and recompile. Then just hope that openfoam compiles

Hope this solves your problem but should at least lead you in the right direction.

/Eysteinn
wyldckat likes this.
eysteinn 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
kubuntu 12.04 - error during compiling OpenFoam fisch OpenFOAM Installation 5 March 21, 2013 21:17
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55
error compiling solver in OpenFOAM 1.6-ext: pimpleDymFoam tupe OpenFOAM 0 October 3, 2011 06:55
The OpenFOAM extensions project mbeaudoin OpenFOAM 16 October 9, 2007 10:33
Compiling OpenFOAM 12 in Single Precision fra76 OpenFOAM Installation 5 April 21, 2006 13:05


All times are GMT -4. The time now is 19:00.