Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why is the error message “KIND value does not specify a valid representation method” appearing (other compilers do not have this problem)?

0
Posted

Why is the error message “KIND value does not specify a valid representation method” appearing (other compilers do not have this problem)?

0

Top] The numbering of KINDs depends on the compiler. There are at least two obvious methods: sequential (1 to N, where N is the number of kinds) and byte (use the number of bytes for integer and real). NAGWare f95 (and some other compilers) by default uses sequential kind numbering, so single and double precision real are REAL(1) and REAL(2), not REAL(4) and REAL(8). The disadvantage of the “byte” scheme is that the COMPLEX setting is the number of bytes for each part, i.e. half the total, which can be confusing. The option -kind=sequential specifies the default sequential scheme and -kind=byte may be used for alternative byte scheme.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123