|
[Sponsors] |
July 26, 2013, 06:33 |
mpif90 breaks after compiling OpenFOAM
|
#1 |
Member
Join Date: Nov 2012
Posts: 58
Rep Power: 14 |
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. -------------------------------------------------------------------------- Also, I assume I need to recompile... right? |
|
September 30, 2013, 04:11 |
|
#2 |
Member
Join Date: Nov 2012
Posts: 58
Rep Power: 14 |
Bump. Could anyone please help me in that?
|
|
October 1, 2013, 09:06 |
|
#3 |
Member
Eysteinn Helgason
Join Date: Sep 2009
Location: Gothenburg, Sweden
Posts: 53
Rep Power: 17 |
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 |
|
|
|
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 |