Welcome, Guest
Username: Password: Remember me

TOPIC: New: openTELEMAC-MASCARET automatic installer now available

New: openTELEMAC-MASCARET automatic installer now available 11 years 5 months ago #9285

  • jparisi
  • jparisi's Avatar
  • OFFLINE
  • Admin
  • Posts: 114
  • Thank you received: 56
Hong,

First, v6p2 is in English, but some test cases are still in French.

Next, I assumed you've already had v6p1 on your computer since you were talking about running v6p1 test cases.

You can still try to run your v6p1 test cases with v6p2 without changing anything and by using the method described in the post #9248 : your test cases might not be concerned by modifications between v6p1 and v6p2.

If your test cases do fail, it must be because of differences between v6p1 and v6p2. In that case you will have to upgrade your test cases to v6p2 and look for help to the 'home page' > 'What's new'.

Best,
Juliette
The topic has been locked.

New: openTELEMAC-MASCARET automatic installer now available 11 years 5 months ago #9353

  • profamb
  • profamb's Avatar
Hello

I used the automatic installer and then I downloaded rhe validation files from the repository.

Following the instructions on this topic a problem occurred: due to the big names of the folders and subfolders I was not able to include the '-c winfor' in the console window.

Then I edited the file C:\opentelemac-mascaret\systel.windows.cfg and replaced the following line:

configs: wing95s wintels wingfor

by

configs: wingfor

Then I run the program according to the following line:

C:\opentelemac-mascaret\validation\telemac2d\tel2d_v6p2\011_bumpflu>telemac2d.py
t2d_bumpflu.cas

and obtained the following output:

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

... parsing configuration file: c:\opentelemac\v6p2\config\systel.cfg


Running your CAS file for:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+> configuration: wintelmpi
+> root: C:\opentelemac\v6p2
+> version v6p2


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Running t2d_bumpflu.cas with telemac2d under C:\opentelemac-mascaret\validation\
telemac2d\tel2d_v6p2\011_bumpflu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

... reading module dictionary
... simulation en Francais avec t2d_bumpflu.cas
copying: t2d_bumpflu.f C:\opentelemac-mascaret\validation\telemac2d\tel2d_v
6p2\011_bumpflu\t2d_bumpflu.cas_2013-06-21-23h54min59s\t2dfort.f
re-writing: C:\opentelemac-mascaret\validation\telemac2d\tel2d_v6p2\011_bumpfl
u\t2d_bumpflu.cas_2013-06-21-23h54min59s\T2DCAS
copying: telemac2dv6p2.dico C:\opentelemac-mascaret\validation\telemac2d\te
l2d_v6p2\011_bumpflu\t2d_bumpflu.cas_2013-06-21-23h54min59s\T2DDICO
copying: geo_bumpflu.slf C:\opentelemac-mascaret\validation\telemac2d\tel2d
_v6p2\011_bumpflu\t2d_bumpflu.cas_2013-06-21-23h54min59s\T2DGEO
copying: geo_bumpflu.cli C:\opentelemac-mascaret\validation\telemac2d\tel2d
_v6p2\011_bumpflu\t2d_bumpflu.cas_2013-06-21-23h54min59s\T2DCLI
copying: f2d_bumpflu.slf C:\opentelemac-mascaret\validation\telemac2d\tel2d
_v6p2\011_bumpflu\t2d_bumpflu.cas_2013-06-21-23h54min59s\T2DREF
_____________
runcode::main:
C:\opentelemac-mascaret\validation\telemac2d\tel2d_v6p2\011_bumpflu:
|runCAS:
|Not able to find your OBJECT command line: wintelmpi\telemac2dv6p2.cmdo
|
| ... you have to compile this module at least: telemac2d

C:\opentelemac-mascaret\validation\telemac2d\tel2d_v6p2\011_bumpflu>

How to solve this problem?

Best regards!
The topic has been locked.

New: openTELEMAC-MASCARET automatic installer now available 11 years 5 months ago #9356

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

You just have to make sure you use the same name: winfor and not wingfor in your onfig file. The rest seems right.

Hope this helps,
Sébastien
The topic has been locked.

New: openTELEMAC-MASCARET automatic installer now available 11 years 5 months ago #9358

  • profamb
  • profamb's Avatar
