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

TOPIC: Running telemac2d v7.0

Running telemac2d v7.0 8 years 5 months ago #22157

  • M.Moslemi
  • M.Moslemi's Avatar
Hi

I am a new user of telemac2d . I am doing the tutorials which was available in the website for Baxter river.when I ran the simulation after checking input and running my simulation, the telemac logo came. but nothing else happened. I know the simulation take a lot of time, but as I am new user, I like to be sure that there is no problem in running my simulation.Also when I interrupted manually the following line was appeared:

File "/data/DATA/telemac/new/v7p0r1/scripts/python27/telemac2d.py", line 17, in <module>
main('telemac2d')
File "/data/DATA/telemac/new/v7p0r1/scripts/python27/runcode.py", line 1452, in main
runCAS(cfgname,cfg,codeName,casFiles,options)
File "/data/DATA/telemac/new/v7p0r1/scripts/python27/runcode.py", line 1142, in runCAS
if not runCode(CASFiles[name],CASFiles[name]):
File "/data/DATA/telemac/new/v7p0r1/scripts/python27/runcode.py", line 707, in runCode
t1.join()
File "/usr/lib/python2.7/threading.py", line 667, in join
self.__block.wait()
File "/usr/lib/python2.7/threading.py", line 243, in wait
waiter.acquire()
KeyboardInterrupt

Thanks
The administrator has disabled public write access.

Running telemac2d v7.0 8 years 5 months ago #22166

  • riadh
  • riadh's Avatar
Hello

You should first be sure that Telemac is working well (well installed and compiled). To do that, you should start with one of the validation cases of Telemac-2D, Gouttedo for instance (folder /examples/telemac2d/gouttedo).
If it works well with this example, this means that you have a problem with your new model, and in this case, you should give us more details (or send us your files) to see what is going wrong with it.

with my best regards

Riadh ATA
The administrator has disabled public write access.

Running telemac2d v7.0 8 years 5 months ago #22171

  • M.Moslemi
  • M.Moslemi's Avatar
Hello

thanks for your response. the same thing happened again. after it wrote this line"Running your simulation(s) :~~~~~~~~~~~~~", Telemac logo appeared,and nothing else happened. I think I need to compile it again. Any way here I also attached my geometry file, cas file and boundary conditions, for steady state simulation. I will be grateful if you tell me is there any problem with it or not.(for my simulation the result file was empty)

With Thanks,
Mahdi
Attachments:
The administrator has disabled public write access.

Running telemac2d v7.0 8 years 5 months ago #22172

  • josekdiaz
  • josekdiaz's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 161
  • Thank you received: 48
Dear Mahdi,

Is there any chance you are running the baxter tutorial simulation using the "parallel telemac" shortcut instead of the serial one?

This shouldn't be an issue unless the smpd & mpiexec process are correctly set (please check this post to ensure it's properly set), because the python telemac2d script will wait a response from the smpd server that will never come to start the simulation (hence a blank output).



Regards,

José D.
The administrator has disabled public write access.

Running telemac2d v7.0 8 years 5 months ago #22173

  • M.Moslemi
  • M.Moslemi's Avatar
Hello Jose

I am using Linux. Every time I use telemac2d.py for simulation it automatically checking the parallelisation. I tried to use "smpd -install" as you recommended but it couldn't find the command(smpd). After running Telemac, Baxter_steady.cas_yyddmm folder which contain the T2DCAS, T2DCLI , out_telemac2d, ... will make, but there is nothing that I can visualize the result(The result file which I specified it in FUDAA is empty)

Best Regards,
Mahdi
The administrator has disabled public write access.

Running telemac2d v7.0 8 years 5 months ago #22174

  • josekdiaz
  • josekdiaz's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 161
  • Thank you received: 48
Dear Mahdi,

I suggested the smpd and mpiexec checking assuming that you were working on windows and using the automatic installer (because I had the exact same issue once with my first installation).

¿Could you please upload the config file that you used to compile & run your Telemac along with some data about your distro and current MPI?

Regards,

José D.
The administrator has disabled public write access.

Running telemac2d v7.0 8 years 5 months ago #22181

  • M.Moslemi
  • M.Moslemi's Avatar
Here is my config file.

