Welcome, Guest
Username: Password: Remember me

TOPIC: Parallel Creocean Example

Parallel Creocean Example 8 years 5 months ago #21900

  • Enrile
  • Enrile's Avatar
Dear all,

I installed ARTEMIS on my Windows 7 using the automatic installer.
When I run the creocean example as it is, everything goes fine.
However, when I try to run a parallel computation switching to solver 9 and adding parallel processors, I get an error that I do not manage to figure out:

runCAS: parallel inconsistency
you may be using an inappropriate configuration: win7gfors
or may be wishing for scalar mode while setting to 2 processors

Can anyone help me?
Thank you very much,
Francesco
The administrator has disabled public write access.

Parallel Creocean Example 8 years 5 months ago #21902

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

win7gfors is a configuration for scalar computations i.e. in one processor only. If you need to run parallel computation you should compile a parallel configuration with MPI libraries and specify it in your command line. In addition, solver option 9 refers to solver MUMPS which in not installed by default. Use direct solver 8 instead.

Regards,
Costas
The administrator has disabled public write access.
The following user(s) said Thank You: Enrile

Parallel Creocean Example 8 years 5 months ago #21905

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

If you run a parallel simulation, you cannot use the direct solver (8)!
You should select an iterative solver.
The only direct solver usable in parallel is MUMPS but this require some specific configuration of telemac and also the mumps compilation...
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Enrile

Parallel Creocean Example 8 years 5 months ago #21910

  • Enrile
  • Enrile's Avatar
Thank you for your answer. I installed the "automatic installer" from the following link:

www.opentelemac.org/index.php/download

It is clearly stated in the notes that parallelisation is included. However, I do not understand how to launch a parallel simulation.

Thank you very much,
Francesco
The administrator has disabled public write access.

Parallel Creocean Example 8 years 5 months ago #21913

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Yes the parallel capacity exist for telemac and if the automatic installer ran well, you should have the parallel version of code compile on your computer.

To run in parallel, you just have to choose the right command windows and give the information about the number of cores for the run.
This is well explain in the documentation.

Nevertheless, in parallel some limitation could exists as for example for the solver as described in my previous post.
If you try to run a parallel simulation with solver 8, you'll obtain an error message which indicate that's impossible and you should choose another solver...

regards
Christophe
The administrator has disabled public write access.

Parallel Creocean Example 8 years 5 months ago #21918

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
My mistake! Indeed, direct solver 8 does not work in parallel!

However, ARTEMIS with direct solver 8 in scalar, is in fact much faster than any iterative solver in parallel (in a typical workstation). Unless you intend to use (and get into the trouble of installing) MUMPS, solver 8 in scalar is fine.

Regards,
Costas
The administrator has disabled public write access.

Parallel Creocean Example 8 years 5 months ago #21954

  • Enrile
  • Enrile's Avatar
Dear all,

I run in parallel after choosing the right prompt.
However, I get the error message:

Not able to get to the configuration file: C:\opentelemac-mascaret\v7p0\configs\systel_parallel_v7p0.cfg

and I get a list of configuration file available.

So, I tried to run the case in the following way:

artemis.py -f systel.cis-windows.cfg btwi.cas

but I get the error:

not able to get to the configuration file: systel.cis-windows.cfg
... in directory C:\opentelemac-mascaret\v7p0\examples\artemis\btwi

and I am stuck!

Thank you very much for any help,
Francesco
The administrator has disabled public write access.

Parallel Creocean Example 8 years 5 months ago #21955

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
You should give the full path to the configuration file after the -f in the command line.
regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Enrile

Parallel Creocean Example 8 years 5 months ago #21961

  • Enrile
  • Enrile's Avatar
Dear all,

Eventually I figured out how to manage parallel computations following this post:

www.opentelemac.org/index.php/kunena/2-w...lemac-parallel#17589

Somehow my folder 'v7p0/builds' did not contained the subfolder 'wing64mpi'.

Best regards,
Francesco
The administrator has disabled public write access.

Parallel Creocean Example 8 years 5 months ago #21962

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
this means you never compile the parallel version of telemac.
With the automatic installer you should have 2 different command windows (1 for serial and 1 for parallel)
Launch the parallel one and run the compilation (compiletelemac.py).
Check the parallel build exist and try again to run your case

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Enrile

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