Thanks. I am making little progress. Now I can compile. When running on h5m mesh I get<div><br></div><div><div> read .rea file</div><div> ABORT: nelv is invalid in nekmoab_proc_map</div><div> nelv, lelv = 0 1850</div>
<div><br></div><div>But mbsize shows</div><div><br></div><div><div>$ mbsize karman.h5m </div><div>File karman.h5m:</div><div> type count total minimum average rms maximum std.dev.</div><div>------- ----- ------- ----------- ----------- ----------- ----------- -----------</div>
<div> Edge 212 5.5 0.0063678 0.026102 0.029283 0.048844 0.013273</div><div> Quad 1832 0.89 3.8386e-05 0.0004881 0.00054375 0.0011788 0.00023963</div><div>1D Side 7328 1.8e+02 0.0037915 0.024086 0.027266 0.048844 0.012777</div>
<div> Vertex 7540</div></div><div><br></div><div>praveen</div><br><div class="gmail_quote">On Wed, Nov 28, 2012 at 10:27 PM, <span dir="ltr"><<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Praven,<br>
<br>
use examples/moab/SIZE<br>
<br>
Thanks.<br>
Aleks<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Wed, 28 Nov 2012, <a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.<u></u>gov</a> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The gmsh file does have all vertices for the higher order elements.<br>
<br>
I am now trying to compile with moab. I am doing everything in serial for<br>
now. I compiled moab succesfully and can convert from gmsh to h5m.<br>
<br>
But when compiling nek with moab I get this type of errors. This is the<br>
first one.<br>
<br>
gcc -c -O2 -DMOAB -DPTRSIZE8 -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG<br>
/Users/praveen/Applications/<u></u>nek5_svn/trunk/nek/3rd_party/<u></u>imeshcutil.c -o<br>
obj/imeshcutil.o<br>
SIZE:5.21:<br>
Included at<br>
/Users/praveen/Applications/<u></u>nek5_svn/trunk/nek/3rd_party/<u></u>MOABCORE:17:<br>
Included at<br>
/Users/praveen/Applications/<u></u>nek5_svn/trunk/nek/3rd_party/<u></u>NEKMOAB:51:<br>
Included at<br>
/Users/praveen/Applications/<u></u>nek5_svn/trunk/nek/3rd_party/<u></u>moab.f:79:<br>
<br>
parameter (ldim=2)<br>
1<br>
Error: Symbol 'ldim' at (1) has no IMPLICIT type<br>
<br>
My makenek looks like this<br>
<br>
# Fortran compiler<br>
F77="gfortran"<br>
<br>
# C compiler<br>
CC="gcc"<br>
<br>
# pre-processor symbol list<br>
# (set PPLIST=? to get a list of available symbols)<br>
PPLIST="MOAB"<br>
<br>
# plug-in list<br>
PLUGIN_LIST=""<br>
<br>
<br>
# OPTIONAL SETTINGS<br>
# -----------------<br>
<br>
# enable MPI (default true)<br>
IFMPI="false"<br>
<br>
# auxilliary files to compile<br>
# NOTE: source files have to located in the same directory as makenek<br>
# a makefile_usr.inc has to be provided containing the build rules<br>
#USR="foo.o"<br>
<br>
# linking flags<br>
#USR_LFLAGS="-L/usr/lib -lfoo"<br>
<br>
<br>
# generic compiler flags<br>
#G="-g"<br>
<br>
# optimization flags<br>
#OPT_FLAGS_STD=""<br>
#OPT_FLAGS_MAG=""<br>
<br>
# enable AMG coarse grid solver (default XXT)<br>
#IFAMG="true"<br>
#IFAMG_DUMP="true"<br>
<br>
# CVODE path<br>
#CVODE_DIR=$HOME/cvode/lib<br>
<br>
# MOAB/iMESH path<br>
MOAB_DIR="/opt/moab"<br>
<br>
# For linking to MOAB, the following might be needed:<br>
# NOTE: compiler specific, use the appropriate one depending on your<br>
compiler<br>
# GNU:<br>
USR_LFLAGS="-lmpi_cxx -lstdc++"<br>
# Intel:<br>
# USR_LFLAGS="-cxxlib"<br>
# PGI:<br>
# USR_LFLAGS="-pgcpplibs"<br>
# USR_LFLAGS=" -lmpi_cxx -lstdc++"<br>
<br>
What am I doing wrong ?<br>
<br>
Thanks<br>
praveen<br>
<br>
On Wed, Nov 28, 2012 at 8:46 PM, <<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.<u></u>gov</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Try running 'mbsize' on the gmsh file, and check the number of vertices to<br>
make sure it's getting all of them. Or, run mbsize -ll, piping the output<br>
to a file, and check one of the hexes to make sure it's 27-noded. If<br>
that's the case, we're all set (modulo how to handle the BC's).<br>
<br>
- tim<br>
<br>
</blockquote>
<br>
</blockquote></div></div><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
Nek5000-users mailing list<br>
<a href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mcs.anl.<u></u>gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" target="_blank">https://lists.mcs.anl.gov/<u></u>mailman/listinfo/nek5000-users</a><br>
</div></div></blockquote></div><br></div>