Welcome, Guest
Username: Password: Remember me

TOPIC: Telemac2D - workspace in NetBeans

Telemac2D - workspace in NetBeans 9 years 6 months ago #16875

  • DanieleD90
  • DanieleD90's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 55
  • Thank you received: 3
Good afternoon everyone,

I used Telemac2D to simulate different scenarios of flooding in urban area with very good results (event of Genoa, October 2014, Italy). The simulation results have been compared to survey that confirmed the high quality and reliability of the Telemac2D results.
Despite that, I would like to modify some subroutines to improve the representation of the covered part of the Bisagno river. In order to do that I created a workspace in NetBeans (8.0.2 version). The first step, that consists on build the project, is done successfully. Unfortunally, when I run the project I get this error:

" At line 193 of file lecdon_telemac2d.f (unit = 2, file = '�X��')
Fortran runtime error: File 'T2DDICO' does not exist ".

I don't know how to pass the configuration files to the model. Do you know how can I tell Telemac where take the files? (I means the .cas files and the required ones).

Thank you in advance.

Daniele
The administrator has disabled public write access.

Telemac2D - workspace in NetBeans 9 years 6 months ago #16877

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Hello,

I am a fan of NetBeans and I have been contemplating running TELEMAC from NetBeans for some time. I do not know why you have this error, but if you can share the workspace and all files with me, I can have a look at what is happening with the DICO file.

Sébastien.
The administrator has disabled public write access.

Telemac2D - workspace in NetBeans 9 years 6 months ago #16879

  • DanieleD90
  • DanieleD90's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 55
  • Thank you received: 3
Thank you very much,
In the attachments you can find the Project.

Daniele
The administrator has disabled public write access.

Telemac2D - workspace in NetBeans 9 years 6 months ago #16880

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
sorry - no attachment -- can you zip it ?
The administrator has disabled public write access.

Telemac2D - workspace in NetBeans 9 years 6 months ago #16882

  • DanieleD90
  • DanieleD90's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 55
  • Thank you received: 3
sorry, it is too big to be attached.... I don't know why, it is only 2.5 Mb.
Can I send it to you by email?
The administrator has disabled public write access.

Telemac2D - workspace in NetBeans 9 years 6 months ago #16886

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Hello,

I see what you have done. You have put all *.f necessary to TELEMAC-2D compilation in one directory and compiled through a modified makefile you found in the TELEMAC-2D source code. Running the executable created this way would indeed cause a lot of problems because ...

Unfortunately, the management of the TELEMAC source code, its compilation in libraries and its launch with possible last minute changes to the subroutines is very complicated. This is the reason why we have script (in Perl or Python) to manage all this. In particular for your case, the running script creates a temporary directory in to which it copies the DICO file, the GEO file, all other input file and create a few more of its own. Having prepared all this, it then launch the executable.

So unless you re-do what the script does, the execution of the executable on its own will not work.

I hope this helpful. A true solution with NetBeans taking into account all these scripting activities therefore remain a challenge.

... or you can also switch to CODE::BLOCKS.

Sébastien.
The administrator has disabled public write access.

Telemac2D - workspace in NetBeans 9 years 6 months ago #16928

  • DanieleD90
  • DanieleD90's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 55
  • Thank you received: 3
Thank you very much again, I've really appreciated your suggestions.
Unfortunally I'm not handly with CODE::BLOCKS. Do you know if there are any existing workspace of TELEMAC2D with CODE::BLOCKS?
Because the use of TELEMAC2D with NetBeans seems quite complicated, do you suggest to program with command line by using the main files?

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

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