Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Configuring the system

Configuring the system 13 years 3 months ago #2136

  • pauline.weywada
  • pauline.weywada's Avatar
Hi,

I'm using the Windows version of Telemac, and I'm having issues with understanding the 'configuring the system' section in the 'Installing TELEMAC v6p0' document.

From what I've understood on previous similar topics, I typed PATH=%PATH%;c:\telemac_v6p0\bin in the cmd shell; but what about the next steps? Is there an equivalent variable to systelcfg to create/export in Windows? And what about the command for the parallelism?

I hope my problem is explained clearly enough
Thanks
The administrator has disabled public write access.

Re: Configuring the system 13 years 3 months ago #2164

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Hi,

Well, you have to update/export two environment variables :
- PATH : indicate the "bin" location ;
- SYSTELCFG : indicate the repository where your systel.ini is located (and up to date)

Exporting directly in a shell is not a really good solution, variables are only valid for the current CMD session.

So, for definitely exporting these variables, you should also have a look here :
- en.wikipedia.org/wiki/Environment_variable
- Windows only : support.microsoft.com/kb/310519
- Other post : www.opentelemac.org/index.php?option=com...10&Itemid=62&lang=fr

And, you can verify by typing cfgmak in a new CMD session. If this command is recognized, then PATH is ok. If cfgmak.mak is updated, then SYSTELCFG is ok and you will be able to compile the whole system with the makeall90 command.

PS : If it didn't help you, I also suggest you to try the install_systel.bat configuration script.
The administrator has disabled public write access.

Re: Configuring the system 13 years 3 months ago #2166

  • pauline.weywada
  • pauline.weywada's Avatar
Hi,
Thanks for your reply

I updated/exported the two environment variables following the instructions in support.microsoft.com/kb/310519.
Then I configured my systel.ini file: I use Windows 7 and Intel Visual Fortran 11 Compiler, and I don't need to run Artemis in parallel.
I ran the command cfgmak (perl -w -x -S cfgmak.pl300610), and I now have a cfgmak file in the \config folder.

The next step seems then to be compiling the whole TELEMAC system.
- In note 1 it is said that for compiling the library parallel, Metis has to be compiled before. But what if parallelism is not requested? (I didn't update the PATH variable to the MPI library)
- In note 2 about the makefile.wnt files, do I have to run them in every subfolder? Or can I go directly to compiling all the system, with makeall90 ?
- How do I run the makeall90 command? When I type perl -w -x -S makeall90.pl, it says that it can't find makefile90.pl on PATH!

And finally, what is the install_systel.bat configuration script?

Thanks a lot

NB: enclosed my systel.ini file
Attachments:
The administrator has disabled public write access.

Re: Configuring the system 13 years 3 months ago #2167

  • pauline.weywada
  • pauline.weywada's Avatar
With the systel.ini attached!
Attachments:
The administrator has disabled public write access.

Re: Configuring the system 13 years 3 months ago #2168

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

If you don't want to use parallelism, it's not necessary to compile metis.
To compile all the system you just have to run makeall90. This is a .bat file so you could directly execute it.
The install_systel.bat file was a small program made for automaticaly configure the systel.ini file on windows computer on the previous version of Telemac. It seems it was no longer deliver with Telemac.

Regards
Christophe
The administrator has disabled public write access.

Re: Configuring the system 13 years 3 months ago #2169

  • pauline.weywada
  • pauline.weywada's Avatar
Hi,

Thanks for this quick reply, this is really helpful.

I don't have any batch file named makeall90, the only batch file I have is maktel.
Moreover my perl and batch files in the bin folder have strange extension (*.pl300610 or *.bat300610).

I modified the extension of these files and ran the new batch file maktel.bat, but then it says that 'nmake is not recognized as an internal or external command, operable program or batch file'.

Moreover, in this batch file, the nmake refers to makefile.wnt, file that I don't have in the bin folder, nor in the config folder, but do in every other folders (namely artemis, bief, damocles, mumpsvoid, parallel, paravoid, sisyphe, special, telemac2d and tomawac).

So my questions are:
- Why don't I have a makefile90.bat in my telemac folder or any of its subfolders?
- What mean these '300610' extensions?
- And what do I have to do to run maktel.bat (if it is indeed the equivalent to makefile90.bat)?

Thanks a lot,
pauline.
The administrator has disabled public write access.

Re: Configuring the system 13 years 3 months ago #2171

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Well, these files are old and should'nt be used.

You should have at least the following files in your "bin" directory :
- runtel.pl & runcode.pl (not the ones you renamed)
- makeall90.bat
- maktel.bat
If not, I will suggest you to download the latest stable release of TELEMAC (e.g. V6P1 in the download section).

As far as I know, nmake is distributed with Visual Studio (and then INTEL compiler). So, if the nmake command is not recognized, please check your INTEL configuration/installation. Or switch to g95 or gfortran (have a look in maktel.bat then)

For compiling TELEMAC, you only need to run "makeall90". It will run maktel.bat in each directory.

Best regards,

Fabien
The administrator has disabled public write access.

Re: Configuring the system 13 years 3 months ago #2173

  • pauline.weywada
  • pauline.weywada's Avatar
Indeed I don't have makeall90.bat
Instead I have:
- cfgmak.pl300610
- maktel.bat300610
- runcode.pl_cluster
- runcode.pl300610
- runtel.pl_cluster
- runtel.pl300610
- telemac2d.ux
- tm_casdico.pm
- and tm_info.pm


So I might as well download the latest release as you said, but it seems I cannot connect to svn.opentelemac.org/svn/opentelemac/ with the username and password given on your website (ot-svn-public and telemac1*).

I have this HTTP 403 Forbidden error (means that Internet Explorer was able to connect to the website, but it does not have permission to view the webpage). Would you happen to know why?

Thanks,
pauline.
The administrator has disabled public write access.

Re: Configuring the system 13 years 3 months ago #2174

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Well, you really should switch to the latest release, a lot of script files are missing.

A zip file is also available here : www.opentelemac.org/index.php?option=com...28&Itemid=58&lang=fr

Or, I think that you may also try to checkout TELEMAC from here (same login/password) : svn.opentelemac.org/svn/opentelemac/tags/v6p1

Test cases are also available in the download section (spot validation in the green menu).

Best regards
The administrator has disabled public write access.

Re: Configuring the system 13 years 3 months ago #2175

  • pauline.weywada
  • pauline.weywada's Avatar
OK thanks a lot I'll try the latest release and keep you updated!

BTW from svn.opentelemac.org/svn/opentelemac/tags/v6p1 the username and password work for me, don't know why it didn't from its root.

Thanks a lot for your help!
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: borisb

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