[Nek5000-users] Compilation of nek5000 in ubuntu

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Wed Jan 14 03:07:21 CST 2015


   Hi Simon,

   I would suggest you to reinstall OPEN-MPI in ubuntu and use mpif77 
compiler.

   Best,
   Kamal

  PS: Install Open Mpi in a separate folder and the add the path in 
./bashsrc or to the makenek directly


On 14/01/2015 09:30, nek5000-users at lists.mcs.anl.gov wrote:
> Hi there,
>
> I am compiling the eddy example in my ubuntu OS, but the system 
> returns error with "*Error: Can't open included file 'mpif.h'*". The 
> fortran compiler in makenek file was changed to gfortran since mpif77 
> gives error:
> *--------------------------------------------------------------------------**
> **Unfortunately, this installation of Open MPI was not compiled with**
> **Fortran 77 support.  As such, the mpif77 compiler is non-functional.**
> **--------------------------------------------------------------------------**
> **FATAL ERROR: Basic compiler test for mpif77 failed!*
>
> Is there anyone experience the same problem when compiling in ubuntu? 
> You assistance will be greatly appreciated.
>
> Sincerely,
> Simon
>
>
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20150114/add97e30/attachment.html>


More information about the Nek5000-users mailing list