Page 1 of 1

Re: Problem with PARAGV function

Posted: Tue Jun 07, 2011 12:32 pm
by Pauline Delteil
Hello,

I use Code_Saturne version 2.0.1 and I use the usdpst.f90 subroutine to create a part, and the usvpst.f90 subroutine to post-treat this part.

I want to recover the value of interior faces centers of gravity (CDGFAC) on a finite numbers of points with a regular interval. For this, I try to use the PARAGV function to transform the interior faces local number into global number, but MPI doesn't like that. Do you think it's a table size problem? I join the usdpst.f90, the usvpst.f90, the .xml file (test_usv.xml).

Thanks in advance.

Best regards.

Pauline

Re: Problem with PARAGV function

Posted: Tue Jun 07, 2011 1:04 pm
by James McNaughton
paragv is for real arrays and I think you are using it for integers? Not sure if that would cause your problem but I needed something similar before so copied and pasted the paragv to a new one called paragw and changed the real argument to integer. Maybe it will help your problem so I've attached the files - just put them in SRC and call paragw instead of paragv.

James

Re: Problem with PARAGV function

Posted: Thu Jun 09, 2011 10:28 am
by Pauline Delteil
Hello James,
thank you for your answer. You are right, so I transform integers into reals because I am not entitled to change the src in the core.
Best regards.
Pauline

Re: Problem with PARAGV function

Posted: Thu Jun 09, 2011 12:03 pm
by James McNaughton
It only needs to be in the case SRC folder not the actual program source - Saturne's very clever in that respect, just place the files in the folder where you would put your other fortran files i.e. TEST_USV/TEST_MARIE/SRC.
Thanks,
James