Dear All
I would like to use the variable irangp (indicating number of processors) in a Neptune V3 subroutine. However, I get the following message:
/src_neptune/nc_user_initialization.c(122): error: identifier "irangp" is undefined
It might be that irangp is differently named in the Neptune code or otherwise I need a special include file?
irangp used in fortran user files - I am looking for the c user file variable.
Your help will be appreciated.
Thanks,
Louis
Undefined variable irangp in Neptune V3
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4070
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Undefined variable irangp in Neptune V3
Hello,
The same C name is used in both Code_Saturne and NEPTUNE_CFD. The C equivalent of irangp (Fortran) is "cs_glob_rank_id". You should find it in quite a few user examples.
Regards,
Yvan
The same C name is used in both Code_Saturne and NEPTUNE_CFD. The C equivalent of irangp (Fortran) is "cs_glob_rank_id". You should find it in quite a few user examples.
Regards,
Yvan
Re: Undefined variable irangp in Neptune V3
Hi Yvan
Thank you very much!
I also got another answer today to the question namely to use nc_par.irangp for C using Neptune V3.2.
Much appreciated!
Louis
Thank you very much!
I also got another answer today to the question namely to use nc_par.irangp for C using Neptune V3.2.
Much appreciated!
Louis