[Nek5000-users] Error while compiling exo2nek

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Tue Nov 21 02:16:57 CST 2017


Please update to the latest version on GitHub and try again (just run ./maketools exo2nek)

-----Original message-----
> From:nek5000-users at lists.mcs.anl.gov <nek5000-users at lists.mcs.anl.gov>
> Sent: Tuesday 21st November 2017 2:12
> To: nek5000-users at lists.mcs.anl.gov
> Subject: [Nek5000-users] Error while compiling exo2nek
> 
> Hi all,
> 
> I keep getting an error while compiling exo2nek. 
> 
> Warning: Type mismatch in argument ‘a’ at (1); passed REAL(8) to CHARACTER(1)
> gcc -mcmodel=medium  -c -DUNDERSCORE ../../core/byte.c
> gfortran -I/home/adutta/lib/seacas/include -mcmodel=medium -c -fdefault-real-8 ../../core/speclib.f
> gfortran -I/home/adutta/lib/seacas/include -mcmodel=medium -c -fdefault-real-8 mxm.f
> gfortran -I/home/adutta/lib/seacas/include -mcmodel=medium -fdefault-real-8 -o /home/adutta/Nek5000/bin/exo2nek exo2nek.o byte.o speclib.o mxm.o  -L/home/adutta/lib/netcdf/lib -L/home/adutta/lib/seacas/lib -lnetcdf -lexodus -lexoIIv2for32
> make[1]: Leaving directory /home/adutta/Nek5000/tools/exo2nek
> 
> It comes up as a warning but exo2nek is probably not being built correctly as whenever I try to run it I get a seg fault error,
> 
> I have made all the changes as directed by the README file and installed seacas and netcdf. The maketools file has been suitably modified as well.
> 
> bin_nek_tools=`cd ../bin && pwd`
> 
> # specify your compilers here
> F77="gfortran -I$HOME/lib/seacas/include"
> CC="gcc"
> 
> # linking flags
> #USR_LFLAGS="-L$HOME/lib"
> USR_LFLAGS="-L$HOME/lib/netcdf/lib -L$HOME/lib/seacas/lib"
> 
> Has anyone else run into this issue?
> 
> Sincerely,
> 
> 
> 
> 
> -- 
> Amitvikram Dutta
> Graduate Research Assistant
> Fluid Mechanics Research Lab
> University of Waterloo
> _______________________________________________
> 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