Welcome, Guest
Username: Password: Remember me

TOPIC: installation problem

installation problem 11 years 8 months ago #7745

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

I am a new PhD student and would like to use this software for my research. I have tried to install the Telemac on my computer today. So far I got Fortran95, Perl, TortoiseSVN, Metis(Cmake 2.8), Fudaa. I am working in Windows. I have tried to follow the installation procedure but I might miss something as I cannot get it running. I do not want to waste your time but a helpful advise would be very much appreciated. Thank you very much.

Kind Regards!

Violeta
The administrator has disabled public write access.

installation problem 11 years 8 months ago #7746

  • gourish
  • gourish's Avatar
Hi,

Telemac windows installation as it is work properly in windows provided you have python or perl installed on you system. I prefer python, try to install python from www.python.org/, and then edit the entries appropriately from the configuration file "systel.cfg" which is found in the telemac root config director.

However if you have to change any subroutine of the telemac source to be included in your model run then, you will have to recompile telemac, and give the compiler information in the configuration file.

If you intend to install telemac by recompiling the telemac source code in widows then you will have edit the config file systel.cfg found in the config folder of the telemac root director, to point to the compiler configuration.

For example if you compiler make is gfortran running on mingw windows enviroment, which is as in my case, the you will have to appropriately change the entries which points to the path of compiler, the installation folder etc.

If you wish to compile telemac in parallel mode the you will have to give the path of the parallel compiler.

Which fortran compiler are you using? For example whether it is gfortran, intel ifort or pgi fortran. Does the fortran compiler has mpi support?
To compiler metis you will require a "C" compiler. Moreover the metis library compiled by the "C" compiler should be compatible to the fortran compiler which you will be using. Can you provide the information as how have you tried installing telemac in windows, and also the command which you had used to run telemac.

I also had problems compiling telemac in widow for parallel since I was using gfortran compiler in mingw which did not have mpi support, so I had switched to opensuse linux, where it was quite easy to get telemac working in parallel, as configuring it was very easy.

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

installation problem 11 years 8 months ago #7768

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

thank you very much for your advice. I am going to install the Telemac through python as per your reply. I do not know much details on Fortran as I have downloaded it from our IT library but what I know that it is FTN95, Plato 3 Version 3.20. It is Salford Software. I will use Python now and see if it works for me. Thank you for your advice.

Kind Regards!

Violeta
The administrator has disabled public write access.

installation problem 11 years 8 months ago #7771

  • gourish
  • gourish's Avatar
Dear Violeta,

Currently as I have observed there is no configuration section in any sample config file in the config folder of TELEMAC source code, with settings for FTN95 compiler.

But you can still edit the systel.cis-windows.cfg file, and add an entry to support FTN95 compiler.

In the configuration section add for example
######
[Configurations]
configs: wing95s wintels wintelmpi wingfortrans winftn95
######

and open a section

[winftn95]
#
.
.
#

where you will have to provide the installation path, compiler option etc.
relating to the compiler options, please check the FTN95 compiler manual.

refer to the following installation help page which will be very helpful to understand the configurations.
www.opentelemac.org/index.php/installati...rocedure-with-python

FTN95 compiler also seems to have mpi support as mentioned in the site
mpi.deino.net/manual_compilers.htm#_Toc234616414

However first try to compile TELEMAC in serial without MPI.

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

installation problem 11 years 8 months ago #7779

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

thank you very much for your explanations. I think I did all configurations, but when one does it first time how can he be sure:). Now I need to the python compile and I am getting Syntax error. I am checking Python Manuals to see if I find an answer there. Also I have a question: when I looked at my folder v6p2 yesterday then each file was marker with green tick, when I interfered with one it turned into red. So I downloaded the new file today, it does not have green or red ticks yet but I think it takes overnight job to update. Could you please explain what green tick means. Thank you very much. Your help is much appreciated.

Kind Regards!

Violeta
The administrator has disabled public write access.

installation problem 11 years 8 months ago #7785

  • gourish
  • gourish's Avatar
Hi Violeta,

Which version of python are you using ?
Is is python 3.3.0 or python 2.7.3. Telemac works with python version 2.7.3, so make it sure that you have installed python 2.7.3.
You may check it by giving the command "python -V"

The green and red tick marked observed on the file is because of the attribute of the file relating to SVN system. SVN is the revision control system used of the TELEMAC system code. You may read more about revision control on en.wikipedia.org/wiki/Revision_control. Probably you must have installed Tortise svn software, which must have been used to download TELEMAC source code. The green tick indicates that the file is the last committed file in the repository, with latest changes, if you make any change in the file then show a red tick indicating that the changes are not committed to the repository.

Unless you are going to make concrete changes to the source code and if you want to track the changes, then there is no need to worry about revision control.

TELMAC source system also has an advantage that in case if you want to change any subroutine in the TELEMAC source code as per you model run, then you may take the subroutine in separate fortran file, and submit it along with run case, where it will get compiled and creates an executable file.
Please refer to the telemac user manual www.opentelemac.org/downloads/MANUALS/TE...user_manual_v6p0.pdf section 3.2.4 for more information.

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

installation problem 11 years 8 months ago #7800

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

thank you very much for your advice and links. I use python 2.7.3. I have to work on how to compile the Telemac on DOS windows, it still gives me the syntax error message. When I type " $>,\> compileTELEMAC.py" I get a syntax error. I looked at any hints on same error on google but could not find any answers directly related to my problem. thank you.

Kind Regards!

Violeta
The administrator has disabled public write access.

installation problem 11 years 8 months ago #7804

  • Termind
  • Termind's Avatar
Try typing
python compileTELEMAC.py

The $.\> was a mystery to me. Maybe it's relevant to LINUX but it's invalid for MS Windows.
The administrator has disabled public write access.

installation problem 11 years 8 months ago #7805

  • gourish
  • gourish's Avatar
Hi,

Have you given the command "python compileTELEMAC.py"
as indicated by the installation guide at
www.opentelemac.org/index.php/documentat...rocedure-with-python

The example command as per the guide is
python compileTELEMAC.py -c wintelscal -f c:\opentelemac\v6p2\config\systel-hrw.cfg

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

installation problem 11 years 8 months ago #7806

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

thank you for your reply. I did it too, but still get an invalid syntax error. I tiped "python compileTELEMAC.py-c winftn95 -f c:\opentlemac\v6p2zconfig\systel.cfg" . I copied the file systel.cis-windows earlier and made addition to it winftn95 in configuration line and section as [winftn95]. I also have SYSTELCFG set up in environmental variables. Sorry, but I am not an IT expert and learning as I go. I probably missed something but I think I followed the installation procedure fine, I also was asking people around me and they think it is ok. Thank you very much for your help and time.

Kind Regards!

Violeta
The administrator has disabled public write access.
Moderators: borisb

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