[Nek5000-users] Error while compiling exo2nek
nek5000-users at lists.mcs.anl.gov
nek5000-users at lists.mcs.anl.gov
Mon Nov 20 19:10:50 CST 2017
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20171121/7c381199/attachment.html>
More information about the Nek5000-users
mailing list