Welcome, Guest
Username: Password: Remember me

TOPIC: Error re-compiling with additional source codes in Windows

Error re-compiling with additional source codes in Windows 6 years 3 days ago #32035

  • Karki
  • Karki's Avatar
Dear all,

I am using telemac v7p2r0 which I had successfully compiled.

Now, I have added some additional codes in the source. I tried to use Compiletelemac.py --rescan --clean but it encountered an error.

So I downloaded the same version v7p2r0 from the SVN repository. And tried to compile the new model from the beginning which includes additional source code in the source folder.


However, when trying to compile, I find the following error.

The config. file and the error are attached herewith.

The error seems to be coming from splitsel. But I am not aware of how to resolve it.

Thank you.

Regards,
Saroj
Attachments:
The administrator has disabled public write access.

Error re-compiling with additional source codes in Windows 6 years 3 days ago #32036

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi,

using --rescan --clean was indeed the way to go.
Can you post the error you add when running --rescan --clean.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Error re-compiling with additional source codes in Windows 6 years 3 days ago #32038

  • Karki
  • Karki's Avatar
Dear Yugi,

Here is the error that I receive when using --rescan --clean.

I replaced all the files in the source folder (with new source codes). Also in the configs folder, I replaced all files except systel.cfg. (provided by the developer)

Thank you.
Attachments:
The administrator has disabled public write access.

Error re-compiling with additional source codes in Windows 6 years 3 days ago #32040

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
The error means that you have a recursive loop in the calls to your added subroutine.

For example t2d calls meandre and within meandre you call t2d.
That is not possible.
It could seem to be working if you compile the file in the right order but in the end it is wrong.

You can have this issue if you use use delcarations_telemac2d in something that is a dependency of telemac2d.

I would need to have a look at your sources to be sure.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.
Moderators: borisb

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