Dear sebourban

It is not clear which config file I must change. Also, which lines?

Can you help me further with this?

Another curiosity is: in the previous mail I sent there is this line

+> configuration: wintelmpi

Later, the error message shows

Not able to find your OBJECT command line: wintelmpi\telemac2dv6p2.cmdo
|
| ... you have to compile this module at least: telemac2d

Why is wintelmpi being selected?

Best regards

profamb
The topic has been locked.

New: openTELEMAC-MASCARET automatic installer now available 11 years 5 months ago #9359

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

The essential things are to use the same name throughout, and to default to that name automatically. I can see that you have done what Juliette said but somehow, your telemac2d.py calls on c:\opentelemac\v6p2\config\systel.cfg

This could mean that the environment variable SYSTELCFG is not set for your user. it should be C:\opentelemac-mascaret\systel.windows.cfg instead.

Or, you can simply replace c:\opentelemac\v6p2\config\systel.cfg by the content of C:\opentelemac-mascaret\systel.windows.cfg

Hope this helps,
Sébastien
The topic has been locked.

New: openTELEMAC-MASCARET automatic installer now available 11 years 4 months ago #9365

  • profamb
  • profamb's Avatar
Dear Sebastien

I am very confused.
Let's try to go by parts


1) My C:\opentelemac-mascaret\v6p2\pytel\telemac2d.py (which I do not understand...this file is a mistery to me!)

#!/usr/bin/env python
import sys,os
if __name__ == "__main__": os.system("python "+os.path.join(os.path.dirname(sys.argv[0]),"runcode.py")+" "+os.path.splitext(os.path.basename(sys.argv[0]))[0]+" " + ' '.join(sys.argv[1:]))

"""@author Sebastien E. Bourban
"""
"""@note ... this work is based on a collaborative effort between
.________. ,--.
| | . ( (
|,-. / HR Wallingford EDF - LNHE / \_ \_/ .--.
/ \ / Howbery Park, 6, quai Watier \ ) /_ )
,. `' Wallingford, Oxfordshire 78401 Cedex `-'_ __ `--
/ \ / OX10 8BA, United Kingdom Chatou, France __/ \ \ `.
/ `-'| www.hrwallingford.com innovation.edf.com | ) ) )
!________! `--' `--
"""


2) My environment variable SYSTELCFG

C:\opentelemac-mascaret\systel.windows.cfg


3) My C:\opentelemac-mascaret\systel.windows.cfg

# _____ _______________________________
# ____/ TELEMAC Project Definitions /______________________________/
#
[Configurations]
configs: wing95s wintels wingfor
# wintels
#
# _____ __________________________________
# ____/ Windows intel scalar /___________________________________/
[wintels]
#
root: C:\opentelemac-mascaret\v6p2
version: v6p2
language: 2
modules: update system
options:
#
cmd_obj: ifort.exe /c /Ot /iface:cref /iface:nomixed_str_len_arg /nologo /names:uppercase /convert:big_endian /extend_source:132 <mods> <incs> <f95name>
cmd_lib: xilib.exe /nologo /out:<libname> <objs>
cmd_exe: xilink.exe /nologo /subsystem:console /stack:536870912 /out:<exename> <objs> <libs>
#
mods_all: /include:<config>
#
sfx_zip: .zip
sfx_lib: .lib
sfx_obj: .obj
sfx_mod: .mod
sfx_exe: .exe
#
# also possible val_root: <root>/../validation
val_root: <modpath>/validation
val_rank: all
# also possible val_rank: <3 >7 6
#
#
# _____ ____________________________________
# ____/ Windows g95 scalar /_____________________________________/
[wing95s]
#
root: C:\opentelemac-mascaret\v6p2
version: v6p2
language: 2
modules: update system
options:
#
cmd_obj: g95 -c -fendian=big -ffixed-line-length-132 <mods> <incs> <f95name>
cmd_lib: ar cru <libname> <objs>
cmd_exe: g95 -fendian=big -std=f95 -v -lm -o <exename> <objs> -Xlinker --start-group <libs>
#
mods_all: -I <config>
#
sfx_zip: .zip
sfx_lib: .lib
sfx_obj: .o
sfx_mod: .mod
sfx_exe: .exe
#
# also possible val_root: <root>/../validation
val_root: <modpath>/validation
val_rank: all
# also possible val_rank: <3 >7 6
#
# _____ ____________________________________
# ____/ Windows gfortran scalar** /_____________________________________/
[wingfor]
#
root: C:\opentelemac-mascaret\v6p2
version: v6p2
language: 2
modules: update system
options:
#
cmd_obj: gfortran -c -O3 -ffixed-line-length-132 -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>
cmd_lib: ar cru <libname> <objs>
cmd_exe: gfortran -fconvert=big-endian -frecord-marker=4 -v -o <exename> <objs> -Xlinker --start-group <libs>
#
mods_all: -I <config>
#
sfx_zip: .zip
sfx_lib: .lib
sfx_obj: .o
sfx_mod: .mod
sfx_exe: .exe


