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

TOPIC: problem installing Telemac when using makeall90

Re: problem installing Telemac when using makeall90 12 years 11 months ago #3245

  • pprel
  • pprel's Avatar
Well, I try the installation on three different computers. I did the same thing each time, it worked on two of them. Unfortunatelly, the most important is the third one... I'm starting give it up...
The only difference is that this computer is XP whereas the other were Seven.

I tried getproject and gethosttype and it works. It gives C:\TELEMAC\V6P1 and g95 respectively.

Attached the cfgmak file.

I didn't understand the last sentence "In case of, please indicate your Windows/Strawberry/g95/nmake version."

Windows --> XP
Strawberry -->
C:\strawberry>perl -v
This is perl 5, version 12, subversion 1 (v5.12.1) built for MSWin32-x86-multi-t
hread
Copyright 1987-2010, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

g95 -->C:\Documents and Settings\pauline.prel>g95 -v
Using built-in specs.
Target:
Configured with: ../configure --prefix=/mingw --enable-languages=c --with-ld=/mi
ngw/bin/ld --with-as=/mingw/bin/as --host=i386-pc-mingw32 --enable-threads --dis
able-nls --disable-win32-registry --enable-sjlj-exceptions --enable-libgcj --wit
hout-x
Thread model: win32
gcc version 4.1.2 (g95 0.93!) Jun 16 2010

nmake -->
C:\Documents and Settings\pauline.prel>nmake -v
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
NMAKE : fatal error U1065: invalid option 'v'
Stop.

Thank you for your halp
Attachments:
The administrator has disabled public write access.

Re: problem installing Telemac when using makeall90 12 years 11 months ago #3247

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Well, your "cfgmak" seems to be ok. And I just successfully configured TELEMAC on a Windows XP 32-Bits (?) with the online systel.ini & sources and latest Perl release.

I'm still confused by your problem, as you successfully ran both gethosttype & getproject in a cmd session but not when running makeall90...

I can only suggest :
- to run maktel install directly in each "sources" directory. Try first with 'damocles' for example (no dependency). As "maktel install" only need cfgmak.mak (instead of Perl scripts), it should work ;
- if so, I think that there's no choice but replacing "getproject" by its value in the runtel.pl script. Not very nice though...

Or :
- switch to the PYTHON environment, by filling the .cfg file (available in your config file). More information at www.opentelemac.org/components/com_jwiki...tem_on_your_computer

I hope it will somehow help you...

Regards,

Fabien
The administrator has disabled public write access.

Re: problem installing Telemac when using makeall90 12 years 11 months ago #3275

  • pprel
  • pprel's Avatar
Hi again !
I did the installation with Python. It almost worked (may have worked actually).

I did what where explained I think. The compileTELEMAC.py ran for hours. Everything seemed to worked except in the end :

-lmoldname -lmingwex -lmsvcrt
ld: cannot find crt2.o: No such file or directory
ld: cannot find -lm
ld: cannot find -lm
ld: cannot find -lws2_32
ld: cannot find -lmingw32
ld: cannot find -lmoldname
ld: cannot find -lmingwex
ld: cannot find -lmsvcrt
ld: cannot find -luser32
ld: cannot find -lkernel32
ld: cannot find -ladvapi32
ld: cannot find -lshell32
ld: cannot find -lmingw32
ld: cannot find -lmoldname
ld: cannot find -lmingwex
ld: cannot find -lmsvcrt

But when I tried to run Telemac I had thoses errors :

C:\Documents and Settings\pauline.prel>python runcode.py telemac2d -s cas-file
python: can't open file 'runcode.py': [Errno 2] No such file or directory

F:\PREL_2011\Simulations_1rangee\Simulation_canaux_H1\CS2Am2\Am23>runcode.py tel
emac2d cas23ecl


Loading Options and Configurations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

... parsing configuration file: C:\TELEMAC\V6P1\config\systelPP.cfg


Running cas23ecl with telemac2d under F:\PREL_2011\Simulations_1rangee\Simulatio
n_canaux_H1\CS2Am2\Am23
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

... reading module dictionary
F:\PREL_2011\Simulations_1rangee\Simulation_canaux_H1\CS2Am2\Am23\cas23ecl
... simulation en Francais
copying: fortranv2.f
copying: geo23
copying: cas.conlim
copying: cas23ecl
copying: telemac2dv6p1.dico

Not able to find your OBJECT command line: wing95s\telemac2dv6p1.cmdo

... you have to compile this module at least:
+> telemac2d

Furthermore, because I am really unlucky, I can't use Fudaa-Prepro so I can't try to use Telemac without command line.

What do you think ?
Thank you for your help
Pauline
The administrator has disabled public write access.

Re: problem installing Telemac when using makeall90 12 years 11 months ago #3284

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

The problem is now coming from the setup of your compiler and system -- not from TELEMAC.

let us look at the first mising library --- crt2.o: No such file or directory

This file is in fact part of the g95 install. You can find it in the ...\g95\lib\ subdirectroy.

I found that adding the following to your environment variable helped:

G95_LIBRARY_PATH=D:\program\fortran\g95\lib\gcc-lib\i686-pc-mingw32\4.1.2;D:\program\fortran\g95\lib

where D:\program\fortran is where you installed g95 on your computer. By default, I believe only the first path is added through the default install.

Also make sure that the following is in your PATH: D:\program\fortran\g95\bin

Hope this helps.

Sebastien.
The administrator has disabled public write access.

Re: problem installing Telemac when using makeall90 12 years 11 months ago #3285

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
... about the the link to the other libraries, there should all be in your g95/lib ...

I found of the FAQ of the g95 site that sometimes it helps if you copy the executable as and ld from g95/bin to the g95\lib\gcc-lib\i686-pc-mingw32\4.1.2.

Personnaly, sometimes, I found these library in g95\lib\gcc-lib\i686-pc-mingw32\4.1.2, and I found that copying these under g95\lib helps.

Try and let us know.

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

Re: problem installing Telemac when using makeall90 12 years 11 months ago #3286

  • pprel
  • pprel's Avatar
It finally works !!!!!!! That's wonderful. Thank you very much ! I am very grateful to you for the help and time !

I just have one more question.
In the end, I have one comuter with Telemac computing with Perl and the other with Telemac computing with Python. I may create model on one and run it on the other. Can it be a problem since it seems not to work exactly the same ?
The administrator has disabled public write access.

Re: problem installing Telemac when using makeall90 12 years 11 months ago #3289

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Create a model and run a simulation are 2 different things.
The mesh could be generate on any computer, this is not linked to the way you run telemac.

So you should not have any problems

Regards
Christophe
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.