Welcome, Guest
Username: Password: Remember me

TOPIC: limwac.f allocats variable twice

limwac.f allocats variable twice 6 years 5 months ago #30317

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Hello there,

Just installed TELEMAC on another machine. The TELEMAC examples worked quite fine, but when I want to run a TOMAWAC model it comes back with an error, which is follows.
|At line 158 of file /home/tvrl2/telemac/v7p2/sources/tomawac/limwac.f
   |Fortran runtime error: Attempting to allocate already allocated variable 'fb_cte'

What could be the reason for that. I tried different example files and all of them coming back with the same error.

Regards,
Clemens
The administrator has disabled public write access.

limwac.f allocats variable twice 6 years 5 months ago #30339

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 294
  • Thank you received: 112
Hello Clemens,

It seems that you're using version v7p2r0, in this version the test if allocated was not done, if you change your version (to v7p2r1 v7p2r2 v7p2r3 or even V7P3) you will not have the problem.

Regards

Thierry
The administrator has disabled public write access.

limwac.f allocats variable twice 6 years 5 months ago #30340

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Hi Thierry,

I could solve the problem this morning when using intel mpi instead of openmpi. Not sure why that makes a difference.

Thanks
-Clemens
The administrator has disabled public write access.

limwac.f allocats variable twice 6 years 5 months ago #30344

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 294
  • Thank you received: 112
If you changed the compiler too it could be explained because all compilers do not set default value identically but if you only changed the mpi library i can't explain the difference either.

Regards

T.
The administrator has disabled public write access.

limwac.f allocats variable twice 6 years 5 months ago #30347

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Ohh sorry yes I have changed the compiler as well. I used intel for the compiler and the mpi
The administrator has disabled public write access.
Moderators: tfouquet

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