Skip to content

f2ser: avoid serialization directives when not needed #362

@ChristopherBignamini

Description

@ChristopherBignamini

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?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions