<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Simon, <br>
<br>
1) Download the Open-Mpi file from here :
<a class="moz-txt-link-abbreviated" href="http://www.open-mpi.org/software/ompi/v1.8/downloads/openmpi-1.8.4.tar.gz">www.open-mpi.org/software/ompi/v1.8/downloads/openmpi-1.8.4.tar.gz</a>,
unpack it <br>
2) Create a folder ' sudo mkdir /usr/local/openmpi '<br>
3) Go to the unpacked openmpi-1.8.4 folder and do ./configure
--prefix = /usr/local/openmpi <br>
4) Then just type ' make ' <br>
5) Then ' make check install ' <br>
<br>
This will install open-mpi in the folder /usr/local/openmpi, now
your mpi files will be in this folder. <br>
<br>
6) Open makenek and change ' F77 = /use/local/openmpi/mpif77 '
and ' CC = /usr/local/openmpi/mpicc ' or you can the path to
./bashrc file if you don't want to do this step. <br>
<br>
I hope this should work for you. <br>
<br>
<br>
Best Regards, <br>
Kamal <br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 14/01/2015 10:24,
<a class="moz-txt-link-abbreviated" href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.gov</a> wrote:<br>
</div>
<blockquote
cite="mid:mailman.13419.1421227459.3424.nek5000-users@lists.mcs.anl.gov"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div>Hi Kamal,</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Thanks for your reply again.</div>
<div><br>
</div>
<div>Sincerely,</div>
<div>Simon</div>
<div><br>
On 14 Jan, 2015, at 5:08 pm, "<a moz-do-not-send="true"
href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.gov</a>"
<<a moz-do-not-send="true"
href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.gov</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div> Hi Simon, <br>
<br>
I would suggest you to reinstall OPEN-MPI in ubuntu and use
mpif77 compiler. <br>
<br>
Best, <br>
Kamal <br>
<br>
PS: Install Open Mpi in a separate folder and the add the
path in ./bashsrc or to the makenek directly
<br>
<br>
<br>
<div class="moz-cite-prefix">On 14/01/2015 09:30, <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:nek5000-users@lists.mcs.anl.gov">
nek5000-users@lists.mcs.anl.gov</a> wrote:<br>
</div>
<blockquote
cite="mid:mailman.13413.1421224223.3424.nek5000-users@lists.mcs.anl.gov"
type="cite">
Hi there,<br>
<br>
I am compiling the eddy example in my ubuntu OS, but the
system returns error with "<b>Error: Can't open included
file 'mpif.h'</b>". The fortran compiler in makenek file
was changed to gfortran since mpif77 gives error:
<br>
<b>--------------------------------------------------------------------------</b><b><br>
</b><b>Unfortunately, this installation of Open MPI was not
compiled with</b><b><br>
</b><b>Fortran 77 support. As such, the mpif77 compiler is
non-functional.</b><b><br>
</b><b>--------------------------------------------------------------------------</b><b><br>
</b><b>FATAL ERROR: Basic compiler test for mpif77 failed!</b><br>
<br>
Is there anyone experience the same problem when compiling
in ubuntu? You assistance will be greatly appreciated.
<br>
<br>
Sincerely,<br>
Simon<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Nek5000-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Nek5000-users@lists.mcs.anl.gov">Nek5000-users@lists.mcs.anl.gov</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>Nek5000-users mailing list</span><br>
<span><a moz-do-not-send="true"
href="mailto:Nek5000-users@lists.mcs.anl.gov">Nek5000-users@lists.mcs.anl.gov</a></span><br>
<span><a moz-do-not-send="true"
href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a></span><br>
</div>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Nek5000-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nek5000-users@lists.mcs.anl.gov">Nek5000-users@lists.mcs.anl.gov</a>
<a class="moz-txt-link-freetext" href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a>
</pre>
</blockquote>
<br>
</body>
</html>