[Nek5000-users] Getting an error when compiling makenek

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Fri Jul 13 10:55:56 CDT 2018


I think it also works with newer gcc (>4.x) versions.

On 13 Jul 2018, at 17:10, "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:



What version of gfortran is this?




The problem seems to be solved when I am using intel compilers, i.e., setting icc and ifort in maketools.



Thanks.




With best regards,
Ambrish
--------------------------------
From: Pandey Ambrish TU Ilmenau
Sent: Wednesday, July 11, 2018 4:39:40 PM
To: nek5000-users at lists.mcs.anl.gov <mailto:nek5000-users at lists.mcs.anl.gov> 
Subject: Getting an error when compiling makenek
 Dear Nek Users, 



I am trying to compile new Nek5000 on SuperMUC but getting an error when compiling makenek. A few initial lines of the error are:




gfortran: unrecognized option '-cpp'
Warning: genmap.f:57: Illegal preprocessor directive
Warning: genmap.f:190: Illegal preprocessor directive
Warning: genmap.f:356: Illegal preprocessor directive
Warning: genmap.f:1349: Illegal preprocessor directive
Warning: genmap.f:1491: Illegal preprocessor directive
Warning: genmap.f:1648: Illegal preprocessor directive
Warning: genmap.f:1949: Illegal preprocessor directive
Warning: genmap.f:3064: Illegal preprocessor directive
Warning: genmap.f:3101: Illegal preprocessor directive
Warning: genmap.f:3158: Illegal preprocessor directive
Warning: genmap.f:3921: Illegal preprocessor directive

I am attaching the detailed error output with this mail. Could you please suggest a solution to this problem?


I want to use both the svn and new version of the code. 



Thanks.




With best regards,
Ambrish

------------------------------------------------------
Ambrish Pandey
Post Doctoral Researcher
Institut für Thermo- und Fluiddynamik
Technische Universität Ilmenau
Ilmenau 98693
Germany
Phone: +49 3677 69-2424
Emails: ambrish.pandey at tu-ilmenau.de <mailto:ambrish.pandey at tu-ilmenau.de> 
ambrishiitk at gmail.com <mailto:ambrishiitk at gmail.com> 
------------------------------------------------------

_______________________________________________

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/20180713/3a60e15a/attachment.html>


More information about the Nek5000-users mailing list