#


4) My c:\opentelemac\v6p2\config\systel.cfg

I do not have systel.cfg in this folder! Below is all what I have there

systel.cis-debian.cfg
systel.cis-doxygen.cfg
systel.cis-fedora.cfg
systel.cis-opensuse.cfg
systel.cis-ubuntu.cfg
systel.cis-windows.cfg
systel.cis-windows7.cfg
systel.edf.cfg
systel.hrw.cfg
systel.edf.ini
systel-all.ini


As you can see, I do not know how to go on.

I hope you can enlighten me!

Best regards!

Sergio (profamb)
The topic has been locked.

New: openTELEMAC-MASCARET automatic installer now available 11 years 4 months ago #9366

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Sorry -- I thought you did what Juliette asked.

Given what you showed me, all you have to do is to modify your "3) My C:\opentelemac-mascaret\systel.windows.cfg" by replacing the line near the top:
configs: wing95s wintels wingfor

by
configs: wingfor

So this one will then be the default.

Hope this helps.
Sébastien
The topic has been locked.

New: openTELEMAC-MASCARET automatic installer now available 11 years 4 months ago #9367

  • profamb
  • profamb's Avatar
I tried 3 options following your suggestion. None of them worked. See by yourself.


1) C:\opentelemac-mascaret\validation\telemac2d\tel2d_v6p2\011_bumpflu>telemac2d.py
t2d_bumpflu.cas


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

... parsing configuration file: C:\opentelemac-mascaret\systel.windows.cfg


Running your CAS file for:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+> configuration: wingfor
+> root: C:\opentelemac-mascaret\v6p2
+> version v6p2


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Running t2d_bumpflu.cas with telemac2d under C:\opentelemac-mascaret\validation\
telemac2d\tel2d_v6p2\011_bumpflu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

... reading module dictionary
... simulation en Francais avec t2d_bumpflu.cas
copying: t2d_bumpflu.f C:\opentelemac-mascaret\validation\telemac2d\tel2d_v
6p2\011_bumpflu\t2d_bumpflu.cas_2013-06-23-23h03min19s\t2dfort.f
re-writing: C:\opentelemac-mascaret\validation\telemac2d\tel2d_v6p2\011_bumpfl
u\t2d_bumpflu.cas_2013-06-23-23h03min19s\T2DCAS
copying: telemac2dv6p2.dico C:\opentelemac-mascaret\validation\telemac2d\te
l2d_v6p2\011_bumpflu\t2d_bumpflu.cas_2013-06-23-23h03min19s\T2DDICO
copying: geo_bumpflu.slf C:\opentelemac-mascaret\validation\telemac2d\tel2d
_v6p2\011_bumpflu\t2d_bumpflu.cas_2013-06-23-23h03min19s\T2DGEO
copying: geo_bumpflu.cli C:\opentelemac-mascaret\validation\telemac2d\tel2d
_v6p2\011_bumpflu\t2d_bumpflu.cas_2013-06-23-23h03min19s\T2DCLI
copying: f2d_bumpflu.slf C:\opentelemac-mascaret\validation\telemac2d\tel2d
_v6p2\011_bumpflu\t2d_bumpflu.cas_2013-06-23-23h03min19s\T2DREF
_____________
runcode::main:
C:\opentelemac-mascaret\validation\telemac2d\tel2d_v6p2\011_bumpflu:
|runCAS:
|Not able to find your OBJECT command line: wingfor\telemac2dv6p2.cmdo
|
| ... you have to compile this module at least: telemac2d

