Opened 6 years ago
Closed 6 years ago
#137 closed defect (fixed)
compilation error with GCC_MACOSX
Reported by: | smasson | Owned by: | ymipsl |
---|---|---|---|
Priority: | minor | Component: | XIOS |
Version: | 2.0 | Keywords: | |
Cc: |
Description
In xios-2.5, some lines of the fortran code automatically generated are longer 132 character and do not compile.
We must add -ffree-line-length-none in the compilation options. Could you add it in the arch-GCC_MACOSX.fcm as it is done in the arch-GCC_LINUX.fcm?
Change History (2)
comment:1 Changed 6 years ago by ymipsl
comment:2 Changed 6 years ago by oabramkina
- Resolution set to fixed
- Status changed from new to closed
Done on trunk and XIOS-2.5.
The problem didn't concern XIOS-2.0.
Note: See
TracTickets for help on using
tickets.
This is correct, some line are greater than 132 characters, due to very long name attributes.
I think the best solution would be to generate standard fortran with an automatic cut at 132 char.
It will be done in this way and reported onto XIOS-2.0 versions, 2.5 and trunk.
Regards,
YM