Dear all,
I get the following error by using uselrc.f90 file with CS4.0:
cs_field.c:987: Erreur fatale
Fortran pointer of rank 2 requested for values of field "curent_re_1", which have rank 1.
It seems that the problem provides from the following call:
call field_get_val_v(iprpfl(idjr(idimve)),djr)
initialized as follows:
double precision, dimension(:,:), pointer :: djr
Could someone help me?
Thanks
Christophe
Rank pointer problem using uselrc.f90 CS4.0
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Rank pointer problem using uselrc.f90 CS4.0
Hello,
The example seems to mix scalar and vector data (probably due to a previous try to move to vector representation, which was delayed).
Could you start from the following example instead ? Note this is an example only. Cases in the validation test suite do not use uselrc for rescaling (but mostly the GUI).
Regards,
Yvan
The example seems to mix scalar and vector data (probably due to a previous try to move to vector representation, which was delayed).
Could you start from the following example instead ? Note this is an example only. Cases in the validation test suite do not use uselrc for rescaling (but mostly the GUI).
Regards,
Yvan
- Attachments
-
- uselrc.f90
- (13.03 KiB) Downloaded 198 times
Re: Rank pointer problem using uselrc.f90 CS4.0
Dear Yvan Fourier,
It seems that it works well
. Thank you really much.
Best regards,
Christophe
It seems that it works well

Best regards,
Christophe