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

TOPIC: Problem v7p2 parallel mpi: credentials rejected

Problem v7p2 parallel mpi: credentials rejected 7 years 8 months ago #25623

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Hi all,

I try to get 7.2 working in parallel but for some reason I get an error message stating that "credentials for XXX rejected connecting to PC-name"

I did all the smpd / mpiexec check procedure, and mpi is working on y machine. I don't have any problem launching parallel jobs with 7.1.

I have checked my config file but don't find anything strange regarding mpi. I post it here just in case someone points something that I missed.

Have somethting been changed in the scripts of version 7.2 parallel?

Any help to get 7.2 working in parallel is greatly appreciated!

Thanks in advance
Best regards
PL

File Attachment:

File Name: systel_2017-03-13.cfg
File Size: 2 KB
The administrator has disabled public write access.

Problem v7p2 parallel mpi: credentials rejected 7 years 8 months ago #25672

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Hi all!

Any idea anyone? Has something changed in the parallel procedure launch?

Thanks in advance!
PL
The administrator has disabled public write access.

Problem v7p2 parallel mpi: credentials rejected 7 years 8 months ago #25675

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

It works well for me so I copy hereunder the main difference in my config file...
# _____                              _______________________________
# ____/ TELEMAC Project Definitions /______________________________/
#
[Configurations]
configs:    wing64mpi
# _____                     ________________________________________
# ____/ windows 7 generals /_______________________________________/
[general]
#
modules:    system
#
sfx_zip:    .zip
sfx_lib:    .lib
sfx_mod:    .mod
sfx_exe:    .exe
#
cmd_obj_c: gcc -c <srcName> -o <objName>
#
val_root:   <root>\examples
val_rank:   all
#
# _____                            ____________________________________
# ____/ Windows gfortran parallel /___________________________________/
[wing64mpi]
#
cmd_obj:    gfortran -c -O3 -DHAVE_MPI -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>
cmd_lib:    ar cru <libname> <objs>
cmd_exe:    gfortran -fconvert=big-endian -frecord-marker=4 -v -o  <exename> <objs> -Xlinker --start-group <libs>
#
mpi_cmdexec:   C:\opentelemac-mascaret\mpich2\bin\mpiexec.exe -wdir <wdir> -n <ncsize> <exename>
mpi_hosts:
#
mods_all:   -I <config>
#
sfx_obj:    .o
#
incs_all: -I C:\opentelemac-mascaret\mpich2\include
libs_all:    C:\opentelemac-mascaret\mpich2\lib\libfmpich2g.a
             C:\opentelemac-mascaret\metis\lib\libmetis.a

Nevertheless, this kind of message looks like a problem in mpi execution.
Maybe you could try to run it manually in the temp directory to check if something goes wrong...

Regards
Christophe
The administrator has disabled public write access.

Problem v7p2 parallel mpi: credentials rejected 7 years 8 months ago #25683

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

Can you post the full output with the error? Also, check that you have changed all environmental variables to point in the v7p2 version. Are the credentials you store the ones you use to log-into the PC?

Regards,
Costas
The administrator has disabled public write access.

Problem v7p2 parallel mpi: credentials rejected 7 years 8 months ago #25687

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Hello Christophe and Costas,

I do use the same credentials than my windows login. It works just fine with v7p1, the problem only occurs when trying to launch something with v7p2 or the trunk.

I attach the whole log.

I did also try to lauch manually from the temp folder (running the last command in a separate batch file - i hope it's the right way, not 100% sure though...) and get the same error:

Credentials for seplli rejected connecting to PCSTH11207.sweco.se
Aborting: Unable to connect to PCSTH11207.sweco.se

I saw somewhere Huy who mentionned getting rid of that by switching off the antivirus but I am not sure I am allowed to do such an action (need to check the antivirus management procedures within my company).

Thanks for your help!

Best regards
PL

File Attachment:

File Name: screen.txt
File Size: 4 KB
The administrator has disabled public write access.

Problem v7p2 parallel mpi: credentials rejected 7 years 8 months ago #25688

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

Even it's a bit boring, you should try to run it manually, without batch file.
Try to run it once (use -w option to give a temporary directory name more friendly than the one by default)
When it crash, you should go into the directory and enter the full command manually (mpiexec ....)
You could also try the localhost option of mpi (check the exact description)

If the result allways the same, you have to look to the antivirus and/or the firewall.

Hope this helps
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: pilou1253

Problem v7p2 parallel mpi: credentials rejected 7 years 8 months ago #25692

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

It seems it is not a telemac issue, but a problem with the MPICH2 operation. Does the v7p1 and v7p2 cases lie on the same shared folder? Make sure the accounts/computers you are working with have read/write permissions to the working folders.

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

Problem v7p2 parallel mpi: credentials rejected 7 years 8 months ago #25694

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Hi Christophe and Costas!

First, the run starts when launching it manually from the temp folder using >mpiexec.exe ...
However it does not work if I try to use the full path to my mpiexec.exe.

Hence I finally managed to get it work by changing the following line in my systel.cfg:
mpi_cmdexec:   mpiexec.exe -wdir <wdir> -n <ncsize> <exename>

instead of with the full path to mpiexec:
mpi_cmdexec:   C:\opentelemac\mpi\bin\mpiexec.exe -wdir <wdir> -n <ncsize> <exename>

The same case in the same folder starts normally using the mpi_cmdexec command with the full path to mpiexec with 7.1. I don't understand why I do get the issue with 7.2 only...

Anyway, the issue is now sorted, thanks for your help!

Best regards
Pierre-Louis
The administrator has disabled public write access.

Problem v7p2 parallel mpi: credentials rejected 7 years 8 months ago #25697

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

Great news if you sort this problem.
Somewhere strange also... Is it possible you have more than one mpiexec on your computer?
Maybe we will have to check the modification in the python scripts between 7.1 and 7.2.

Best regards
Christophe
The administrator has disabled public write access.

Problem v7p2 parallel mpi: credentials rejected 7 years 8 months ago #25698

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Yes, I have another mpi (that came with MIKE) and it is this one that is used if I only give mpi_cmdexec: mpiexec.exe ...
I tried to remove it from my system PATH and replace it by my telemac one but then I get the credentials problem back.

I just tested to remove my MIKE mpi and launch a parallel case with 7.1 using mpi_cmdexec: C:\opentelemac\mpi\bin\mpiexec.exe ... and it works normally.

So there might be something strange happening when launching mpi with 7.2 scripts. But I guess I wouldn't be the only one to have this issue...?

Best regards
PL
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.