Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

f2ser: avoid serialization directives when not needed #362

Open
ChristopherBignamini opened this issue Jan 24, 2024 · 0 comments
Open

f2ser: avoid serialization directives when not needed #362

ChristopherBignamini opened this issue Jan 24, 2024 · 0 comments
Assignees

Comments

@ChristopherBignamini
Copy link
Contributor

According to the current version of f2ser we only want serialization directives of the init/run/finalize subroutine of a given source file. However, pp_ser.py, which is executed on the file generated by f2ser, adds serialization flag check blocks of the type

#ifdef SERIALIZE                  
  REAL(KIND=wp) :: &              
#else                             
  REAL(KIND=wp), INTENT(IN) :: &  
#endif                            

also to other function where we do not add any pre-serialization directive. Assuming we can't change pp_ser.py, is there anything we can do in f2ser to avoid this issue?

@ChristopherBignamini ChristopherBignamini self-assigned this Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant