Welcome, Guest
Username: Password: Remember me

TOPIC: mpiexec trouble - parallel Cygwin OpenMPI gfortran python2.7

mpiexec trouble - parallel Cygwin OpenMPI gfortran python2.7 11 years 6 months ago #8586

Hello TELEMAC community,

I've recently compiled a parallel installation of TELEMAC using Cygwin, OpenMPI, and gfortran, but cannot successfully launch a simulation in parallel. Below are the listings that are returned when trying to launch validation 037_weirs:

giffordc@OWEN231-01 /cygdrive/c/opentelemac/v6p2/validation_v6p2/telemac2d/tel2d
_v6p2/037_weirs
$ telemac2d.py t2d_weirs_parallel.cas

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

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

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

    +> configuration: cygopenmpi
    +> root:          /cygdrive/c/opentelemac/v6p2
    +> version        v6p2


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

Running t2d_weirs_parallel.cas with telemac2d under /cygdrive/c/opentelemac/v6p2
/validation_v6p2/telemac2d/tel2d_v6p2/037_weirs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

... reading module dictionary
... running in English with  t2d_weirs_parallel.cas
 re-writing:  /cygdrive/c/opentelemac/v6p2/validation_v6p2/telemac2d/tel2d_v6p2/
037_weirs/t2d_weirs_parallel.cas_2013-05-08-21h39min11s/T2DCAS
    copying:  geo_weirs.slf /cygdrive/c/opentelemac/v6p2/validation_v6p2/telemac
2d/tel2d_v6p2/037_weirs/t2d_weirs_parallel.cas_2013-05-08-21h39min11s/T2DGEO
    copying:  fo1_weirs.txt /cygdrive/c/opentelemac/v6p2/validation_v6p2/telemac
2d/tel2d_v6p2/037_weirs/t2d_weirs_parallel.cas_2013-05-08-21h39min11s/T2DSEU
    copying:  geo_weirs.cli /cygdrive/c/opentelemac/v6p2/validation_v6p2/telemac
2d/tel2d_v6p2/037_weirs/t2d_weirs_parallel.cas_2013-05-08-21h39min11s/T2DCLI
    copying:  telemac2dv6p2.dico /cygdrive/c/opentelemac/v6p2/validation_v6p2/te
lemac2d/tel2d_v6p2/037_weirs/t2d_weirs_parallel.cas_2013-05-08-21h39min11s/T2DDI
CO
    copying:  f2d_weirs.slf /cygdrive/c/opentelemac/v6p2/validation_v6p2/telemac
2d/tel2d_v6p2/037_weirs/t2d_weirs_parallel.cas_2013-05-08-21h39min11s/T2DREF
 partitioning:  T2DGEO
    +>  /cygdrive/c/opentelemac/v6p2/parallel/parallel_v6p2/cygopenmpi/partel <
PARTEL.PAR >> partel_T2DGEO.log
 duplicating:  T2DSEU
 partitioning:  T2DREF
    +>  /cygdrive/c/opentelemac/v6p2/parallel/parallel_v6p2/cygopenmpi/partel <
PARTEL.PAR >> partel_T2DREF.log


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


/bin/mpiexec -wdir /cygdrive/c/opentelemac/v6p2/validation_v6p2/telemac2d/tel2d_
v6p2/037_weirs/t2d_weirs_parallel.cas_2013-05-08-21h39min11s -n 2 /cygdrive/c/op
entelemac/v6p2/validation_v6p2/telemac2d/tel2d_v6p2/037_weirs/t2d_weirs_parallel
.cas_2013-05-08-21h39min11s/out_telemac2dv6p2
_____________
runcode::main:
      /cygdrive/c/opentelemac/v6p2/validation_v6p2/telemac2d/tel2d_v6p2/037_weir
s:
   |runCAS: fail to run
   |      /bin/mpiexec -wdir /cygdrive/c/opentelemac/v6p2/validation_v6p2/telema
c2d/tel2d_v6p2/037_weirs/t2d_weirs_parallel.cas_2013-05-08-21h39min11s -n 2 /cyg
drive/c/opentelemac/v6p2/validation_v6p2/telemac2d/tel2d_v6p2/037_weirs/t2d_weir
s_parallel.cas_2013-05-08-21h39min11s/out_telemac2dv6p2

I've also included the configuration file used (compliments of Gourish #8526) as well as some commonly asked for xx.log files.

Any idea why my simulation won't run?

Thank you,
Chris


File Attachment:

File Name: t2d_weirs_parallel.cas
File Size: 4 KB


File Attachment:

File Name: partel_T2DGEO.log
File Size: 4 KB


File Attachment:

File Name: partel_T2DREF.log
File Size: 4 KB


File Attachment:

File Name: systel.cfg
File Size: 2 KB
The administrator has disabled public write access.

mpiexec trouble - parallel Cygwin OpenMPI gfortran python2.7 11 years 6 months ago #8648

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
It seems to fail on /bin/mpiexec.
- Are you sure, it exist ?
- Are you sure the service is running (smpd?) ?
- Are your sure the credential have been registered ?
- I have not yet tried running TELEMAC under cygwin, but should you not have something like /cygdrive/bin/mpiexec ?

Hope this helps.
The administrator has disabled public write access.

mpiexec trouble - parallel Cygwin OpenMPI gfortran python2.7 11 years 6 months ago #8656

I hadn't initialized/registered the smpd service properly and that was one of my problems. Aside from that, I've switched from OpenMPI (had a hard time tracking down all the auto-install file locations within Cygwin) to MPICH2, compiling from source using the 'gforker' configuration. With that, I am able to successfully run local parallel simulations on my machine using a Cygwin/MPICH2/gfortran/python configuration.

Thank you for the troubleshooting tips.

Best regards,
-Chris
The administrator has disabled public write access.
Moderators: borisb

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