I just got access to a power 8 IBM running Linux with compilers xlf90,xlf95, xlf90_r and xlf95_r and more. The cpp version is 6.2.0.
I cannot go back to older versions of cpp. Unfortunately, this version of cpp does not have the -traditional option anymore. This creates problems with the concatenation string // in Fortran. An example can be found in def_var.F
The cpp treats the string as a comment and leads to a error for the compilation. Does anybody find a way to work around or to have a working Linux_xlf.mk with the working flags. As it stands the new version of the c preprocessor will not work with the current version of ROMS. Thank you for your help.
New version of cpp - Linux IBM power 8 compiler
Re: New version of cpp - Linux IBM power 8 compiler
This is as old as the hills, but worked the last time I needed it.
- Attachments
-
- cpp.tar
- Source code for old cpp.
- (120 KiB) Downloaded 323 times
Re: New version of cpp - Linux IBM power 8 compiler
Thanks Kate, it worked perfectly.