Comments (2)
Right now, the best way to get some information on what is going wrong is to recompile neper with debugging on and optimization off:
cmake -DDEVEL_DEBUGGING_FLAG=ON -DDEVEL_OPTIMIZATION=OFF ..
make
and run neper through gdb
:
gdb ./neper
(gdb) run -T -checktess name.tess
Starting program: neper/src/build/neper -T -checktess name.tess
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
======================== N e p e r =======================
Info : A software package for polycrystal generation and meshing.
Info : Version 3.5.2-18
Info : Built with: gsl|muparser|opengjk|openmp|nlopt|libscotch (full)
Warning: Built with: no optimization. NOT FOR PRODUCTION USE.
Warning: Built with: debugging compilation flag. NOT FOR PRODUCTION USE.
[New Thread 0x7ffff6110700 (LWP 13875)]
[New Thread 0x7ffff590f700 (LWP 13876)]
[New Thread 0x7ffff510e700 (LWP 13877)]
[New Thread 0x7ffff490d700 (LWP 13878)]
[New Thread 0x7ffff410c700 (LWP 13879)]
[New Thread 0x7ffff390b700 (LWP 13880)]
[New Thread 0x7ffff310a700 (LWP 13881)]
Info : Running on 8 threads.
Info : <http://neper.info>
Info : Copyright (C) 2003-2019, and GNU GPL'd, by Romain Quey.
Info : Loading initialization file `/home/rquey/.neperrc'...
Info : ---------------------------------------------------------------
Info : MODULE -T loaded with arguments:
Info : [ini file] -format tess,geo -tesrformat ascii
Info : [com line] -checktess name.tess
Info : ---------------------------------------------------------------
Info : Reading input data...
Info : Checking tessellation...
Info : [i] Parsing file `name.tess'...
Thread 1 "neper" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) where
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007ffff6355801 in __GI_abort () at abort.c:79
#2 0x0000555555786613 in neut_tess_fscanf_face (pTess=0x555555a55e10, file=0x555555a52d30)
at neper/src/neut/neut_tess/neut_tess_fscanf/neut_tess_fscanf2.c:300
#3 0x000055555572f8f6 in neut_tess_fscanf (file=0x555555a52d30, pTess=0x555555a55e10)
at neper/src/neut/neut_tess/neut_tess_fscanf/neut_tess_fscanf1.c:29
#4 0x000055555572fae1 in neut_tess_name_fscanf (name=0x555555a5d760 "name.tess", pTess=0x555555a55e10)
at neper/src/neut/neut_tess/neut_tess_fscanf/neut_tess_fscanf1.c:76
#5 0x00005555555f8390 in neper_t (fargc=5, fargv=0x555555a52510, argc=3, argv=0x7fffffffd7a0)
atneper/src/neper_t/neper_t.c:62
#6 0x00005555555d4465 in main (argc=4, argv=0x7fffffffd798)
at neper/src/neper.c:109
Looking at src/neut/neut_tess/neut_tess_fscanf/neut_tess_fscanf2.c
, you can see that there is an error while reading the faces.
Going back to name.txt
, you can see that, for the first face, you have declared 5 edges but you are providing 6 ids:
**face
38
1 [...]
5 1 2 3 4 5 6
PS. I'm curious about your tessellation and why you cannot generate it with Neper.
from neper.
Yes, as you described this debugging is working well. Thank you.
from neper.
Related Issues (20)
- CMAKE_INSTALL_PREFIX_COMPLETION completion path. HOT 1
- Problem with -transform "cut()" in multiscale tesselation HOT 1
- Missing Parenthesis Error in File - net_mtess_flatten_cell1.c:41:89: HOT 1
- initial 2d tesselation iteration segfaults with large number of cells HOT 2
- Is it possible to control the area fraction and distribution of grains ? HOT 1
- Bug when prescribing initial centroid coords HOT 3
- incorrect msh4 format generated from neper HOT 8
- missing physical tags description in the Entities section in msh4 file HOT 3
- A bug occurred when generating tessellation using coordinate files. HOT 2
- all $PhysicalNames not reflected in $Entities
- error:Cannot convert to ".inp" format.
- Quiery about the Error: - simulation.tess and simulation.msh do not match (2D).
- Query about the error "simulation.tess and simulation.msh do not match (2D)."
- Undeclared Function HOT 1
- Meshing Tests Fail (Mac M1) HOT 2
- Error slicing tessellation HOT 1
- Build failures on 32 bit systems HOT 2
- Can't read .msh file in -M module
- neper -T bug
- Mesh inclusion
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neper.