Welcome, Guest
Username: Password: Remember me

TOPIC: Prescribed tracers values at closed wall?

Prescribed tracers values at closed wall? 10 years 4 days ago #14876

  • 716469
  • 716469's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 303
  • Thank you received: 6
Dear Jean-Michel,

I am still battling with old problem, on trying to prescribe tracers values at a near closed wall boundary points. I have coded in bord3d as per your last post on this matter. It compiles but at the end I am getting the Segmentation fault error. I have tried both: serial and parallel with same results. Please advise if there is anything else to try. I appreciate your help. Please see attached fortarn and result with error message files from Serial and Parallel run. Thank you in advance.

Kind Regards!

Violeta
The administrator has disabled public write access.

Prescribed tracers values at closed wall? 10 years 3 days ago #14883

  • jmhervouet
  • jmhervouet's Avatar
Hello Violeta,

A segmentation fault (in bord3d.f which is in you Fortran file) is due to a programming error, so we should find it. Maybe if you compile a version with full checkings and traceback of your compiler it will tell you at what line in the Fortran you have this error.

I see e.g. in your Fortran a test IF(IPLAN.GT.29.D0), it probably works but IPLAN.GT.29 would be safer.

Concentrate on serial run, as you use hardcoded boundary points it is not supposed to work in parallel like this.

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

Prescribed tracers values at closed wall? 10 years 3 days ago #14884

  • 716469
  • 716469's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 303
  • Thank you received: 6
Thank you very much Jean-Michel. I will do so. Thank you for your helpful advice, as always.

Kind Regards!

Violeta
The administrator has disabled public write access.

Prescribed tracers values at closed wall? 9 years 11 months ago #14996

  • 716469
  • 716469's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 303
  • Thank you received: 6
Dear Jean-Michel,

Segmentation Fault error.

I have been thinking and trying for few days but it turned out to be not so easy on my computer, as I thought. I could not recompile the full version of Telemac with -fcheck=all command, if that what you meant. Also I have tried to use valgrind for checking but libc6-dbg is missing on my pc and even if I uploaded this lib it is still not working.
Is there another way to check the fortran script? After running -fcheck=all with gcc I got some output, but not what I expected. Please see attached. I am still digging on how I can make the checking to work on my computer. I have tried on cluster too, but my authority is very limited there. It should not be a problem to do the -fcheck but it might be something with my gfortran compiler or I am just entering command not in right order, even if I searched all internet on this. Sorry to be a pain. Please advise. Thanks in advance.

Kind Regards!

Violeta
The administrator has disabled public write access.

Prescribed tracers values at closed wall? 9 years 11 months ago #14997

  • jmhervouet
  • jmhervouet's Avatar
Hello Violeta,

So it would be simpler if I test your case on my computer, if it is not too heavy to send.

Regards,

JMH
The administrator has disabled public write access.

Prescribed tracers values at closed wall? 9 years 11 months ago #15000

  • 716469
  • 716469's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 303
  • Thank you received: 6
Dear Jean-Michel,

Thank you very much for your help. This is the first thing I will do Monday morning. Unfortunately all my cases are saved on my computer in work. Thanks again.

Have a nice week-end!

Kind Regards!

Violeta
The administrator has disabled public write access.

Prescribed tracers values at closed wall? 9 years 11 months ago #15008

  • 716469
  • 716469's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 303
  • Thank you received: 6
Dear Jean-Michel,

Thank you very much for your reply. Here are the files I am using to run this case. Please advise what can I do to improve the case. Thank you very much, your help is much appreciated.

Kind Regards!

Violeta
Attachments:
The administrator has disabled public write access.

Prescribed tracers values at closed wall? 9 years 11 months ago #15009

  • 716469
  • 716469's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 303
  • Thank you received: 6
I have changed extension of cas file as it was not going through. Please see attached. Thank you.

Kind Regards!

Violeta
Attachments:
The administrator has disabled public write access.

Prescribed tracers values at closed wall? 9 years 11 months ago #15011

  • jmhervouet
  • jmhervouet's Avatar
Hello Violeta,

Well received, thank you. The crash is in your modified bord3d.f, line 588. You are using here an undefined ITRAC, a loop from ITRAC=1 to NTRAC would be necessary around these lines with ITRAC.

Regards,

JMH
The administrator has disabled public write access.

Prescribed tracers values at closed wall? 9 years 11 months ago #15013

  • 716469
  • 716469's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 303
  • Thank you received: 6
So quick! Thank you very much Jean-Michel. I will do so. Fingers crossed:). Thanks.

Kind Regards!

Violeta
The administrator has disabled public write access.
Moderators: pham

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