Welcome, Guest
Username: Password: Remember me

TOPIC: problem compiling and running the additional module with t2d

problem compiling and running the additional module with t2d 5 years 7 months ago #33317

  • Karki
  • Karki's Avatar
Dear all,

I compiled the telemac v7p3r0 with additional source codes for a separate module which is coupled with telemac2d. The compilation is completed. However, i get some warning during the compilation which says "

ar: `u' modifier ignored since `D' is the default (see `U')
- completed: .../v7p3r1/builds/gfortran/lib/utils/special/special4stbtel.a


Such warning are received for all the modules.

After the compilation, when I try to run the t2d simulation coupled with that new module, I got the error which says, "

ITERATION 0 TIME: 0.0000 S
TOO MANY POINTS IN BANK PROFILE. WILL BE SIMPLIFIED.

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0 0x7F3140271E08
#1 0x7F3140270F90
#2 0x7F313F9A24AF
#3 0x5E886D in __meandre_def_MOD_crd_eq_xyz
#4 0x60994C in simplify_prof_
#5 0x602B1E in addp_to_prof_
#6 0x5F3F27 in init_bnk_profs_
#7 0x5CFB7F in init_meandre_
#8 0x480980 in telemac2d_init_
#9 0x41BEB9 in telemac2d_
#10 0x405079 in MAIN__ at homere_telemac2d.F:?
Segmentation fault (core dumped)
_____________
runcode::main:
:
|runCode: Fail to run
|/home/ujiwawa/v7p3r1/scripts/python27/steer_t2d1.cas_2019-03-26-23h43min34s/out_noerod
|~~~~~~~~~~~~~~~~~~
|Segmentation fault (core dumped)

When I don't couple that additional module, the simulation runs fine. So this couldn't be the problem of mesh.

The config file as well as the error snapshots are attached.

Any suggestions on how to get rid of this error?

Thank you

Sincerely
Saroj
Attachments:
The administrator has disabled public write access.

problem compiling and running the additional module with t2d 5 years 7 months ago #33318

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
for the config file, I'm not sure about the two INCS_ALL lines. Maybe you should merge them
Nevertheless, according to the error message, I think the problem is located in your sources.
Looks like the segmentation faults occur in meandre...
Maybe you should try to run it in debug mode to see which index in which array generate this problem

For us, without your sources, it will be difficult to say more

Regards
Christophe
The administrator has disabled public write access.

problem compiling and running the additional module with t2d 5 years 7 months ago #33319

  • Karki
  • Karki's Avatar
Dear Christophe,

I have no idea on how to run in a debug mode. Is it possible to run in a debug mode even if i compiled only in scalar mode?

This source code (meandre) is a collaboration between EDF and USDA, which I received from EDF team.

If it is ok to share with you, I can. But my main problem is the time limit. I have a deadline to meet based on the simulation results of this module within next two weeks.

Thank you.
The administrator has disabled public write access.

problem compiling and running the additional module with t2d 5 years 7 months ago #33320

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
It could be more logical if it will be EDF which helps you...
look into the all config file to find a debug config and add one to your config. It's mainly just a compiler option.
Then once the debug version compiled, you could run it in the same way.

But when it crash, you will have more informations and also you will have the possibility to launch again the program inside the temporary directory with tools like GDB and execute the code line by line...

Regards
Christophe
The administrator has disabled public write access.
Moderators: borisb

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.