#
# THIS IS A GENERATED FILE. DO NOT DIRECTLY EDIT THIS FILE.
#
LNGTOMA = 2

VERSESTEL3 = v7p0

PROJECT = /data/DATA/telemac/new/v7p0r1

LIBMUMPSPAR = /data/DATA/telemac/new/v7p0r1/mumpsvoid/mumpsvoid_v6p2/gfortran_linux/mumpsvoidv6p2.a

LK_OPT_PROFILE = -pg

LK_MPI = /usr/local/bin/mpif90 -o <EXE> <OBJS> -Xlinker <LIBS>

FC_OPT-debug = -c

LK_NAM = gfortran

FC_OPT_OBJEXT = o

VERSPOSTE = v7p0

LNGPOSTE = 2

VERSSUB = v7p0

DIRLIB = gfortran_linux

LNGTSE = 2

FC_OPT_OTHERS =

LIB_OPT_LIBEXT = a

LIBMUMPSSEQ = /data/DATA/telemac/new/v7p0r1/mumpsvoid/mumpsvoid_v6p2/gfortran_linux/mumpsvoidv6p2.a

LNGSUB = 2

LNGESTEL2 = 2

VERSARTE = v7p0

LIB_NAM = ar

LNGSTB = 2

PERL5LIB = /usr/lib/

VERSESTEL2 = v7p0

HOSTTYPE = gfortran_linux

FC_OPT_INCLUDE = -I

FC_MPI = /usr/local/bin/mpif90

VERSTEL = v7p0

FC_NAM = gfortran

LNGTEL3D = 2

LIBS_MPI = -L /usr/local/lib -lmpich -lmpl -lpthread -lstdc++ -lz

VERSCOWA = v7p0

LNGARTE = 2

RUN_PROFILE =

LIB_OPT_OUTNAME = cru

LNGSISY = 2

VERSSISY = v7p0

VERSTEL3D = v7p0

RUN_MPI = /usr/local/bin/mpirun -machinefile mpirun.txt -np <N> <EXE>

VERSTELS = v7p0

VERSTOMA = v7p0

LNGTEL = 2

LIB_RANLIB = ranlib

LK_OPT-debug =

LIB_OPT_OTHERS =

LNGTELS = 2

FC_OPT_PROFILE = -O3 -c

LK_OPT_OUTNAME = -o

LK_OPT_OTHERS =

FC_OPT_COMPIL = -c -O3 -fconvert=big-endian -frecord-marker=4 -cpp -DHAVE_TECPLOT

LK_OPT_NORMAL = -fconvert=big-endian -frecord-marker=4 -v -lm -lz -lstdc++

RUN-debug = gdb

VERSSTB = v7p0

VERSTSE = v7p0

PERLPATH = /usr/bin/

LNGESTEL3 = 2

LNGCOWA = 2


Thanks
Mahdi
The administrator has disabled public write access.

Running telemac2d v7.0 8 years 5 months ago #22182

  • josekdiaz
  • josekdiaz's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 161
  • Thank you received: 48
Dear Mahdi,

I'm sorry if I point to the wrong direction here, I'm not familiar with the pearl-type configuration file at all...

I personally think this particular issue is somehow related to MPI, so I'll take a guess and blame this line:
usr/local/bin/mpirun -machinefile mpirun.txt -np <N> <EXE>

maybe the "mpirun.txt" calls to some nodes that do not exist or are not properly set in your MPI? or even the file "mpirun.txt" exists or is at least reachable by the script?

Also, removing "-machinefile mpirun.txt" from the RUN_MPI line could do the trick...

On the other hand, May I ask Why did you choose the Perl installation over the python one?

Regards,

José D.
The administrator has disabled public write access.

Running telemac2d v7.0 8 years 5 months ago #22183

  • M.Moslemi
  • M.Moslemi's Avatar
Dear Jose

Thanks for your time.I just thought it is easier to install and doing the parallelisation in perl.
Do you know how can I run the Telemac2d in serials in Linux?
What you said in your last message does the same thing?

With thanks,

Mahdi
The administrator has disabled public write access.

Running telemac2d v7.0 8 years 5 months ago #22184

  • M.Moslemi
  • M.Moslemi's Avatar
I know I can change the number of processors in FUDAA but it seems that every time it is modifying run command to MPI instruction.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: pham

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