....................................................................................

2) C:\opentelemac-mascaret\validation\telemac2d\tel2d_v6p2\011_bumpflu>telemac2d.py
t2d_bumpflu.cas -c winfor


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

... parsing configuration file: C:\opentelemac-mascaret\systel.windows.cfg

Not able to get to find your configuration in the configuration file: C:\opentel
emac-mascaret\systel.windows.cfg

... use instead:
+> wingfor

...................................................................................

3) C:\opentelemac-mascaret\validation\telemac2d\tel2d_v6p2\011_bumpflu>telemac2d.py
t2d_bumpflu.cas -c wingfor


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

... parsing configuration file: C:\opentelemac-mascaret\systel.windows.cfg


Running your CAS file for:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+> configuration: wingfor
+> root: C:\opentelemac-mascaret\v6p2
+> version v6p2


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Running t2d_bumpflu.cas with telemac2d under C:\opentelemac-mascaret\validation\
telemac2d\tel2d_v6p2\011_bumpflu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

... reading module dictionary
... simulation en Francais avec t2d_bumpflu.cas
copying: t2d_bumpflu.f C:\opentelemac-mascaret\validation\telemac2d\tel2d_v
6p2\011_bumpflu\t2d_bumpflu.cas_2013-06-23-23h04min34s\t2dfort.f
re-writing: C:\opentelemac-mascaret\validation\telemac2d\tel2d_v6p2\011_bumpfl
u\t2d_bumpflu.cas_2013-06-23-23h04min34s\T2DCAS
copying: telemac2dv6p2.dico C:\opentelemac-mascaret\validation\telemac2d\te
l2d_v6p2\011_bumpflu\t2d_bumpflu.cas_2013-06-23-23h04min34s\T2DDICO
copying: geo_bumpflu.slf C:\opentelemac-mascaret\validation\telemac2d\tel2d
_v6p2\011_bumpflu\t2d_bumpflu.cas_2013-06-23-23h04min34s\T2DGEO
copying: geo_bumpflu.cli C:\opentelemac-mascaret\validation\telemac2d\tel2d
_v6p2\011_bumpflu\t2d_bumpflu.cas_2013-06-23-23h04min34s\T2DCLI
copying: f2d_bumpflu.slf C:\opentelemac-mascaret\validation\telemac2d\tel2d
_v6p2\011_bumpflu\t2d_bumpflu.cas_2013-06-23-23h04min34s\T2DREF
_____________
runcode::main:
C:\opentelemac-mascaret\validation\telemac2d\tel2d_v6p2\011_bumpflu:
|runCAS:
|Not able to find your OBJECT command line: wingfor\telemac2dv6p2.cmdo
|
| ... you have to compile this module at least: telemac2d

.................................................................................

Where is the OBJECT command line?
Why is the telema2d not compiled?
The topic has been locked.

New: openTELEMAC-MASCARET automatic installer now available 11 years 4 months ago #9372

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Can you look inside one of the directories C:\opentelemac-mascaret\telemac2d\tel2d_v6p2\ and tell me what are the directories that you see ?
The topic has been locked.

New: openTELEMAC-MASCARET automatic installer now available 11 years 4 months ago #9374

  • profamb
  • profamb's Avatar
I do not have the directory C:\opentelemac-mascaret\telemac2d\tel2d_v6p2\ .

Instead, I have the following directories:
C:\opentelemac-mascaret\gcc
C:\opentelemac-mascaret\installers
C:\opentelemac-mascaret\python27
C:\opentelemac-mascaret\SvnClient
C:\opentelemac-mascaret\v6p2
C:\opentelemac-mascaret\validation

Suspecting you are interested what is inside C:\opentelemac-mascaret\v6p2\telemac2d\tel2d_v6p2 there are:
C:\opentelemac-mascaret\v6p2\telemac2d\tel2d_v6p2\lib
C:\opentelemac-mascaret\v6p2\telemac2d\tel2d_v6p2\sources
C:\opentelemac-mascaret\v6p2\telemac2d\tel2d_v6p2\wingfor

Hope it helps!
The topic has been locked.
Moderators: borisb

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