Parallel simulation

Asked by Mike

Dear YADE users,

I try to run parallel simulation in YADE but I don't know where should I start. Could anyone pls help me to do this? If it is possible could you please give a simple sample code for parallel simulation.

Thank you very much for your kind help.

Best regards,
Mike

Question information

Language:
English Edit question
Status:
Expired
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Jan Stránský (honzik) said :
#2

Hi Mike,

to run Yade in parallel, do everytihn the same as normally and just use -j option at startup. So to run Yade on 4 cores, use
yade -j 4
or
yade -j 4 script.py

cheers
Jan

Revision history for this message
Jan Stránský (honzik) said :
#3

Sorry, probably everybody (based on my experience) missed the question

Revision history for this message
Mike (ntthangvn) said :
#4

Dear Jan,

Thank you so much for your answer. It's short but very clear answer!

Luckily,  you didn't forget my question :)

Cheers,
Mike

Sent from my BlackBerry 10 smartphone.
  Original Message
From: Jan Stránský
Sent: Friday, 26 August 2016 20:07
To: <email address hidden>
Reply To: <email address hidden>
Subject: Re: [Question #335600]: Parallel simulation

Your question #335600 on Yade changed:
https://answers.launchpad.net/yade/+question/335600

Jan Stránský posted a new comment:
Hi Mike,

to run Yade in parallel, do everytihn the same as normally and just use -j option at startup. So to run Yade on 4 cores, use
yade -j 4
or
yade -j 4 script.py

cheers
Jan

--
You received this question notification because you asked the question.

Revision history for this message
Jérôme Duriez (jduriez) said :
#5

Hi,

Note that whether YADE operations are distributed or not among several cores (leading eventually to a speed-up, or not) also depends on the source code (in addition to providing the -j option). For instance, many engines are now "parallelized", but not all of them.

Jerome

Revision history for this message
Mike (ntthangvn) said :
#6

Thanks Jerome

Sent from my BlackBerry 10 smartphone.
  Original Message
From: Jérôme Duriez
Sent: Saturday, 27 August 2016 02:17
To: <email address hidden>
Reply To: <email address hidden>
Subject: Re: [Question #335600]: Parallel simulation

Your question #335600 on Yade changed:
https://answers.launchpad.net/yade/+question/335600

Jérôme Duriez posted a new comment:
Hi,

Note that whether YADE operations are distributed or not among several
cores (leading eventually to a speed-up, or not) also depends on the
source code (in addition to providing the -j option). For instance, many
engines are now "parallelized", but not all of them.

Jerome

--
You received this question notification because you asked the question.

Revision history for this message
Mike (ntthangvn) said :
#7

Hi again,

Following your guidance, I'm ok to run YADE on my computer (with 7 cores) (Open MP). Is that ok for running YADE in server (I mean run YADE in MPI)?

Thank you for your help.

Mike

Revision history for this message
Jan Stránský (honzik) said :
#8

Hi Mike,
currently YADE does not support MPI (distributed memory) parallelization.
However, you can still use shared memory parallelization even on server
(limited to one computer).
cheers
Jan

2016-08-29 8:32 GMT+02:00 ntthangvn <email address hidden>:

> Question #335600 on Yade changed:
> https://answers.launchpad.net/yade/+question/335600
>
> ntthangvn posted a new comment:
> Hi again,
>
> Following your guidance, I'm ok to run YADE on my computer (with 7
> cores) (Open MP). Is that ok for running YADE in server (I mean run YADE
> in MPI)?
>
> Thank you for your help.
>
> Mike
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Mike (ntthangvn) said :
#9

Hi Jan,
Thank you for your explanation!

Cheers,
Mike
  Original Message
From: Jan Stránský
Sent: Monday, 29 August 2016 17:57
To: <email address hidden>
Reply To: <email address hidden>
Subject: Re: [Question #335600]: Parallel simulation

Your question #335600 on Yade changed:
https://answers.launchpad.net/yade/+question/335600

Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Mike,
currently YADE does not support MPI (distributed memory) parallelization.
However, you can still use shared memory parallelization even on server
(limited to one computer).
cheers
Jan

2016-08-29 8:32 GMT+02:00 ntthangvn <email address hidden>:

> Question #335600 on Yade changed:
> https://answers.launchpad.net/yade/+question/335600
>
> ntthangvn posted a new comment:
> Hi again,
>
> Following your guidance, I'm ok to run YADE on my computer (with 7
> cores) (Open MP). Is that ok for running YADE in server (I mean run YADE
> in MPI)?
>
> Thank you for your help.
>
> Mike
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/yade/+question/335600/+confirm?answer_id=7

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/yade/+question/335600

You received this question notification because you asked the question.

Revision history for this message
Launchpad Janitor (janitor) said :
#10

This question was expired because it remained in the 'Open' state without activity for the last 15 days.