Welcome, Guest
Username: Password: Remember me

TOPIC: first excution telemac2d after linux compilation

Re: first excution telemac2d after linux compilation 12 years 6 months ago #4535

  • Queiroz de Oliveira
  • Queiroz de Oliveira's Avatar
Dear Chi-Tuan and Philippe,

I did a mistake. I did not have pay attention at the lasts lines on the final message compilation using makeall90. On of the lasts lines a had the follow message:

/usr/bin/ld: cannotfind -lstdc++ collect: ld returned 1 exist status

I believe that is a question of library lack in Ubuntu. Then I followed some suggestion that I found in the Telemac forum. I suppressed the (-lstdc++) of the "variable" (LK_OPT_NORMAL) in the (systel.ini) file.

Now I have compilation works and the file (telemac3dv6p1.exe).

I do not know if is a problem compile without (-lstdc++) from (LK_OPT_NORMAL).

Any suggestion?

Thanks,

Gustavo.
The administrator has disabled public write access.

Re: first excution telemac2d after linux compilation 12 years 6 months ago #4536

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello,

When you first tried to compile telemac system, did you use the makeall90 command or did you compile step by step (see installation guide for v6.0)? The first way should compile all libraries, modules, scalar executables and put them in relevant directories (e.g. /home/gustavo/TELEMAC/v6p1/telemac3d/tel3d_v6p1/gfortran_linux for telemac3dv6p1.exe). You should have telemac3dv6p1.exe in both /home/gustavo/TELEMAC/v6p1/telemac3d/tel3d_v6p1/gfortran_linux and /home/gustavo/TELEMAC/v6p1/telemac3d/tel3d_v6p1/sources directories, and so on for telemac2dv6p1.exe and sisyphev6p1.exe). If not, then your first compilation of the whole telemac system may have not been correctly done.

For older versions of Telemac-3d, as it was not available in open source before, I think that someone should have compiled for you or you may have done it by yourself correctly.

Regards,

Chi-Tuan
The administrator has disabled public write access.

Re: first excution telemac2d after linux compilation 12 years 6 months ago #4537

  • Queiroz de Oliveira
  • Queiroz de Oliveira's Avatar
Hi,

Yes, I have telemac3dv6p1.exe in both /home/gustavo/TELEMAC/v6p1/telemac3d/tel3d_v6p1/gfortran_linux and /home/gustavo/TELEMAC/v6p1/telemac3d/tel3d_v6p1/sources directories.

Best,

Gustavo.
The administrator has disabled public write access.

Re: first excution telemac2d after linux compilation 12 years 6 months ago #4542

  • larroude
  • larroude's Avatar
Dear Chi-Tuan and Gustavo

I try your suggestion Gustavo and I look in the directorie as you write Chi-Tuan (is is good) but it is not working

Gustavo where in systel.ini did you delete -ltcdcc :) and do you do something after before execute again telemac ?

Best
Philippe
The administrator has disabled public write access.

Re: first excution telemac2d after linux compilation 12 years 6 months ago #4545

  • Queiroz de Oliveira
  • Queiroz de Oliveira's Avatar
Hi Philippe,

I deleted the -lstdc++ from gfortran configuration in systel.ini.

LK_OPT_NORMAL=" -fconvert=big-endian -frecord-marker=4 -v -lm -lz -lstdc++ "

Because the system do not find this library during the compilation with makeall90 and do not create the telemac3dv6p1.exe.

Before change the systle.ini I follow the Telemac protocol installation.

I made some tests and it worked. The only problem is on the end of simulation. It do not delete the temporary files.

Best,
Gustavo.
The administrator has disabled public write access.

Re: first excution telemac2d after linux compilation 12 years 6 months ago #4548

  • larroude
  • larroude's Avatar
Dear Gustavo

I probably have an other problem because it does not work even and me I have in the 2 good directorie the telemac###.exe

Thanks
Best regards
Philippe
The administrator has disabled public write access.
Moderators: borisb

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