Issue 71 in pencil-code: Using mixed precision and non-F95 type declarations

2 views
Skip to first unread message

penci...@googlecode.com

unread,
Jul 11, 2014, 5:32:01 AM7/11/14
to pencil-co...@googlegroups.com
Status: Accepted
Owner: Bourdin.KIS
Labels: Type-Enhancement Priority-Medium

New issue 71 by Bourdin.KIS: Using mixed precision and non-F95 type
declarations
http://code.google.com/p/pencil-code/issues/detail?id=71

In some files, there are non-F95 compliant type declarations, like:

src/lsode_for_chemistry.f90: CHARACTER*80 :: MSG
src/shell.f90: real*8, allocatable, dimension(:) :: [...]

These break compilation in the default configuration with, e.g., gfortran.
Anyway, everything should only be "real" and if hihger precision is needed,
the precision should be switched in the compiler configuration/Makefile.src.

Especially, for strings like "MSG" above, we have fixed string lengths
available for different purposes (filenames, labels, etc.) that can then be
resized later, if we find that one of them becomes too short and using
these, we would maintain the consistent string lengths.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages