[Nek5000-users] Error compiling new Nek5000

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Thu Dec 21 02:56:41 CST 2017


Have you tried doing "makenek realclean" and then compiling
with "makenek".

NN.


On Thursday 21 December 2017 09:42 AM, nek5000-users at lists.mcs.anl.gov 
wrote:
> Somehow gslib gets compiled with icc instead of mpicc. Can you try the following:
>
> export CC=mpicc
> export FC=mpif77
> makenek clean (clean 3rd party as well)
> makenek
>
> -----Original message-----
>> From:nek5000-users at lists.mcs.anl.gov <nek5000-users at lists.mcs.anl.gov>
>> Sent: Thursday 21st December 2017 9:14
>> To: nek5000-users <nek5000-users at lists.mcs.anl.gov>
>> Subject: Re: [Nek5000-users] Error compiling new Nek5000
>>
>> I think I am using mpif77. Heres my compiler file attached.
>>
>> Thanks,
>> Saikat
>> <br clear="all" />Saikat Mukherjee,
>> PhD Student,
>> Paul Research Group - http://www.me.vt.edu/mpaul/ <http://www.me.vt.edu/mpaul/>
>> Engineering Science and Mechanics,
>> Virginia Tech.
>>
>> On Thu, Dec 21, 2017 at 2:46 AM,  <nek5000-users at lists.mcs.anl.gov <mailto:nek5000-users at lists.mcs.anl.gov>> wrote:
>> Your compiler does not find the include file mpi.h
>> Have you tried to use the MPI wrappers like mpif77/mpicc instead of ifort/icc.
>>
>> -----Original message-----
>>> From:nek5000-users at lists.mcs.anl.gov <mailto:From%3Anek5000-users at lists.mcs.anl.gov> <nek5000-users at lists.mcs.anl.gov <mailto:nek5000-users at lists.mcs.anl.gov>>
>>> Sent: Thursday 21st December 2017 8:27
>>> To: nek5000-users <nek5000-users at lists.mcs.anl.gov <mailto:nek5000-users at lists.mcs.anl.gov>>
>>> Subject: [Nek5000-users] Error compiling new Nek5000
>>>
>>> Hello all,
>>>
>>> I am having errors compiling the new Nek5000. I am trying to run nekton in a unix cluster. I get the following error, the log file being attached -
>>>
>>> src/comm.h(65): catastrophic error: cannot open source file "mpi.h"
>>>    #include <mpi.h>
>>>
>>> Thanks,
>>>
>>> Saikat
>>>
>>> Saikat Mukherjee,
>>> PhD Student,
>>> Paul Research Group - http://www.me.vt.edu/mpaul/ <http://www.me.vt.edu/mpaul/> <http://www.me.vt.edu/mpaul/ <http://www.me.vt.edu/mpaul/>>
>>> Engineering Science and Mechanics,
>>> Virginia Tech.
>>> _______________________________________________
>>> 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 <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 <https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users>
>>
>> _______________________________________________
>> Nek5000-users mailing list
>> 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
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>



More information about the Nek5000-users mailing list