Welcome, Guest
Username: Password: Remember me

TOPIC: Stuck at 'running your simulation'

Stuck at 'running your simulation' 11 years 6 months ago #8811

  • Mathieutp
  • Mathieutp's Avatar
Hello, though I've been using Telemac for a little while, this is my first time attempting an install on a new machine by myself. As such, I decided to try the installation with Python rather than Perl.

Quick rundown:
-Python 2.7.3 is installed and accessible from the command line (2.7.5 was giving me issues which I believe you're aware of)
-Intel Visual Fortran Compiler Professional 11, Microsoft Visual Studio 9.0, and Microsoft Windows SDK are installed and accessible (I had extensive issues with missing libraries but they were finally resolved by adding a number of new environment variables)
-MPICH2 is installed and accessible. The pre-compiled METIS library is in the correct folder with respect to systel.cfg and smpd is installed and running.
-I downloaded the .zip for telemac2d (parallel installation) and placed everything in the appropriate directory (there was a problem with the pytel folder but I was able to get the correct files from the forums)

I also had a problem when trying to run a simulation where a fatal error would occur, stating that the program I was trying to run had not been built for the machine's processor. Something to do with an option in the Intel compiler. I was able to resolve that by changing my configuration file.

At this point, I am able to compile without any issues.

So I've scoured the forums, solved a dozen different issues with my installation, but now I've run into a problem for which there doesn't seem to be any help. When I attempt to run a sample problem, such as the hydraulic_jump, using simply runcode.py telemac2d cas.txt the program only gets as far as...

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Mathieu>cd C:\Users\Mathieu\Desktop\test\hydraulic_jump

C:\Users\Mathieu\Desktop\test\hydraulic_jump>runcode.py telemac2d cas.txt


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 cas.txt with telemac2d under C:\Users\Mathieu\Desktop\test\hydraulic_jum
p
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

... reading module dictionary
... running in English with cas.txt
re-writing: C:\Users\Mathieu\Desktop\test\hydraulic_jump\cas.txt_2013-05-23-16
h55min19s\T2DCAS
copying: princi.f C:\Users\Mathieu\Desktop\test\hydraulic_jump\cas.txt_2013
-05-23-16h55min19s\t2dfort.f
copying: cli.txt C:\Users\Mathieu\Desktop\test\hydraulic_jump\cas.txt_2013-
05-23-16h55min19s\T2DCLI
copying: geo C:\Users\Mathieu\Desktop\test\hydraulic_jump\cas.txt_2013-05-2
3-16h55min19s\T2DGEO
copying: telemac2dv6p2.dico C:\Users\Mathieu\Desktop\test\hydraulic_jump\ca
s.txt_2013-05-23-16h55min19s\T2DDICO
copying: ref C:\Users\Mathieu\Desktop\test\hydraulic_jump\cas.txt_2013-05-2
3-16h55min19s\T2DREF


Running your simulation :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


C:\opentelemac\mpi\bin\mpiexec.exe -wdir C:\Users\Mathieu\Desktop\test\hydraulic
_jump\cas.txt_2013-05-23-16h55min19s -n 1 C:\Users\Mathieu\Desktop\test\hydrauli
c_jump\cas.txt_2013-05-23-16h55min19s\out_princi.exe

before getting stuck there. Nothing happens, I can't enter new commands. A file is indeed produced but clearly the simulation hasn't taken place. Any suggestions?
The administrator has disabled public write access.

Stuck at 'running your simulation' 11 years 6 months ago #8819

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

I noticed that you are executing the parallel module (with 1 process only). I was wondering if you are able to run a validation case in serial.

It would be usefull to see your systel.cfg as well.

Costas
The administrator has disabled public write access.

Stuck at 'running your simulation' 11 years 6 months ago #8822

  • Mathieutp
  • Mathieutp's Avatar
I'm not as familiar with the commands for this version. What command would I use to run the serial version specifically?

Here's my configuration file...

# _____ _______________________________
# ____/ TELEMAC Project Definitions /______________________________/
#
[Configurations]
#configs: eticsm wing95s wintels wintelmpi seabass salmon salmonmpi
configs: wintel wintelmpi
#
# _____ ______________________________________
# ____/ windows intel scalar /_____________________________________/
[wintel]
#
root: C:\opentelemac\v6p2
version: v6p2
language: 2
modules: clean system
options:
#
cmd_obj: ifort.exe /c /O3 /QaxSSE2 /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 intel parallel /___________________________________/
[wintelmpi]
#
root: C:\opentelemac\v6p2
version: v6p2
language: 2
modules: clean system
#
options: parallel mpi
par_cmdexec: <config>\partel.exe < PARTEL.PAR >> <partel.log>
#par_cmdexec: <config>\partel_prelim.exe; <mpi_cmdexec> <config>\partel_para.exe >> <partel.log>
#par_cmdexec: <config>\partel_prelim.exe; python <root>\pytel\utils\partitioning.py
#
mpi_cmdexec: C:\opentelemac\mpi\bin\mpiexec.exe -wdir <wdir> -n <ncsize> <exename>
mpi_hosts:
#
cmd_obj: ifort.exe /c /O3 /QaxSSE2 /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 /nodefaultlib:libc.lib /out:<exename> <objs> <libs>
#
mods_all: /include:<config>
#
incs_parallel: /include:C:\opentelemac\mpi\include
libs_parallel: C:\opentelemac\lib\libmetis.lib
libs_all : C:\opentelemac\mpi\lib\fmpich2.lib
#
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
# also possible val_rank: all
val_rank: 0
#<3 >7 6
#
The administrator has disabled public write access.

Stuck at 'running your simulation' 11 years 5 months ago #8823

  • Mathieutp
  • Mathieutp's Avatar
I've changed my systel.cfg slightly (see attachment). I'm not sure what did it, I started running the command line as administrator too, but I seem to be able to run telemac in scalar mode. I'm using the command

runcode.py telemac2d -s -c wintel cas.txt

and I've successfully run the "cavity," "hydraulic jump," and "m2wave" cases. The "dambreak" scenario reported an error...

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

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


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

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


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



Running cas.txt with telemac2d under C:\Users\Mathieu\Desktop\test\dambreak
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

... reading module dictionary
_____________
runcode::main:
C:\Users\Mathieu\Desktop\test\dambreak:
uncontroled error from python:: ValueError("invalid literal for int() with
base 10: '0.'",)


but given the other successful runs maybe that doesn't have anything to do with my installation. Trying to run a simulation in parallel mode however, such as the "malpasset" case, still gives me the same result as before. I'm using the command

runcode.py telemac2d -s -c wintelmpi cas.txt

and I believe I've modified the cas and mpi configuration files correctly to work with this machine. The result is shown below...

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 cas.txt with telemac2d under C:\Users\Mathieu\Desktop\test\malpasset
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

... reading module dictionary
... simulation en Francais avec cas.txt
copying: princi.f C:\Users\Mathieu\Desktop\test\malpasset\cas.txt_2013-05-2
4-04h17min03s\t2dfort.f
re-writing: C:\Users\Mathieu\Desktop\test\malpasset\cas.txt_2013-05-24-04h17mi
n03s\T2DCAS
copying: telemac2dv6p2.dico C:\Users\Mathieu\Desktop\test\malpasset\cas.txt
_2013-05-24-04h17min03s\T2DDICO
copying: ref C:\Users\Mathieu\Desktop\test\malpasset\cas.txt_2013-05-24-04h
17min03s\T2DREF
copying: geo C:\Users\Mathieu\Desktop\test\malpasset\cas.txt_2013-05-24-04h
17min03s\T2DGEO
copying: cli.txt C:\Users\Mathieu\Desktop\test\malpasset\cas.txt_2013-05-24
-04h17min03s\T2DCLI
partitioning: T2DREF
+> C:\opentelemac\v6p2\parallel\parallel_v6p2\wintelmpi\partel.exe < PARTEL
.PAR >> partel_T2DREF.log
partitioning: T2DGEO
+> C:\opentelemac\v6p2\parallel\parallel_v6p2\wintelmpi\partel.exe < PARTEL
.PAR >> partel_T2DGEO.log


Running your simulation :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


C:\opentelemac\mpi\bin\mpiexec.exe -wdir C:\Users\Mathieu\Desktop\test\malpasset
\cas.txt_2013-05-24-04h17min03s -n 2 C:\Users\Mathieu\Desktop\test\malpasset\cas
.txt_2013-05-24-04h17min03s\out_princi.exe


I've added the cas and mpi configuration files as attachments below.
Attachments:
The administrator has disabled public write access.

Stuck at 'running your simulation' 11 years 5 months ago #8825

  • Mathieutp
  • Mathieutp's Avatar
Oddly enough, after the command line gets stuck as shown above, if I go to the sortie file and click on out_princi.exe the simulation appears to continue. At the end the window abruptly closes, but I managed to get a screenshot (attachment).
Attachments:
The administrator has disabled public write access.

Stuck at 'running your simulation' 11 years 5 months ago #8826

  • Mathieutp
  • Mathieutp's Avatar
Sorry to keep posting but things keep happening. After my last post where I clicked on the executable in the sortie file, suddenly parallel mode seems to work. I have no idea why. The command I've been using is

runcode.py telemac2d -s -c wintelmpi cas.txt

I was able to run "bumpcri," "gouttedo," "ondem2," and "malpasset" successfully. The "culm" scenario is reporting an error as shown below

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 cas.txt with telemac2d under C:\Users\Mathieu\Desktop\test\culm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

... reading module dictionary
... running in English with cas.txt
re-writing: C:\Users\Mathieu\Desktop\test\culm\cas.txt_2013-05-24-05h25min50s\
T2DCAS
copying: cli.txt C:\Users\Mathieu\Desktop\test\culm\cas.txt_2013-05-24-05h2
5min50s\T2DCLI
copying: geo C:\Users\Mathieu\Desktop\test\culm\cas.txt_2013-05-24-05h25min
50s\T2DGEO
copying: telemac2dv6p2.dico C:\Users\Mathieu\Desktop\test\culm\cas.txt_2013
-05-24-05h25min50s\T2DDICO
copying: prev C:\Users\Mathieu\Desktop\test\culm\cas.txt_2013-05-24-05h25mi
n50s\T2DPRE
copying: qsl C:\Users\Mathieu\Desktop\test\culm\cas.txt_2013-05-24-05h25min
50s\T2DIMP
copying: ref C:\Users\Mathieu\Desktop\test\culm\cas.txt_2013-05-24-05h25min
50s\T2DREF
partitioning: T2DGEO
+> C:\opentelemac\v6p2\parallel\parallel_v6p2\wintelmpi\partel.exe < PARTEL
.PAR >> partel_T2DGEO.log
partitioning: T2DPRE
+> C:\opentelemac\v6p2\parallel\parallel_v6p2\wintelmpi\partel.exe < PARTEL
.PAR >> partel_T2DPRE.log
duplicating: T2DIMP
partitioning: T2DREF
+> C:\opentelemac\v6p2\parallel\parallel_v6p2\wintelmpi\partel.exe < PARTEL
.PAR >> partel_T2DREF.log


Running your simulation :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


C:\opentelemac\mpi\bin\mpiexec.exe -wdir C:\Users\Mathieu\Desktop\test\culm\cas.
txt_2013-05-24-05h25min50s -n 2 C:\Users\Mathieu\Desktop\test\culm\cas.txt_2013-
05-24-05h25min50s\out_telemac2dv6p2.exe
MASTER PROCESSOR NUMBER 0 OF THE GROUP OF 2
EXECUTABLE FILE:
C:\Users\Mathieu\Desktop\test\culm\cas.txt_2013-05-24-05h25min50s\A.EXE
BARRIER PASSED

LISTING OF TELEMAC-2D




TTTTT EEEEE L EEEEE M M AAAAA CCCCC
T E L E MM MM A A C
T EEE L EEE M M M AAAAA C
T E L E M M A A C
T EEEEE LLLLL EEEEE M M A A CCCCC

2D VERSION 6.2 FORTRAN 90
WITH SEVERAL TRACERS
COUPLED WITH SISYPHE AND TOMAWAC

********************************************
* LECDON: *
* AFTER CALLING DAMOCLES *
* CHECKING OF DATA READ *
* IN THE STEERING FILE *
********************************************

FRONTAL PRODUCT
NOT IMPLEMENTED WITH PARALLELISM
OPTION 1 IS TAKEN INSTEAD

EXITING LECDON. NAME OF THE STUDY:
TELEMAC 2D : RIVER CULM

OPENING FILES FOR TELEMAC2D

*****************************
* MEMORY ORGANIZATION *
*****************************

READGEO1: TITLE= River culm

NUMBER OF ELEMENTS: 1029
NUMBER OF POINTS: 568
MXPTEL (BIEF) : MAXIMUM NUMBER OF ELEMENTS AROUND A POINT: 9
MAXIMUM NUMBER OF POINTS AROUND A POINT: 10
SEGBOR (BIEF) : NUMBER OF BOUNDARY SEGMENTS = 105
INCLUDING THOSE DUE TO DOMAIN DECOMPOSITION
CORRXY (BIEF):NO MODIFICATION OF COORDINATES

MESH: MESH ALLOCATED

*************************************
* END OF MEMORY ORGANIZATION: *
*************************************

INBIEF (BIEF): NOT A VECTOR MACHINE (ACCORDING TO YOUR DATA)
STRCHE (BIEF): NO MODIFICATION OF FRICTION

NUMBER OF LIQUID BOUNDARIES: 2

CORFON (TELEMAC2D): NO MODIFICATION OF BOTTOM

TITLE OF PREVIOUS COMPUTATION: TELEMAC 2D : RIVER CULM

NAME: VELOCITY U UNIT: M/S
NAME: VELOCITY V UNIT: M/S
NAME: WATER DEPTH UNIT: M
NAME: FREE SURFACE UNIT: M
NAME: BOTTOM UNIT: M

SUITE_SERAFIN : READ OF RECORD 28

TIME OF RECORD: 162000.0 S
ELAPSED TIME RESET TO ZERO

================================================================================

ITERATION 0 TIME: 0.0000 S
THE LIQUID BOUNDARIES FILE CONTAINS
30600 LINES WITH:
Q(1) SL(2)
T= 0.000000000000000E+000 OUT OF RANGE
OF THE FILE OF LIQUID BOUNDARIES
NUMBER OF LINES : 30600
SOME COMPILERS REQUIRE AN
EMPTY LINE AT THE END OF THE FILE

PLANTE: PROGRAM STOPPED AFTER AN ERROR
EXITING PVM: CALLING P_EXIT

EXITING MPI

_____________
runcode::main:
C:\Users\Mathieu\Desktop\test\culm:
|runCAS: fail to run
| C:\opentelemac\mpi\bin\mpiexec.exe -wdir C:\Users\Mathieu\Desktop\test
\culm\cas.txt_2013-05-24-05h25min50s -n 2 C:\Users\Mathieu\Desktop\test\culm\cas
.txt_2013-05-24-05h25min50s\out_telemac2dv6p2.exe

but maybe as with "dambreak" in scalar mode this wasn't due to my installation. It seems that telemac is working now (at least most of the time). If you have any explanation as to why it started working suddenly, I'd appreciate the help.

Thanks for your time!

Mathieu
The administrator has disabled public write access.

Stuck at 'running your simulation' 11 years 5 months ago #8828

  • jmhervouet
  • jmhervouet's Avatar
Hello,

I wonder if you have the correct test case for culm. In version 6.1 the file t2d_culm.qsl starts with t=2.0 while in version 6.2 it starts with t=0.0, this is probably your problem.

Regards,

JMH
The administrator has disabled public write access.

Stuck at 'running your simulation' 11 years 5 months ago #8827

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Mathieutp wrote:
... At the end the window abruptly closes, but I managed to get a screenshot (attachment).

Try to run the commands from within the command prompt so that the output remains visible. Also make sure that you are running validation cases from the v6p2 repository. Older steering files may not be compatible with the v6p2 version, so an error can occur which has nothing to do with your installation of telemac.

You should be looking for this at the repository (malpasset case for v6p2):
\validation\telemac2d\tel2d_v6p2\201_malpasset

I hope it helps,
Costas
The administrator has disabled public write access.
Moderators: borisb

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