Welcome, Guest
Username: Password: Remember me

TOPIC: Infiltration

Infiltration 9 years 5 months ago #17413

  • jmhervouet
  • jmhervouet's Avatar
Hello,

This file has certainly never been compiled, you have the declaration of ALREADY and the data in the middle of executable commands... or is it that a compiler accepts this ?

Anyway another reason for memory leaks is your automatic arrays :

CN1(MESH%NPOIN) and ZF(MESH%NPOIN), these also trigger an allocation at every call and automatic arrays are not accepted in standard Fortran, the problem is that some compilers do it and don't manage it well, so again you can allocate them only once or give them a hardcoded size.

With best regards,

Jean-Michel Hervouet

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

Infiltration 9 years 5 months ago #17463

  • DanieleD90
  • DanieleD90's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 55
  • Thank you received: 3
Dear Jean-Michel,
you are right, it was not the correct file..
In the meantime, I found the error and now it works.
Thank you again.
I attach the file in case of it would be useful for other users.

Daniele



File Attachment:

File Name: prosou_2015-06-24.f
File Size: 27 KB
The administrator has disabled public write access.
Moderators: pham

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