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

TOPIC: Telemac Parallel

Telemac Parallel 9 years 4 months ago #17587

  • MarkusR
  • MarkusR's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 56
  • Thank you received: 1
Hello everyone,

i want to use Telemac 3D in Parallel. Because the automatic installation did not work on my PC, I manually installed Telemac as described. For the normal use it worked fine, but if i tried to start a parallel computation, I received the error attached.

In the forum i read something about, that i need this systel_parallel_v7p0.cfg? but where i get it and where to put it in? And do i need another "programm" running parallel, something like MPI or MPICH2(which is already installed)?

Im looking forward to your answers, because im quite new in this computational topic...

Best regards

Markus
Attachments:
The administrator has disabled public write access.

Telemac Parallel 9 years 4 months ago #17589

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

I am not familiar with the automatic installer and what configuration it installs. All the configuration files should be placed in the 'configs' subfolder and have cfg extension. A systel file can hold configurations for both the parallel and scalar version of telemac. My guess is that the files with the windows suffix hold both configurations. Try to specify a particular configuration file by adding -f in your command line, e.g.
telemac3d.py -f systel.cis-windows.cfg casfile

Regards,
Costas
The administrator has disabled public write access.

Telemac Parallel 9 years 4 months ago #17600

  • MarkusR
  • MarkusR's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 56
  • Thank you received: 1
Hello Costas,

unfortunately i received another error(error2).

But i get now a "parallel.cfg" file from a college, for telemac version v6p3. I guess that i managed to start now a simulation, but did not get a result (simulation). If i look in the simulation folder i can see the setting, and that the geometry is splitted into 4 parts and so on..

Do you have any hint what is going on?

Best regards,

Markus
Attachments:
The administrator has disabled public write access.

Telemac Parallel 9 years 4 months ago #17602

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
The systel.cis-windows.cfg file does not hold a parallel configuration. Can you post the parallel file that your colleague gave to you? We would be able to make it work with v7p0 easily.

Costas

PS. Use console redirection to capture the error to a text file instead of the screen. e.g.
telemac3d.py -f systel.cis-windows.cfg casfile >output.txt
It will make posting the error easier.
The administrator has disabled public write access.

Telemac Parallel 9 years 4 months ago #17603

  • MarkusR
  • MarkusR's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 56
  • Thank you received: 1
OK that would be great! and thanks for the hint: in the following is the output i get using telemac version v6p3 and a 2D simulation:


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

... parsing configuration file: systel.parallel.cfg


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

+> configuration: wing64mpi
+> root: C:\opentelemac-mascaret\v6p3
+> version v6p3


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


... reading the main module dictionary

... processing the main CAS file(s)
+> running in English

... checking parallelisation

... handling temporary directories

... checking coupling between codes

... first pass at copying all input files
+> t2d_ramp.cas
copying: telemac2d.dico C:\opentelemac-mascaret\v6p3\1999\t2d_ramp.cas_2015-07-08-12h00min15s\T2DDICO
copying: t2d_NW.txt C:\opentelemac-mascaret\v6p3\1999\t2d_ramp.cas_2015-07-08-12h00min15s\T2DIMP
re-writing: C:\opentelemac-mascaret\v6p3\1999\t2d_ramp.cas_2015-07-08-12h00min15s\T2DCAS
copying: boundary.cli C:\opentelemac-mascaret\v6p3\1999\t2d_ramp.cas_2015-07-08-12h00min15s\T2DCLI
copying: initial_15.slf C:\opentelemac-mascaret\v6p3\1999\t2d_ramp.cas_2015-07-08-12h00min15s\T2DPRE
copying: geometry.slf C:\opentelemac-mascaret\v6p3\1999\t2d_ramp.cas_2015-07-08-12h00min15s\T2DGEO

... checking the executable
re-copying: telemac2d.exe C:\opentelemac-mascaret\v6p3\1999\t2d_ramp.cas_2015-07-08-12h00min15s\out_telemac2d.exe

... modifying run command to MPI instruction

... modifying run command to PARTEL instruction
duplicating: T2DIMP
partitioning: T2DPRE
+> C:\opentelemac-mascaret\v6p3\builds\wing64mpi\bin\partel.exe < PARTEL.PAR >> partel_T2DPRE.log
partitioning: T2DGEO
+> C:\opentelemac-mascaret\v6p3\builds\wing64mpi\bin\partel.exe < PARTEL.PAR >> partel_T2DGEO.log

... handling sortie file(s)


Running your simulation(s) :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



C:\opentelemac-mascaret\mpich2\bin\mpiexec.exe -wdir C:\opentelemac-mascaret\v6p3\1999\t2d_ramp.cas_2015-07-08-12h00min15s -n 4 out_telemac2d.exe


mpiexec aborting job...
Attachments:
The administrator has disabled public write access.

Telemac Parallel 9 years 4 months ago #17604

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
I suppose changing the root in the systel cfg file to match the v7p0 installation should do:
Change
root: C:\opentelemac-mascaret\v6p3
to
root: C:\opentelemac-mascaret\v7p0
or whatever the path is to your installation.

You will have to compile the parallel configuration of course.

Costas
The administrator has disabled public write access.

Telemac Parallel 9 years 4 months ago #17605

  • MarkusR
  • MarkusR's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 56
  • Thank you received: 1
compilation is done just writing: compileTELEMAC.py in the command window and being in the correct folder?
The administrator has disabled public write access.

Telemac Parallel 9 years 4 months ago #17606

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
In your case it should be:

compileTELEMAC.py -f systel_file -c wing64mpi

Of course, pay attention to the PATH environmental variables.
Costas
The administrator has disabled public write access.

Telemac Parallel 9 years 4 months ago #17607

  • MarkusR
  • MarkusR's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 56
  • Thank you received: 1
ah ok thanks a lot!!
The PATH environmental variable i have to change like:
old: C:\opentelemac-mascaret\v7p0\configs\systel_v7p0.cfg
new: C:\opentelemac-mascaret\v7p0\configs\systel.parallel.cfg

or?
Unfortunatly im a bit confused: is telemac without parallel after that still working?

Best regards
Markus
The administrator has disabled public write access.

Telemac Parallel 9 years 4 months ago #17608

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
No, that is the SYSTEL variable you are talking about and that is bypassed by using the -f switch. In PATH variable you need to have the path to the python27 script folder for version v7p0, not v6p3 (in case you have both).
Costas
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.