Welcome, Guest
Username: Password: Remember me

TOPIC: Error run after installation v7p2

Error run after installation v7p2 7 years 3 months ago #27487

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
It looks likes it is not really running in parallel:
 MPI_INITIALIZED F
 MASTER PROCESSOR NUMBER            0  OF THE GROUP OF            1
 P_INIT: FILE PARAL IS INCONSISTENT WITH MPI PARAMETERS
 MPI NCSIZE   =            1
 PARAL NCSIZE =            2
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Error run after installation v7p2 7 years 3 months ago #27492

  • Yunhao Song
  • Yunhao Song's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 118
  • Thank you received: 9
Yes indeed, you can tell from the inconsistency between MPI and PARAL NCSIZE.

Also in my case it should be "... THE GROUP OF 4 "

Do you have any idea on how to solve this inconsistency?

Thanks for your help.
The administrator has disabled public write access.

Error run after installation v7p2 7 years 3 months ago #27494

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Could you give me your steering file and the command you are using to run the case.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Error run after installation v7p2 7 years 3 months ago #27495

  • Yunhao Song
  • Yunhao Song's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 118
  • Thank you received: 9
Hi Yoann,

The case is the 3d example of v7p2r1 called malpasset. Please find the steering file and my config file in the attachment.

The command used to run the case is "telemac3d.py -c wing64mpi -s t3d_malpasset_large.cas"

Best regards!
Attachments:
The administrator has disabled public write access.

Error run after installation v7p2 7 years 3 months ago #27497

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
You need to run :
telemac3d.py -c wing64mpi -s t3d_malpasset_large.cas --ncsize=4

Hopefully that should work.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Error run after installation v7p2 7 years 3 months ago #27498

  • Yunhao Song
  • Yunhao Song's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 118
  • Thank you received: 9
Hi Yoann, unfortunately it doesn't work, same error...
MASTER PROCESSOR NUMBER 0 OF THE GROUP OF 1
P_INIT: FILE PARAL IS INCONSISTENT WITH MPI PARAMETERS
MPI NCSIZE = 1
PARAL NCSIZE = 4
.
.
.
Fatal error in MPI_Irecv: Invalid rank, error stack:
MPI_Irecv(147): MPI_Irecv(buf=0000000008D3AE80, count=432, MPI_BYTE, src=1, tag=5001, MPI_COMM_WORLD, request=0000000000D4DE20) failed
MPI_Irecv(96).: Invalid rank has value 1 but must be nonnegative and less than 1
The administrator has disabled public write access.

Error run after installation v7p2 7 years 3 months ago #27499

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
It seems like your are running a sequential executable.

Could you remove the executable in your folder and then rerun.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Error run after installation v7p2 7 years 3 months ago #27500

  • Yunhao Song
  • Yunhao Song's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 118
  • Thank you received: 9
Hi Yoann, I removed the previous executable and reran but nothing changed...
The administrator has disabled public write access.

Error run after installation v7p2 7 years 3 months ago #27502

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Could you try running a simple mpi example to check mpi.

Copyt the text below into a file named hello_world.f90
    !  Fortran example  
       program hello
       include 'mpif.h'
       integer rank, size, ierror, tag, status(MPI_STATUS_SIZE)
     
       call MPI_INIT(ierror)
       call MPI_COMM_SIZE(MPI_COMM_WORLD, size, ierror)
       call MPI_COMM_RANK(MPI_COMM_WORLD, rank, ierror)
       print*, 'node', rank, ': Hello world'
       call MPI_FINALIZE(ierror)
       end

Then run the following command to compile it:
gfortran -I C:\opentelemac-mascaret\mpich2\include hello_world.f90 C:\opentelemac-mascaret\mpich2\lib\libfmpich2g.a -o hello_world

Thn this to run it:
C:\opentelemac-mascaret\mpich2\bin\mpiexec.exe -n 4 hello_world

It should give you something like that:
 node           0 : Hello world
 node           1 : Hello world
 node           2 : Hello world
 node           3 : Hello world
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Error run after installation v7p2 7 years 3 months ago #27504

  • Yunhao Song
  • Yunhao Song's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 118
  • Thank you received: 9
Hi Yoann, it shows what you expected.

helloworld.jpg


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

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