Parallel version problem

Goodmorning at all,

I did a simulation for the propagation of the waves with a very big domain.

The results with scalar version are good but the same simulation with the parallel version gave very casual and wrong results. Very non sense results.

I can’t understand why.

Hi

did you use a user fortran?

regards

hi,

thanks for the reply.

I compiled openTelemac in linux using gfortran.

i’m running tomawac in parallel. unfortunately, the results of the parallel computation do not match the reuslts of the scalar computation( single processor).

The results of the scalar computation are correct whereas the results of the parallel computation are completely wrong.

If you can provied any help i would be grateful to you.

I attached my systel.cfg file

systel.cfg (1.58 KB)

Hi

You didn’t answer to my question ! :angry:

In your computation, did you use a “user fortran”?

Did you check the Tomawac example runs in scalar and parallel correctly?

Regards

I’m sorry, I misunderstood your question.

I used a ‘user fortran’ file called ‘limwac.f’.

I took this fortran subrutine from the example [name removed].

I attached the file that I used.

R

limwac.f (14.6 KB)

Did you check the example [name removed] works in scalar and in parallel with correct results?

I had a brief look to this example and it seems there is no parallel run of this case during the validation process…

the example of Manche run in parallel give results that are good.

I have to do somethings of particular for work in parallel?

[name removed]

Sometimes it could be necessary take care about parallelism because node numbering change but if it works in the [name removed] case, this means this should be ok on this point…

I don’t have any other idea

regards

Hello

If you had good results with case manche in parallel that means you were very lucky. Normally it does not work correctly in parallel because of nodes numbering.

You fill find an example of using function GLOBAL_TO_LOCAL_POINT

to deal with paralllelism in

examples/sisyphe/littoral/Tom_user_fortran/bord_wac.f

hope it helps.

hi,

i tryed to follow the example and i wrote this subroutine for my case.

The results are bad.

what i wrong?

bord_wac.f (1.95 KB)
limwac_2018-10-10.f (14.8 KB)

Hello

From what i see in your fortran user, littoral should not be an example for you. I think you can do something simpler. Can you send your full case i will see what can be done from it.

[name removed]

1 Like

Hi!

Thanks for the reply!

I attached to you the folder with all my file.

There is the tomawac cas file. Inside there is also the telemac2d for the coupling but don’t work very well…

if you have to ask me somethings i’m here.

R

prova_forum.rar (1.51 MB)

Hello

I worked on the user_fortran limwac of case [name removed] to make it works in parallel (not pushed yet). Seeing your case, it should work with you.

I attach the file …

Hope it helps

[name removed]

limwac_2018-10-31.f (12.7 KB)

1 Like

sorry wrong file

limwac_2018-10-31-2.f (12.6 KB)

Hi,

Thanks a lot!

Now the [name removed] case works very fine in parallel!

Thank you!

Now I would try coupl whit telemac3d in parallel! I will say to you if I will succeed.

R

hi,

I tryed to use the file limwac for the parallel in my case but the results are very bad.

Why it don’t work when i change the geometry file and the relative file .lar??

[name removed]

bc_h3.cli (530 KB)
genova_tomawac.cas (2.11 KB)
limwac_parallel.f (15.3 KB)

these are all the files.

genova_splash.rar (1.02 MB)

Hello,

I think that the problem comes from your file mareggiata170.lar we do not follow the same logic. Try to change the points recorded. 106 instead of 100 and 5140 instead of 5150 (they are extremity of your boundary condition 5 4 4). otherwise the interpolation is not good.

Hope it helps

T.

Hi,

mareggiata170.lar is built in the same way of the file lar of manche example.

The results are very good in scalar mode but not in parallel.

I don’t think is this the problem. However I’m trying now.

[name removed]