Welcome, Guest
Username: Password: Remember me

TOPIC: Error in parallel computation with modifying SUSPENSION_EROSION_COH

Error in parallel computation with modifying SUSPENSION_EROSION_COH 7 years 8 months ago #25747

  • HEJIAWEI
  • HEJIAWEI's Avatar
Hi,

In order to prescibe different values of CRITICAL EROSION SHEAR STRESS OF THE MUD for different nodes, I modified the SUBROUTINE SUSPENSION_EROSION_COH.

It seems run well on single-processor.

But it crashed with setting PARALLEL PROCESSORS = 4,the error message was:
"unable to read the cmd header on the pmi context
……
received suspend command for a pmi context that doesn't exist: unmatched id
……
Program received signal SIGSEGV: Segmentation fault - invalid memory reference
……
"
More detail in attachments.

Thank you in advance!

Best regards

He Jiawei

(PS:希望更多在中国使用TELEMAC的朋友进QQ群219764703互相交流学习)
Attachments:
The administrator has disabled public write access.

Error in parallel computation with modifying SUSPENSION_EROSION_COH 7 years 8 months ago #25749

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

If you want to use parallel computation, you should take time to read carefully the documentation and well understand how it works.
In your case, you declare a file where you read and write values.
But in parallel, this mean you have the 4 processors which try to access to the same file which is not recommended and crash on windows...

Regards
Christophe
The administrator has disabled public write access.

Error in parallel computation with modifying SUSPENSION_EROSION_COH 7 years 8 months ago #25768

  • HEJIAWEI
  • HEJIAWEI's Avatar
Hello c.coulet,

So how to input a file which could be read/written values for parallel computation ?
Is there an example ?

Thank you in advance!

Best regards

He Jiawei
The administrator has disabled public write access.

Error in parallel computation with modifying SUSPENSION_EROSION_COH 7 years 7 months ago #25769

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
You could use the formatted file existing in telemac. There are already managed to work in parallel but there is one to write in and two to read in. Not sure it will work if you would read and write in the same file...
There is probably some examples using formatted files.

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

Error in parallel computation with modifying SUSPENSION_EROSION_COH 7 years 7 months ago #25773

  • HEJIAWEI
  • HEJIAWEI's Avatar
Hello c.coulet,

I set the keyword FORMATTED DATA FILE 1 = my file to be read.
It seems run well on single-processor.

But it crashed in parallel computation.
And T2DGEO00001-00000,T2DFO100001-00001…… would be generated in the temporary folder.
But the error message is the same as before.

"unable to read the cmd header on the pmi context,Error = -1
……
received suspend command for a pmi context that doesn't exist: unmatched id
……
Program received signal SIGSEGV: Segmentation fault - invalid memory reference
……
"
Thank you in advance!

Best regards

He Jiawei
The administrator has disabled public write access.
Moderators: Pablo, pavans

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