Welcome, Guest
Username: Password: Remember me

TOPIC: installation problem

installation problem 11 years 7 months ago #8298

  • 716469
  • 716469's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 303
  • Thank you received: 6
Hi Gourish,

I am glad to hear from you. I hope you are doing well.
I have mingw and gfortran on my computer already. Gfortran is recognized on DOS, but when I type MinGW it is not. So I wonder if I did not do environment variables correctly. I have C:\MinGW\bin
but I also have mpi. Shall I delete the mpi from configuration files as it tells me that I ifort.exe is not recognized but ignores gfortran.
I have another quick question. Do you think it is easier to install TELEMAC on Linux as I have Linux on my pc and my second supervisor advised to try in Linux. Thanks.

violet
The administrator has disabled public write access.

installation problem 11 years 7 months ago #8299

  • 716469
  • 716469's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 303
  • Thank you received: 6
Hi Gourish,

sorry I just realized that I probably do not have to test the MinGW in Dos as gfortran is showing up there. But for some reasons it does not want to pick gfortran when I try to compile Telemac but directs to ifort that is missing on my pc. So my problem is how to direct it to gfortran. Shall I do more changes to configuration file? thanks.

violet
The administrator has disabled public write access.

installation problem 11 years 7 months ago #8300

  • gourish
  • gourish's Avatar
Hi Violeta,

Try using the following command to compile TELEMAC,
python compileTELEMAC.py -c wingfor -f systel.wingfort.cfg

"wingfor" is the configuration selected to compile TELEMAC, which you can notice in the configuration file systel.wingfort.cfg, which was provided by Martin.

you may try "python compileTELEMAC.py -help" to get more help on the compileTELEMAC.py program

By default I think compileTELEMAC.py is selecting ifort compiler. If mpi is installed on you system, then probably I think that you may have installed intel ifort or intel c compiler. There is no need to delete the already existing mpi library, as far as it is does not interfere with your TELEMAC installation.

If want to use mpi, then you will have to select the respective compiler compatible with the mpi existing on you system.

As for me it is easier to install on linux, and I do prefer it.
I use opensuse version 12.3, 64 bit,linux, for which there is already a configuration file existing in the config folder. Mpi library is also available in pre-installed in linux if you select it during installation time. If mpi is not installed, then it is quite easy to get it installed or compiled on a linux system.

With Best Regards,
Gourish
The administrator has disabled public write access.

installation problem 11 years 7 months ago #8301

  • 716469
  • 716469's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 303
  • Thank you received: 6
Gourish/Martin,

It has started to compile!!! :) It is doing it for last 10 min. My problem was that I added details as per Martin's attachment to the existing configuration file instead of creating a new. So I saved it separately and it was going fine but at the end gave me another error:

gfortran: fatal error: -fuse-linker-plugin, but liblto_plugin-0.dll not found
compilation terminated.
... The following command failed for the reason above

I also attached file from DOS. Thanks. I will try to do it in Linux as well.

Violet
Attachments:
The administrator has disabled public write access.

installation problem 11 years 7 months ago #8313

  • 716469
  • 716469's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 303
  • Thank you received: 6
HI Guys,

just a quick question, when you added python to the environmental variables, did you have to add Python\Lib as well? I added only -
C:\Python27;C:\Python27\Tools\Scripts
when I type compileTELEMAC.py it is starting doing it, but gives me error at the end.
But when I type - python compileTELEMAC.py it tells me python can not open compileTELEMAC. I am trying to find mistake I made with installation. thanks.

Kind Regards!

Violet
The administrator has disabled public write access.

installation problem 11 years 7 months ago #8323

  • gourish
  • gourish's Avatar
Hi,

I think you are getting the error because may be the compiler is not installed properly. Search for the file liblto_plugin-0.dll in the mingw installation folder. If you are not able to find it, then you may try downloading the complete compiler file from

http://http://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/gcc-4.7.2-1/gcc-core-4.7.2-1-mingw32-bin.tar.lzma/download
to uncompress the file you may use 7zip from www.7-zip.org

Copy the contents of this compressed file after uncompressing in mingw folder (you may consider to take a backup of the mingw folder prior to overwriting the mingw folder, if in case something may go wrong)

Rerun the telemac compiling process.
Hope this helps.

With Best Regards,
Gourish
The administrator has disabled public write access.

installation problem 11 years 7 months ago #8325

  • 716469
  • 716469's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 303
  • Thank you received: 6
HI Gourish,

thanks for your reply. I think I manage to compile it. I tried last night on my home pc and it took more then 3 hours! Is it right? So I uninstalled python and MinGW from office pc and installed it again and it is working right now, nearly 40 min. Probably will take as long as last night. Would DOS give you any message that compilation is completed as I did not get it last night. The last sentence on DOS was "My work is done" :).
If everything is correct and I managed to compile it then is there anything else to do in terms of installation?
thanks

violet
The administrator has disabled public write access.

installation problem 11 years 7 months ago #8336

  • gourish
  • gourish's Avatar
Hi Violeta,

Yes telemac compilation does takes a lot of time, however depends on speed and the type processor which is on the system. For my system it took almost 6 hours, which runs on core 2 duo, 2.3 GHz processor, windows mingw. However on my friends computer it took just about 45 minutes which runs on i7 processor, 3.3 GHz linux.

You may now try running some validation cases, to understand the running of telemac modeling system.

With Best Regards,
Gourish
The administrator has disabled public write access.

installation problem 11 years 7 months ago #8337

  • 716469
  • 716469's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 303
  • Thank you received: 6
Great thank you very much Gourish for your confirmation.

I have tried to do the next step - to run the cas file but I could not find any examples of it. Also in Validation section there are some downloads but in French language. Sorry for stupid question, it is just not obvious to me yet, but if I am going to use Telemac 3d software then all files I need to upload are cas.files ? Is Blue Kenue designed for Python as I think Fudaa is for Perl only. I have both on my pc. thanks.

violet
The administrator has disabled public write access.

installation problem 11 years 7 months ago #8338

  • gourish
  • gourish's Avatar
Dear Violeta,
You may download the validation cases from the svn repository,
link svn.opentelemac.org/svn/opentelemac/validation/

please refer to the link
www.opentelemac.org/index.php/sources-svn , on help as how to download the files.
The validation cases are also categorized version wise.

The validation manual provide information about each validation case
ref www.opentelemac.org/index.php/validation/viewcategory/29

Each validation case has a set of files, please refer to the telemac2d user manual first to understand the telemac modeling system
ref: www.opentelemac.org/index.php/manuals/fi...c2d-user-manual-v6p0

For example a particular telemac case requires a steering file, a boundary condition file, a geometry file. All this information is provided in the telemac user manual.

In the source code of telemac, each sub-module is having a lib folder where you can find the dictionary file. For example for telemac2d it is telemac2dv6p2.dico, in these file you will find the equivalent definitions of the terms used for telemac in English as well as in French.

For other non-technical translation of french to english, if you don't know french, then you can obviously use google translate tool.

BlueKenue is a software tool for pre and post processing, you may use it generated mesh file for telemac input, bathymetry interpolation etc. Similarly you may use Bluekenue to plot the telemac results.

Fudaa also is like Bluekenue except does not have a grid generation function.
Please refer to Bluekenue users manual as how to use the Bluekenue software

With Best Regards,
Gourish
The administrator has disabled public write access.
Moderators: borisb

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