Dear Zhao

I obtained the same warnings during the compilation of tbtrans in siesta-3.0-b. 
But still the tbtrans is running well for further utilization.


Mohan L Verma

--- On Sat, 6/8/11, Hongyi Zhao <[email protected]> wrote:

From: Hongyi Zhao <[email protected]>
Subject: [SIESTA-L] Too  many warnings when compiling tbtrans: extra tokens at 
end of #endif directive
To: [email protected]
Date: Saturday, 6 August, 2011, 1:19 AM

Hi all,

I can compile the tbtrans within siesta-3.0-rc2 successfully,  but I always 
meet the following  warnings:

---------
m_tbt_kpts.F90:20: warning: extra tokens at end of #endif directive
m_tbt_kpts.F90:45: warning: extra tokens at end of #endif directive
m_tbt_kpts.F90:92: warning: extra tokens at end of #endif directive
m_tbt_kpts.F90:101: warning: extra tokens at end of #endif directive
m_tbt_kpts.F90:145: warning: extra tokens at end of #endif directive
m_tbt_kpts.F90:193: warning: extra tokens at end of #endif directive
f95 -c -g -O2  -DFC_HAVE_FLUSH -DFC_HAVE_ABORT   tsread2.F
f95 -c -g -O2  -DFC_HAVE_FLUSH -DFC_HAVE_ABORT  m_tbt_gf.F90
f95 -c -g -O2  -DFC_HAVE_FLUSH -DFC_HAVE_ABORT   hamil2.F
f95 -c -g -O2    /home/werner/software/siesta最新版/siesta-3.0-rc2/Util 
/TBTrans/../../Src/nag.f
f95 -c -g -O2  -DFC_HAVE_FLUSH -DFC_HAVE_ABORT   tbtrans.F
tbtrans.F:47: warning: extra tokens at end of #endif directive
tbtrans.F:87: warning: extra tokens at end of #endif directive
tbtrans.F:138: warning: extra tokens at end of #endif directive
tbtrans.F:168: warning: extra tokens at end of #endif directive
tbtrans.F:181: warning: extra tokens at end of #endif directive
tbtrans.F:238: warning: extra tokens at end of #endif directive
tbtrans.F:251: warning: extra tokens at end of #endif directive
tbtrans.F:308: warning: extra tokens at end of #endif directive
tbtrans.F:482: warning: extra tokens at end of #endif directive
tbtrans.F:499: warning: extra tokens at end of #endif directive
tbtrans.F:513: warning: extra tokens at end of #endif directive
tbtrans.F:688: warning: extra tokens at end of #endif directive
tbtrans.F:710: warning: extra tokens at end of #endif directive
tbtrans.F:847: warning: extra tokens at end of #endif directive
tbtrans.F:863: warning: extra tokens at end of #endif directive
tbtrans.F:894: warning: extra tokens at end of #endif directive
tbtrans.F:1182: warning: extra tokens at end of #endif directive
tbtrans.F:1195: warning: extra tokens at end of #endif directive
f95 -c -g -O2  -DFC_HAVE_FLUSH -DFC_HAVE_ABORT   transmission.F
f95 -c -g -O2  -DFC_HAVE_FLUSH -DFC_HAVE_ABORT   calc_green.F
f95 -c -g -O2    cdiag_local.f
f95 -c -g -O2  -DFC_HAVE_FLUSH -DFC_HAVE_ABORT   getsfe.F
f95 -c -g -O2  -DFC_HAVE_FLUSH -DFC_HAVE_ABORT   mkRealContour.F
f95 -c -g -O2  -DFC_HAVE_FLUSH -DFC_HAVE_ABORT   reinit_tb.F
f95 -c -g -O2  -DFC_HAVE_FLUSH -DFC_HAVE_ABORT   setupkham2.F
f95 -c -g -O2  -DFC_HAVE_FLUSH -DFC_HAVE_ABORT   TSiohs.F
TSiohs.F:55: warning: extra tokens at end of #endif directive
TSiohs.F:94: warning: extra tokens at end of #endif directive
TSiohs.F:109: warning: extra tokens at end of #endif directive
TSiohs.F:127: warning: extra tokens at end of #endif directive
TSiohs.F:142: warning: extra tokens at end of #endif directive
TSiohs.F:152: warning: extra tokens at end of #endif directive
TSiohs.F:159: warning: extra tokens at end of #endif directive
TSiohs.F:169: warning: extra tokens at end of #endif directive
TSiohs.F:178: warning: extra tokens at end of #endif directive
TSiohs.F:189: warning: extra tokens at end of #endif directive
TSiohs.F:196: warning: extra tokens at end of #endif directive
TSiohs.F:202: warning: extra tokens at end of #endif directive
TSiohs.F:226: warning: extra tokens at end of #endif directive
TSiohs.F:239: warning: extra tokens at end of #endif directive
TSiohs.F:254: warning: extra tokens at end of #endif directive
TSiohs.F:269: warning: extra tokens at end of #endif directive
TSiohs.F:286: warning: extra tokens at end of #endif directive
TSiohs.F:294: warning: extra tokens at end of #endif directive
---------

Any hints?

Regards
-- Hongyi Zhao <[email protected]>
Institute of Semiconductors, Chinese Academy of Sciences
GnuPG DSA: 0xD108493

Responder a