Welcome, Guest
Username: Password: Remember me

TOPIC: installation problem

installation problem 11 years 8 months ago #7878

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

thank you very much for your very helpful advice. My classmate is trying to help me now with installation too (he has better IT knowledge then me:) ), I will forward him your instructions as if he follows my steps then he will have same problems as me. Fingers crossed it will work. Thank you for links all your time. I will be in touch. Thanks again.

Kind Regards!

Violeta
The administrator has disabled public write access.

installation problem 11 years 7 months ago #8275

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

I am back with my installation problem again:). Sorry I was away and did not have much time to work on it, but for last two days I think I made some progress. The compileTELEMAC.py command started to work but gave me some message at the end. I have attached the error message. I think that Intel Fortran Compiler is missing on my pc. I am trying to find any free on internet but only found free 30 days trail. However I installed it but it does not work. Is there is another way to avoid ifort.exe and use something else? thanks for your patience.

Kind Regards!

Violet
Attachments:
The administrator has disabled public write access.

installation problem 11 years 7 months ago #8276

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

You can try gfortran -- it is free for download and many posts on this forum explain how to do it with that compiler.

Hope this helps.
Sebastien.
The administrator has disabled public write access.

installation problem 11 years 7 months ago #8277

  • Termind
  • Termind's Avatar
Once you've installed gfortran as Gourish and Sebastien recommend, you can use the attached file as the configuration file to use with compileTELEMAC.py

You will need to change the directory in the root: line to match the directory which holds the TELEMAC source.

Martin
Attachments:
The administrator has disabled public write access.

installation problem 11 years 7 months ago #8278

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hi,

I am myself lokking for a free intel alternative so that I can use around any computer. The best solution that seems to be prefered among the users of the forum is gfortran. There are many binaries available in the internet. I am using the 64bit version of MinGW. Here is the direct link (runs on 64bit machine and creates 64bit binaries):Installation information (very simple):Regards,
Costas
The administrator has disabled public write access.

installation problem 11 years 7 months ago #8279

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

thank you very much for your quick response. I have already installed MinGW on my pc but it did not compile, unless I entered environment variables wrong. I have: C:\MinGW\bin (that is its directory). If i type gfortran on DOS then nothing happens, I am getting error: no input file. I am using Windows 7, is gfortran for Windows or Linux? I can switch to Linux on my pc as well. Maybe it is easier and free to install Telemac on Linux? Thanks for your help.

Kind Regards!

Violet
The administrator has disabled public write access.

installation problem 11 years 7 months ago #8280

  • Termind
  • Termind's Avatar
No need to switch from Windows.

It sounds as though gfortran has been installed correctly. That is the message you get when you type gfortan without any parameters.

When compileTELEMAC.py is run it will be supplying the necessary parameters based on the settings in the configuration file.

Martin
The administrator has disabled public write access.

installation problem 11 years 7 months ago #8281

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

thanks for your advice. You are right, as when I typed gfortran -v, I got all program details. I will check tomorrow in my office pc if I get same message. However, when I type compileTELEMAC.py I get a new error "getConfigParser". I have read on internet that our version should fix it automatically as it is something to do with recent change from Upper case letters to lower, but it is said that Lib2to3 in Python fixes it without manual adjustment to the name. I will check on my work pc tomorrow if I get same error as it could be just my home laptop as it is Window 8 but in work I have Window 7. Thank you very much for your help and thank you for config attachment with wingfor codes as I was looking for them everywhere.

Kind Regards!

Violet
The administrator has disabled public write access.

installation problem 11 years 7 months ago #8295

  • gourish
  • gourish's Avatar
Hi Violeta,
Sorry for my late reply.

I think you are using python version 3. Currently the python scripts written for telemac2d are compatible with python version 2. I have compiled telemac with mingw using python version 2.7, which works properly. The config file is the similar to the one given by Martin.

In case if you are using python version 3, then as you mentioned you will have to use the python tool 2to3 to translate all the python scripts to in the pytel folder to python 3 format, refer to docs.python.org/2/library/2to3.html, however I have not tried it till yet.

One more point which I want to mention is that if you want to run TELEMAC in parallel then you will require the mpi libraries from www.open-mpi.org/ or www.mpich.org/, however these libraries can be compiled on window using cygwin and not mingw. Also if you plan later to run your simulations in parallel then the python executable should also be the one coming along with cygwin.

May be if someone has compiled successfully mpi library using mingw then you can use mingw.

Currently you may go ahead compiling TELEMAC in serial mode using mingw and gfortran.

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

installation problem 11 years 7 months ago #8297

  • 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 ingnores 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.
Moderators: borisb

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