[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:24:10 CST 2015


Hi Kamal,

Thank you very much for the suggestion. As I am a Linux user at very basic level, could you please tell a little bit more details on reinstalling open-mpi? Are u suggesting me reinstall the same version as installed in ubundu, or any other version? If it should be a certain version, I will download and install in.

To tell the truth, I installed a package f2c that can translate fortran77 to c language, but it does not help here. Do you think do u have to install fortran77 in Ubuntu? It is said installing f77 will cause more errors in the latest version of Ubuntu.

Thanks for your reply again.

Sincerely,
Simon

On 14 Jan, 2015, at 5:08 pm, "nek5000-users at lists.mcs.anl.gov<mailto:nek5000-users at lists.mcs.anl.gov>" <nek5000-users at lists.mcs.anl.gov<mailto:nek5000-users at lists.mcs.anl.gov>> wrote:

  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<mailto: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<mailto:Nek5000-users at lists.mcs.anl.gov>
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users


_______________________________________________
Nek5000-users mailing list
Nek5000-users at lists.mcs.anl.gov<mailto: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/c87bc166/attachment.html>


More information about the Nek5000-users mailing list