[Nek5000-users] Compiling the First 2D Example in a Cray machine using the Cray compiler

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Fri May 9 07:44:55 CDT 2014


Hi Paul,

Thanks for doing so, that error is now gone and I get the next one:

C -c  -O2 -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG
-DPREFIX=jl_
/work/z01/z01/lcebaman/nek5000/nek5_svn/trunk/nek/nek_comm.c -o
obj/nek_comm.o
CC-35 crayc++: ERROR File =
/opt/cray/mpt/6.3.1/gni/mpich2-cray/81/include/mpicxx.h, Line = 12

  #error directive: "You cannot define MPI; that name is reserved for
the MPI namespace"

  #error "You cannot define MPI; that name is reserved for the MPI
namespace"


make: *** [obj/nek_comm.o] Error 1
make: *** Waiting for unfinished jobs....

On 09/05/14 12:46, nek5000-users at lists.mcs.anl.gov wrote:
> 
> Hi Luis,
> 
> Thanks for bringing this to our attention.
> 
> In fact, the change in argument list was overlooked in a couple of places
> and this was a bug.
> 
> I've just updated the repo, so if you rm ic.f and postpro.f, then svn update
> these files you should be good to go.
> 
> Best,
> 
> Paul
> 
> ________________________________________
> From: nek5000-users-bounces at lists.mcs.anl.gov [nek5000-users-bounces at lists.mcs.anl.gov] on behalf of nek5000-users at lists.mcs.anl.gov [nek5000-users at lists.mcs.anl.gov]
> Sent: Friday, May 09, 2014 3:36 AM
> To: nek5000-users at lists.mcs.anl.gov
> Subject: [Nek5000-users] Compiling the First 2D Example in a Cray machine       using the Cray compiler
> 
> Hi Neks,
> 
> I am trying to build Nek5000 for the first time and I am doing it in a
> Cray machine using the Cray compiler. So, after changing
> 
> *ftn*)        P="-r8 -Mpreprocess -fast" by  *ftn*)        P="-ra  -s
> real64 -eZ -em -rm " in makenek.inc I have tried to build this first
> example:
> 
> makenek eddy_uv
> 
> Unfortunately I am getting an error :
> 
> ftn-1295 crayftn: ERROR MFI_PREPARE, File =
> ../../../work/z01/z01/lcebaman/nek5000/nek5_svn/trunk/nek/ic.f, Line =
> 2676, Column = 13
>   "MFI_PARSE_HDR" is defined or referenced at line 2281
> (/work/z01/z01/lcebaman/nek5000/nek5_svn/trunk/nek/ic.f) and here.  The
> number of arguments do not match.  Expected 2, but found 1.
> 
> make: *** [obj/ic.o] Error 1
> make: *** Waiting for unfinished jobs...
> 
> 
> and I was wondering if someone has experience something similar in the
> past so I could get some hints of how to proceed here.
> 
> I would appreciate any ideas.
> 
> Best regards,
> 
> Luis
> 
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
> 
> _______________________________________________
> 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
> 

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



More information about the Nek5000-users mailing list